From 3908c799e04e60754da61640352a6d0fc8bd3206 Mon Sep 17 00:00:00 2001 From: suhasid098 <77293073+suhasid098@users.noreply.github.com> Date: Wed, 8 Jun 2022 18:23:48 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20suhasid0?= =?UTF-8?q?98/tf=5Ffrontend@66e565e622d4bcd75cc55b6654445f79227d62f2=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/index.ae5cb2bb.css | 1 + .../{index.d0d2148b.js => index.c5e8215f.js} | 1986 ++++------------- assets/index.e96ea732.css | 1 - index.html | 4 +- 4 files changed, 484 insertions(+), 1508 deletions(-) create mode 100644 assets/index.ae5cb2bb.css rename assets/{index.d0d2148b.js => index.c5e8215f.js} (69%) delete mode 100644 assets/index.e96ea732.css diff --git a/assets/index.ae5cb2bb.css b/assets/index.ae5cb2bb.css new file mode 100644 index 0000000..736ba9e --- /dev/null +++ b/assets/index.ae5cb2bb.css @@ -0,0 +1 @@ +@charset "UTF-8";.color-highlight{color:#ff7878}.unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.clickable:hover{cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fbox-v{display:flex;flex-flow:column;height:100%}.mh0{min-height:0}.fbox-h{display:flex;flex-flow:row}.mw0{min-width:0}.f-no-grow{flex-grow:0}.f-grow1{flex-grow:1}.f-no-shrink{flex-shrink:0}.f-shrink1{flex-shrink:1}.f-v-expand{flex:1 0;min-height:0}.f-h-expand{flex:1 0;min-width:0}.h100{height:100%}.w100{width:100%}.fbox-center{display:flex;flex-flow:column;justify-content:center;align-items:center}.fbox-vcenter{display:flex;flex-flow:column;justify-content:center}.nowrap{overflow:hidden;white-space:nowrap;text-overflow:clip}.nowrap.e{text-overflow:ellipsis}.hy-card{width:100%;height:100%;background-color:#edf1f2;border-radius:15px;margin:20px 0}#page-desc{margin-bottom:20px}.button.anim{transition:all .25s ease}.button.anim:hover{transform:translateY(-5px);box-shadow:0 10px 10px -5px #a68659d6;cursor:pointer}*{transition:all .25s ease}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;max-width:800px;margin:auto}#app .rlink{color:orange;text-decoration:none}#Home>*+*[data-v-743fbe10]{margin-top:10px}.category>*+*[data-v-743fbe10]{margin-top:10px}.api .header[data-v-743fbe10]{text-align:left;background:#ececec;padding:10px;border-radius:10px}.api .header .name[data-v-743fbe10]{font-weight:700;margin-right:10px;color:#2298d4}.api .ui-state-active.header[data-v-743fbe10]{border-radius:10px 10px 0 0!important}.md-docstring{text-align:left;background:#f3f3f3;padding:10px;border-radius:0 0 10px 10px}.md-docstring h1,.md-docstring h2{font-size:1em!important}#About div[data-v-2536f6e8]{font-size:.8em}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","\5fae\8f6f\96c5\9ed1",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier)}:root{color-scheme:light;--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#ffffff;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, .04),0px 8px 20px rgba(0, 0, 0, .08);--el-box-shadow-light:0px 0px 12px rgba(0, 0, 0, .12);--el-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, .12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, .08),0px 12px 32px rgba(0, 0, 0, .12),0px 8px 16px -8px rgba(0, 0, 0, .16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0, 0, 0, .8);--el-overlay-color-light:rgba(0, 0, 0, .7);--el-overlay-color-lighter:rgba(0, 0, 0, .5);--el-mask-color:rgba(255, 255, 255, .9);--el-mask-color-extra-light:rgba(255, 255, 255, .3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:13px;--el-alert-description-font-size:12px;--el-alert-close-font-size:12px;--el-alert-close-customed-font-size:13px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;width:100%;padding:var(--el-alert-padding);margin:0;box-sizing:border-box;border-radius:var(--el-alert-border-radius-base);position:relative;background-color:var(--el-color-white);overflow:hidden;opacity:1;display:flex;align-items:center;transition:opacity var(--el-transition-duration-fast)}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-success)}.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-info)}.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-warning)}.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-error)}.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:table-cell;padding:0 8px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:18px;vertical-align:text-top}.el-alert__title.is-bold{font-weight:700}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:5px 0 0}.el-alert .el-alert__close-btn{font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;top:12px;right:15px;cursor:pointer}.el-alert .el-alert__close-btn.is-customed{font-style:normal;font-size:var(--el-alert-close-customed-font-size);top:9px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{--el-aside-width:300px;overflow:auto;box-sizing:border-box;flex-shrink:0;width:var(--el-aside-width)}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete__popper.el-popper[role=tooltip]{background:#fff;border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);list-style:none;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li:hover,.el-autocomplete-suggestion li.highlighted{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid var(--el-color-black)}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:var(--el-text-color-secondary)}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-color-white)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-avatar{--el-avatar-text-color:var(--el-color-white);--el-avatar-bg-color:var(--el-text-color-disabled);--el-avatar-text-size:14px;--el-avatar-icon-size:18px;--el-avatar-border-radius:var(--el-border-radius-base);--el-avatar-size-large:56px;--el-avatar-size-default:40px;--el-avatar-size-small:24px;--el-avatar-size:40px;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;overflow:hidden;color:var(--el-avatar-text-color);background:var(--el-avatar-bg-color);width:var(--el-avatar-size);height:var(--el-avatar-size);font-size:var(--el-avatar-text-size)}.el-avatar>img{display:block;height:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);position:fixed;background-color:var(--el-backtop-bg-color);width:40px;height:40px;border-radius:50%;color:var(--el-backtop-text-color);display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:var(--el-box-shadow-lighter);cursor:pointer;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;position:relative;vertical-align:middle;display:inline-block}.el-badge__content{background-color:var(--el-badge-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-block;font-size:var(--el-badge-font-size);height:var(--el-badge-size);line-height:var(--el-badge-size);padding:0 var(--el-badge-padding);text-align:center;white-space:nowrap;border:1px solid var(--el-color-white)}.el-badge__content.is-fixed{position:absolute;top:0;right:calc(1px + var(--el-badge-size)/ 2);transform:translateY(-50%) translate(100%)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{height:8px;width:8px;padding:0;right:0;border-radius:50%}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{display:table;content:""}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{margin:0 9px;font-weight:700;color:var(--el-text-color-placeholder)}.el-breadcrumb__separator.el-icon{margin:0 6px;font-weight:400}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{float:left;display:flex;align-items:center}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{font-weight:700;text-decoration:none;transition:var(--el-transition-color);color:var(--el-text-color-primary)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{font-weight:400;color:var(--el-text-color-regular);cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{display:table;content:""}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group>.el-button.is-active{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255, 255, 255, .5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color)}.el-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);color:var(--el-button-text-color);-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;transition:.1s;font-weight:var(--el-button-font-weight);-webkit-user-select:none;user-select:none;vertical-align:middle;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button>span{display:inline-flex;align-items:center}.el-button+.el-button{margin-left:12px}.el-button.is-round{padding:8px 15px}.el-button:focus,.el-button:hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:0}.el-button:active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--el-mask-color-extra-light)}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-plain{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-plain{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-plain{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-plain{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-plain{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size:40px;height:var(--el-button-size);padding:12px 19px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size:24px;height:var(--el-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}.el-button--text{border-color:transparent;color:var(--el-color-primary);background:0 0;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:var(--el-color-primary-light-3);border-color:transparent;background-color:transparent}.el-button--text:active{color:var(--el-color-primary-dark-2);border-color:transparent;background-color:transparent}.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover{border-color:transparent}.el-calendar{--el-calendar-border:var(--el-table-border, 1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{display:flex;justify-content:space-between;padding:12px 20px;border-bottom:var(--el-calendar-header-border-bottom)}.el-calendar__title{color:var(--el-text-color);align-self:center}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{padding:12px 0;color:var(--el-text-color-regular);font-weight:400}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);vertical-align:top;transition:background-color var(--el-transition-duration-fast) ease}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;padding:8px;height:var(--el-calendar-cell-width)}.el-calendar-table .el-calendar-day:hover{cursor:pointer;background-color:var(--el-calendar-selected-bg-color)}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank)}.el-card{border-radius:var(--el-card-border-radius);border:1px solid var(--el-card-border-color);background-color:var(--el-card-bg-color);overflow:hidden;color:var(--el-text-color-primary);transition:var(--el-transition-duration)}.el-card.is-always-shadow{box-shadow:var(--el-box-shadow-light)}.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding);border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box}.el-card__body{padding:var(--el-card-padding)}.el-carousel__item{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;overflow:hidden;z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%;transition:transform .4s ease-in-out}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fff;opacity:.24;transition:var(--el-transition-duration-fast)}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:rgba(31, 45, 61, .11);--el-carousel-arrow-hover-background:rgba(31, 45, 61, .23);--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal{overflow-x:hidden}.el-carousel--vertical{overflow-y:hidden}.el-carousel__container{position:relative;height:300px}.el-carousel__arrow{border:none;outline:0;padding:0;margin:0;height:var(--el-carousel-arrow-size);width:var(--el-carousel-arrow-size);cursor:pointer;transition:var(--el-transition-duration);border-radius:50%;background-color:var(--el-carousel-arrow-background);color:#fff;position:absolute;top:50%;z-index:10;transform:translateY(-50%);text-align:center;font-size:var(--el-carousel-arrow-font-size);display:inline-flex;justify-content:center;align-items:center}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{position:absolute;list-style:none;margin:0;padding:0;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translate(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:calc(var(--el-carousel-indicator-height) + var(--el-carousel-indicator-padding-vertical) * 2);text-align:center;position:static;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--labels{left:0;right:0;transform:none;text-align:center}.el-carousel__indicators--labels .el-carousel__button{height:auto;width:auto;padding:2px 18px;font-size:12px}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{width:var(--el-carousel-indicator-height);height:calc(var(--el-carousel-indicator-width)/ 2)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{display:block;opacity:.48;width:var(--el-carousel-indicator-width);height:var(--el-carousel-indicator-height);background-color:#fff;border:none;outline:0;padding:0;margin:0;cursor:pointer;transition:var(--el-transition-duration)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{transform:translateY(-50%) translate(-10px);opacity:0}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{transform:translateY(-50%) translate(10px);opacity:0}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color)}.el-cascader-panel{display:flex;border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{min-width:180px;box-sizing:border-box;color:var(--el-cascader-menu-text-color);border-right:var(--el-cascader-menu-border)}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{position:relative;min-height:100%;margin:0;padding:6px 0;list-style:none;box-sizing:border-box}.el-cascader-menu__hover-zone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.el-cascader-menu__empty-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;color:var(--el-cascader-color-empty)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{position:relative;display:flex;align-items:center;padding:0 30px 0 20px;height:34px;line-height:34px;outline:0}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;text-align:left;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);display:inline-block;position:relative;font-size:var(--el-font-size-base);line-height:32px;outline:0}.el-cascader:not(.is-disabled):hover .el-input__inner{cursor:pointer;box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-cascader .el-input{cursor:pointer}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader .el-input .el-input__suffix-inner .el-icon{height:calc(100% - 2px)}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{transition:transform var(--el-transition-duration);font-size:14px}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__inner{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader.is-disabled .el-cascader__label{z-index:calc(var(--el-index-normal) + 1);color:var(--el-disabled-text-color)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color)}.el-cascader__dropdown{font-size:var(--el-cascader-menu-font-size);border-radius:var(--el-cascader-menu-radius)}.el-cascader__dropdown.el-popper[role=tooltip]{background:var(--el-cascader-menu-fill);border:var(--el-cascader-menu-border);box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__dropdown.el-popper[role=tooltip] .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-cascader__dropdown.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__tags{position:absolute;left:0;right:30px;top:50%;transform:translateY(-50%);display:flex;flex-wrap:wrap;line-height:normal;text-align:left;box-sizing:border-box}.el-cascader__tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:var(--el-cascader-tag-background)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{flex:none;background-color:var(--el-text-color-placeholder);color:var(--el-color-white)}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-cascader__collapse-tag{line-height:inherit;height:inherit;display:flex}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{max-height:204px;margin:0;padding:6px 0;font-size:var(--el-font-size-base);color:var(--el-cascader-menu-text-color);text-align:center}.el-cascader__suggestion-item{display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 15px;text-align:left;outline:0;cursor:pointer}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{margin:10px 0;color:var(--el-cascader-color-empty)}.el-cascader__search-input{flex:1;height:24px;min-width:60px;margin:2px 0 2px 11px;padding:0;color:var(--el-cascader-menu-text-color);border:none;outline:0;box-sizing:border-box}.el-cascader__search-input::placeholder{color:var(--el-text-color-placeholder)}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all);font-weight:700}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-1)}.el-check-tag.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary)}.el-checkbox-button{position:relative;display:inline-block}.el-checkbox-button__inner{display:inline-block;line-height:1;font-weight:var(--el-checkbox-font-weight);white-space:nowrap;vertical-align:middle;cursor:pointer;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);border-left:0;color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;position:relative;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:0}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{opacity:0;outline:0;position:absolute;margin:0;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{color:var(--el-checkbox-button-checked-text-color);background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button:first-child .el-checkbox-button__inner{border-left:var(--el-border);border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-checkbox-button--large .el-checkbox-button__inner{padding:12px 19px;font-size:var(--el-font-size-base);border-radius:0}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{padding:5px 11px;font-size:12px;border-radius:0}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary)}.el-checkbox{color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none;margin-right:30px;height:32px}.el-checkbox.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-checkbox.is-bordered.el-checkbox--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:0 11px 0 7px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color)}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus .el-checkbox__inner{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:var(--el-checkbox-checked-icon-color);height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid var(--el-checkbox-checked-icon-color);border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in 50ms;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:8px;line-height:1;font-size:var(--el-checkbox-font-size)}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{float:left;box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-0{max-width:0%;flex:0 0 0%}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{position:relative;left:0}.el-col-1{max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{position:relative;left:4.1666666667%}.el-col-2{max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{position:relative;left:8.3333333333%}.el-col-3{max-width:12.5%;flex:0 0 12.5%}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{position:relative;left:16.6666666667%}.el-col-5{max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{position:relative;left:20.8333333333%}.el-col-6{max-width:25%;flex:0 0 25%}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{position:relative;left:29.1666666667%}.el-col-8{max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{position:relative;left:33.3333333333%}.el-col-9{max-width:37.5%;flex:0 0 37.5%}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{position:relative;left:41.6666666667%}.el-col-11{max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{position:relative;left:45.8333333333%}.el-col-12{max-width:50%;flex:0 0 50%}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{position:relative;left:54.1666666667%}.el-col-14{max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{position:relative;left:58.3333333333%}.el-col-15{max-width:62.5%;flex:0 0 62.5%}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{position:relative;left:66.6666666667%}.el-col-17{max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{position:relative;left:70.8333333333%}.el-col-18{max-width:75%;flex:0 0 75%}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{position:relative;left:79.1666666667%}.el-col-20{max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{position:relative;left:83.3333333333%}.el-col-21{max-width:87.5%;flex:0 0 87.5%}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{position:relative;left:91.6666666667%}.el-col-23{max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{position:relative;left:95.8333333333%}.el-col-24{max-width:100%;flex:0 0 100%}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width:768px){.el-col-xs-0,.el-col-xs-0.is-guttered{display:none}.el-col-xs-0{max-width:0%;flex:0 0 0%}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{position:relative;left:0}.el-col-xs-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{position:relative;left:4.1666666667%}.el-col-xs-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{position:relative;left:8.3333333333%}.el-col-xs-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{position:relative;left:16.6666666667%}.el-col-xs-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{position:relative;left:20.8333333333%}.el-col-xs-6{display:block;max-width:25%;flex:0 0 25%}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{position:relative;left:29.1666666667%}.el-col-xs-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{position:relative;left:33.3333333333%}.el-col-xs-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{position:relative;left:41.6666666667%}.el-col-xs-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{position:relative;left:45.8333333333%}.el-col-xs-12{display:block;max-width:50%;flex:0 0 50%}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{position:relative;left:54.1666666667%}.el-col-xs-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{position:relative;left:58.3333333333%}.el-col-xs-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{position:relative;left:66.6666666667%}.el-col-xs-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{position:relative;left:70.8333333333%}.el-col-xs-18{display:block;max-width:75%;flex:0 0 75%}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{position:relative;left:79.1666666667%}.el-col-xs-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{position:relative;left:83.3333333333%}.el-col-xs-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{position:relative;left:91.6666666667%}.el-col-xs-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{position:relative;left:95.8333333333%}.el-col-xs-24{display:block;max-width:100%;flex:0 0 100%}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0,.el-col-sm-0.is-guttered{display:none}.el-col-sm-0{max-width:0%;flex:0 0 0%}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{position:relative;left:0}.el-col-sm-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{position:relative;left:4.1666666667%}.el-col-sm-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{position:relative;left:8.3333333333%}.el-col-sm-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{position:relative;left:16.6666666667%}.el-col-sm-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{position:relative;left:20.8333333333%}.el-col-sm-6{display:block;max-width:25%;flex:0 0 25%}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{position:relative;left:29.1666666667%}.el-col-sm-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{position:relative;left:33.3333333333%}.el-col-sm-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{position:relative;left:41.6666666667%}.el-col-sm-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{position:relative;left:45.8333333333%}.el-col-sm-12{display:block;max-width:50%;flex:0 0 50%}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{position:relative;left:54.1666666667%}.el-col-sm-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{position:relative;left:58.3333333333%}.el-col-sm-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{position:relative;left:66.6666666667%}.el-col-sm-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{position:relative;left:70.8333333333%}.el-col-sm-18{display:block;max-width:75%;flex:0 0 75%}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{position:relative;left:79.1666666667%}.el-col-sm-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{position:relative;left:83.3333333333%}.el-col-sm-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{position:relative;left:91.6666666667%}.el-col-sm-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{position:relative;left:95.8333333333%}.el-col-sm-24{display:block;max-width:100%;flex:0 0 100%}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0,.el-col-md-0.is-guttered{display:none}.el-col-md-0{max-width:0%;flex:0 0 0%}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{position:relative;left:0}.el-col-md-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{position:relative;left:4.1666666667%}.el-col-md-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{position:relative;left:8.3333333333%}.el-col-md-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{position:relative;left:16.6666666667%}.el-col-md-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{position:relative;left:20.8333333333%}.el-col-md-6{display:block;max-width:25%;flex:0 0 25%}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{position:relative;left:29.1666666667%}.el-col-md-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{position:relative;left:33.3333333333%}.el-col-md-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{position:relative;left:41.6666666667%}.el-col-md-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{position:relative;left:45.8333333333%}.el-col-md-12{display:block;max-width:50%;flex:0 0 50%}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{position:relative;left:54.1666666667%}.el-col-md-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{position:relative;left:58.3333333333%}.el-col-md-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{position:relative;left:66.6666666667%}.el-col-md-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{position:relative;left:70.8333333333%}.el-col-md-18{display:block;max-width:75%;flex:0 0 75%}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{position:relative;left:79.1666666667%}.el-col-md-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{position:relative;left:83.3333333333%}.el-col-md-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{position:relative;left:91.6666666667%}.el-col-md-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{position:relative;left:95.8333333333%}.el-col-md-24{display:block;max-width:100%;flex:0 0 100%}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0,.el-col-lg-0.is-guttered{display:none}.el-col-lg-0{max-width:0%;flex:0 0 0%}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{position:relative;left:0}.el-col-lg-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{position:relative;left:4.1666666667%}.el-col-lg-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{position:relative;left:8.3333333333%}.el-col-lg-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{position:relative;left:16.6666666667%}.el-col-lg-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{position:relative;left:20.8333333333%}.el-col-lg-6{display:block;max-width:25%;flex:0 0 25%}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{position:relative;left:29.1666666667%}.el-col-lg-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{position:relative;left:33.3333333333%}.el-col-lg-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{position:relative;left:41.6666666667%}.el-col-lg-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{position:relative;left:45.8333333333%}.el-col-lg-12{display:block;max-width:50%;flex:0 0 50%}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{position:relative;left:54.1666666667%}.el-col-lg-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{position:relative;left:58.3333333333%}.el-col-lg-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{position:relative;left:66.6666666667%}.el-col-lg-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{position:relative;left:70.8333333333%}.el-col-lg-18{display:block;max-width:75%;flex:0 0 75%}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{position:relative;left:79.1666666667%}.el-col-lg-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{position:relative;left:83.3333333333%}.el-col-lg-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{position:relative;left:91.6666666667%}.el-col-lg-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{position:relative;left:95.8333333333%}.el-col-lg-24{display:block;max-width:100%;flex:0 0 100%}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0,.el-col-xl-0.is-guttered{display:none}.el-col-xl-0{max-width:0%;flex:0 0 0%}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{position:relative;left:0}.el-col-xl-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{position:relative;left:4.1666666667%}.el-col-xl-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{position:relative;left:8.3333333333%}.el-col-xl-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{position:relative;left:16.6666666667%}.el-col-xl-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{position:relative;left:20.8333333333%}.el-col-xl-6{display:block;max-width:25%;flex:0 0 25%}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{position:relative;left:29.1666666667%}.el-col-xl-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{position:relative;left:33.3333333333%}.el-col-xl-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{position:relative;left:41.6666666667%}.el-col-xl-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{position:relative;left:45.8333333333%}.el-col-xl-12{display:block;max-width:50%;flex:0 0 50%}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{position:relative;left:54.1666666667%}.el-col-xl-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{position:relative;left:58.3333333333%}.el-col-xl-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{position:relative;left:66.6666666667%}.el-col-xl-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{position:relative;left:70.8333333333%}.el-col-xl-18{display:block;max-width:75%;flex:0 0 75%}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{position:relative;left:79.1666666667%}.el-col-xl-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{position:relative;left:83.3333333333%}.el-col-xl-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{position:relative;left:91.6666666667%}.el-col-xl-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{position:relative;left:95.8333333333%}.el-col-xl-24{display:block;max-width:100%;flex:0 0 100%}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{display:flex;align-items:center;height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);font-weight:500;transition:border-bottom-color var(--el-transition-duration);outline:0}.el-collapse-item__arrow{margin:0 8px 0 auto;transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);overflow:hidden;box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item__content{padding-bottom:25px;font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);line-height:1.7692307692}.el-collapse-item:last-child{margin-bottom:-1px}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap}.el-color-predefine__color-selector{margin:0 0 8px 8px;width:20px;height:20px;border-radius:4px;cursor:pointer}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector>div{display:flex;height:100%;border-radius:3px}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-color:red;padding:0 2px;float:right}.el-color-hue-slider__bar{position:relative;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid var(--el-border-color-lighter);box-shadow:0 0 2px #0009;z-index:1}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-svpanel{position:relative;width:280px;height:180px}.el-color-svpanel__black,.el-color-svpanel__white{position:absolute;top:0;left:0;right:0;bottom:0}.el-color-svpanel__white{background:linear-gradient(to right,#fff,rgba(255,255,255,0))}.el-color-svpanel__black{background:linear-gradient(to top,#000,rgba(0,0,0,0))}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{cursor:head;width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;transform:translate(-2px,-2px)}.el-color-alpha-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-alpha-slider__bar{position:relative;background:linear-gradient(to right,rgba(255,255,255,0) 0,#fff 100%);height:100%}.el-color-alpha-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid var(--el-border-color-lighter);box-shadow:0 0 2px #0009;z-index:1}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(to bottom,rgba(255,255,255,0) 0,#fff 100%)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{content:"";display:table;clear:both}.el-color-dropdown__btns{margin-top:12px;text-align:right}.el-color-dropdown__value{float:left;line-height:26px;font-size:12px;color:#000;width:160px}.el-color-picker{display:inline-block;position:relative;line-height:normal}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--large{height:40px}.el-color-picker--large .el-color-picker__trigger{height:40px;width:40px}.el-color-picker--large .el-color-picker__mask{height:38px;width:38px}.el-color-picker--small{height:24px}.el-color-picker--small .el-color-picker__trigger{height:24px;width:24px}.el-color-picker--small .el-color-picker__mask{height:22px;width:22px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:scale(.8)}.el-color-picker__mask{height:38px;width:38px;border-radius:4px;position:absolute;top:1px;left:1px;z-index:1;cursor:not-allowed;background-color:#ffffffb3}.el-color-picker__trigger{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;height:32px;width:32px;padding:4px;border:1px solid var(--el-border-color);border-radius:4px;font-size:0;position:relative;cursor:pointer}.el-color-picker__color{position:relative;display:block;box-sizing:border-box;border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);width:100%;height:100%;text-align:center}.el-color-picker__color.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-picker__color-inner{display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.el-color-picker .el-color-picker__empty{font-size:12px;color:var(--el-text-color-secondary)}.el-color-picker .el-color-picker__icon{display:inline-flex;justify-content:center;align-items:center;color:#fff;font-size:12px}.el-color-picker__panel{position:absolute;z-index:10;padding:6px;box-sizing:content-box;background-color:#fff;border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light)}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-container{display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.el-container.is-vertical{flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td .el-date-table-cell{height:30px;padding:3px 0;box-sizing:border-box}.el-date-table td .el-date-table-cell .el-date-table-cell__text{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translate(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{margin-left:5px;margin-right:5px;background-color:var(--el-datepicker-inrange-bg-color);border-radius:15px}.el-date-table td.selected .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:var(--el-datepicker-header-text-color)}.el-date-table th{padding:5px;color:var(--el-datepicker-header-text-color);font-weight:400;border-bottom:solid 1px var(--el-border-color-lighter)}.el-month-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range div{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range div:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-year-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-year-table td .cell{width:48px;height:32px;display:block;line-height:32px;color:var(--el-datepicker-text-color);margin:0 auto}.el-year-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:192px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:#fff;cursor:default}.el-time-spinner__arrow{font-size:12px;color:var(--el-text-color-secondary);position:absolute;left:0;width:100%;z-index:var(--el-index-normal);text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{padding:0;text-align:center}.el-time-spinner__list{padding:0;margin:0;list-style:none;text-align:center}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:var(--el-text-color-regular)}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);position:relative;display:inline-block;text-align:left}.el-date-editor.el-input,.el-date-editor.el-input__inner{width:var(--el-date-editor-width)}.el-date-editor--monthrange.el-input,.el-date-editor--monthrange.el-input__inner{width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange.el-input,.el-date-editor--daterange.el-input__inner,.el-date-editor--timerange.el-input,.el-date-editor--timerange.el-input__inner{width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange.el-input,.el-date-editor--datetimerange.el-input__inner{width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__inner{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{height:inherit;font-size:14px;color:var(--el-text-color-placeholder);float:left}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;appearance:none;border:none;outline:0;display:inline-block;height:100%;margin:0;padding:0;width:39%;text-align:center;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:transparent}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{flex:1;display:inline-flex;justify-content:center;align-items:center;height:100%;padding:0 5px;margin:0;font-size:14px;word-break:keep-all;color:var(--el-text-color-primary)}.el-date-editor .el-range__close-icon{font-size:14px;color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__inner{display:inline-flex;align-items:center;padding:3px 10px}.el-range-editor .el-range-input{line-height:1}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:40px}.el-range-editor--large.el-input__inner{height:40px}.el-range-editor--large .el-range-separator{line-height:40px;font-size:14px}.el-range-editor--large .el-range-input{font-size:14px}.el-range-editor--small{line-height:24px}.el-range-editor--small.el-input__inner{height:24px}.el-range-editor--small .el-range-separator{line-height:24px;font-size:12px}.el-range-editor--small .el-range-input{font-size:12px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);line-height:30px}.el-picker-panel .el-time-panel{margin:5px 0;border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-color-white);box-shadow:var(--el-box-shadow-light)}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);padding:4px 12px;text-align:right;background-color:var(--el-bg-color-overlay);position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:var(--el-datepicker-text-color);padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:var(--el-datepicker-icon-color);border:0;background:0 0;cursor:pointer;outline:0;margin-top:8px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;padding-top:6px;background-color:var(--el-bg-color-overlay);overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:solid 1px var(--el-border-color-lighter)}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:var(--el-text-color-regular)}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:var(--el-datepicker-icon-color)}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid var(--el-datepicker-border-color)}.el-time-panel{border-radius:2px;position:relative;width:180px;left:0;z-index:var(--el-index-top);-webkit-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-16px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left;border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light)}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:var(--el-text-color-primary)}.el-time-panel__btn.confirm{font-weight:800;color:var(--el-timepicker-active-color,var(--el-color-primary))}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;font-size:var(--el-font-size-base);color:var(--el-text-color-primary)}.el-descriptions__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;text-align:left;font-weight:400;line-height:23px;font-size:14px}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{font-weight:700;color:var(--el-text-color-regular);background:var(--el-descriptions-item-bordered-label-background)}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:var(--el-popup-modal-opacity);background:var(--el-popup-modal-bg-color)}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:20px;--el-dialog-border-radius:var(--el-border-radius-small);position:relative;margin:var(--el-dialog-margin-top,15vh) auto 50px;background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;width:var(--el-dialog-width,50%)}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;user-select:none}.el-dialog__header{padding:var(--el-dialog-padding-primary);padding-bottom:10px;margin-right:16px;word-break:break-all}.el-dialog__headerbtn{position:absolute;top:6px;right:0;padding:0;width:54px;height:54px;background:0 0;border:none;outline:0;cursor:pointer;font-size:var(--el-message-close-size,16px)}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{line-height:var(--el-dialog-font-line-height);font-size:var(--el-dialog-title-font-size);color:var(--el-text-color-primary)}.el-dialog__body{padding:calc(var(--el-dialog-padding-primary) + 10px) var(--el-dialog-padding-primary);color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size);word-break:break-all}.el-dialog__footer{padding:var(--el-dialog-padding-primary);padding-top:10px;text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial;padding:25px calc(var(--el-dialog-padding-primary) + 5px) 30px}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{display:block;height:1px;width:100%;margin:24px 0;border-top:1px var(--el-border-color) var(--el-border-style)}.el-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 8px;vertical-align:middle;position:relative;border-left:1px var(--el-border-color) var(--el-border-style)}.el-divider__text{position:absolute;background-color:var(--el-bg-color);padding:0 20px;font-weight:500;color:var(--el-text-color-primary);font-size:14px}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color, var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary, 20px)}.el-drawer{position:absolute;box-sizing:border-box;background-color:var(--el-drawer-bg-color);display:flex;flex-direction:column;box-shadow:var(--el-box-shadow-dark);overflow:hidden;transition:all var(--el-transition-duration)}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:1rem}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{border:none;cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:transparent;outline:0}.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__close-btn .el-icon{font-size:inherit;vertical-align:text-bottom}.el-drawer__body{flex:1;padding:var(--el-drawer-padding-primary);overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.btt,.el-drawer.ttb{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{opacity:0}.el-drawer-fade-enter-to,.el-drawer-fade-leave-from{opacity:1}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary-light-3);--el-dropdown-menu-index:10;display:inline-flex;position:relative;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary-light-3);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:0}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{list-style:none;padding:0;margin:0;box-sizing:border-box}.el-dropdown .el-dropdown__caret-button{padding-left:0;padding-right:0;display:inline-flex;justify-content:center;align-items:center;width:32px;border-left:none}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:5px;bottom:5px;left:0;background:var(--el-overlay-color-lighter)}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button:hover:before{top:0;bottom:0}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:0}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{position:relative;top:0;left:0;z-index:var(--el-dropdown-menu-index);padding:5px 0;margin:0;background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;list-style:none}.el-dropdown-menu__item{display:flex;align-items:center;white-space:nowrap;list-style:none;line-height:22px;padding:5px 16px;margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:0}.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{margin:6px 0;border-top:1px solid var(--el-border-color-lighter)}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;line-height:22px;font-size:14px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;line-height:20px;font-size:12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--el-empty-padding)}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{-webkit-user-select:none;user-select:none;width:100%;height:100%;vertical-align:top;object-fit:contain}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:100%;height:100%;vertical-align:top}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-secondary)}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;padding:var(--el-footer-padding);box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height)}.el-form{--el-form-label-font-size:var(--el-font-size-base)}.el-form--label-left .el-form-item__label{text-align:left}.el-form--label-top .el-form-item{display:block}.el-form--label-top .el-form-item .el-form-item__label{display:block;text-align:left;margin-bottom:8px;line-height:22px}.el-form--inline .el-form-item{display:inline-flex;vertical-align:middle;margin-right:32px}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form--large.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:12px;line-height:22px}.el-form--default.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:8px;line-height:22px}.el-form--small.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:4px;line-height:20px}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label,.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label,.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label,.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item__label-wrap{display:flex}.el-form-item__label-wrap .el-form-item__label{display:inline-block}.el-form-item__label{flex:0 0 auto;text-align:right;font-size:var(--el-form-label-font-size);color:var(--el-text-color-regular);line-height:32px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{display:flex;flex-wrap:wrap;align-items:center;flex:1;line-height:32px;position:relative;font-size:var(--font-size);min-width:0}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;line-height:1;padding-top:2px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-error .el-input__inner,.el-form-item.is-error .el-input__inner:focus,.el-form-item.is-error .el-select-v2__wrapper,.el-form-item.is-error .el-select-v2__wrapper:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__inner,.el-form-item.is-error .el-input-group__prepend .el-input__inner{box-shadow:0 0 0 1px transparent inset}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-header{--el-header-padding:0 20px;--el-header-height:60px;padding:var(--el-header-padding);box-sizing:border-box;flex-shrink:0;height:var(--el-header-height)}.el-image-viewer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.el-image-viewer__btn{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;border-radius:50%;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;user-select:none}.el-image-viewer__btn .el-icon{font-size:inherit;cursor:pointer}.el-image-viewer__close{top:40px;right:40px;width:40px;height:40px;font-size:40px}.el-image-viewer__canvas{width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none}.el-image-viewer__actions{left:50%;bottom:30px;transform:translate(-50%);width:282px;height:44px;padding:0 23px;background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px}.el-image-viewer__actions__inner{width:100%;height:100%;text-align:justify;cursor:default;font-size:23px;color:#fff;display:flex;align-items:center;justify-content:space-around}.el-image-viewer__prev{top:50%;transform:translateY(-50%);left:40px;width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__next{top:50%;transform:translateY(-50%);right:40px;text-indent:2px;width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__close{width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__mask{position:absolute;width:100%;height:100%;top:0;left:0;opacity:.5;background:#000}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-image__error,.el-image__inner,.el-image__placeholder{width:100%;height:100%}.el-image{position:relative;display:inline-block;overflow:hidden}.el-image__inner{vertical-align:top}.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{display:flex;justify-content:center;align-items:center;font-size:14px;background:var(--el-fill-color-light);color:var(--el-text-color-placeholder);vertical-align:middle}.el-image__preview{cursor:pointer}.el-input-number{position:relative;display:inline-block;width:150px;line-height:30px}.el-input-number .el-input{display:block}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;padding-left:42px;padding-right:42px;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.el-input-number__decrease,.el-input-number__increase{display:flex;justify-content:center;align-items:center;height:auto;position:absolute;z-index:1;top:1px;bottom:1px;width:32px;background:var(--el-fill-color-light);color:var(--el-text-color-regular);cursor:pointer;font-size:13px;-webkit-user-select:none;user-select:none}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__inner,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__inner{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border)}.el-input-number__decrease{left:1px;border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border)}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{width:40px;font-size:14px}.el-input-number--large .el-input__inner{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:24px;font-size:12px}.el-input-number--small .el-input__inner{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__inner{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__inner{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{bottom:auto;left:auto;border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border)}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;top:auto;left:auto;border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--el-font-size-base)}.el-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--el-input-text-color,var(--el-text-color-regular));background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);border:none}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{border-color:var(--el-color-danger)}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);position:relative;font-size:var(--el-font-size-base);display:inline-flex;width:100%;line-height:32px}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--el-text-color-disabled)}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear{color:var(--el-input-icon-color);font-size:14px;cursor:pointer;transition:var(--el-transition-color);margin-left:8px}.el-input .el-input__clear:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:var(--el-color-info);font-size:12px}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;display:inline-block;padding:0 5px}.el-input__inner{position:relative;-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:inline-block;font-size:inherit;height:32px;line-height:32px;outline:0;padding:0 11px;transition:var(--el-transition-box-shadow);width:100%;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;border:none}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__inner:focus{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__suffix{display:inline-flex;position:absolute;height:100%;right:12px;top:0;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__suffix-inner{pointer-events:all;display:inline-flex}.el-input__prefix{display:inline-flex;position:absolute;height:100%;left:12px;top:0;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration)}.el-input__prefix-inner{pointer-events:all;display:inline-flex}.el-input .el-input__icon{height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__inner{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border,) inset}.el-input.is-disabled .el-input__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--suffix .el-input__inner{padding-right:31px}.el-input--suffix--password-clear .el-input__inner{padding-right:55px}.el-input--prefix .el-input__inner{padding-left:31px}.el-input--large{font-size:14px;line-height:38px}.el-input--large .el-input__inner{height:40px;line-height:40px;padding:0 15px}.el-input--large .el-input__icon{line-height:40px}.el-input--large.el-input--prefix .el-input__inner{padding-left:35px}.el-input--large.el-input--suffix .el-input__inner{padding-right:35px}.el-input--large .el-input__prefix{left:16px}.el-input--large .el-input__suffix{right:16px}.el-input--small{font-size:12px;line-height:22px}.el-input--small .el-input__inner{height:24px;line-height:24px;padding:0 7px}.el-input--small .el-input__icon{line-height:24px}.el-input--small.el-input--prefix .el-input__inner{padding-left:25px}.el-input--small.el-input--suffix .el-input__inner{padding-right:25px}.el-input--small .el-input__prefix{left:8px}.el-input--small .el-input__suffix{right:8px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate;border-spacing:0}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);vertical-align:middle;display:table-cell;position:relative;border-radius:var(--el-input-border-radius);padding:0 20px;width:1px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-input__inner,.el-input-group__append div.el-select:hover .el-input__inner,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-input__inner,.el-input-group__prepend div.el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend .el-input__inner{box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__inner{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 0 0 1px var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input-group--prepend>.el-input__inner:focus{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__inner{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__inner:focus{outline:0;z-index:2;box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner{box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important;z-index:2}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner:focus{outline:0;z-index:2;box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__inner{z-index:1;box-shadow:1px 0 0 0 var(--el-input-hover-border-color) inset,1px 0 0 0 var(--el-input-hover-border-color),0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-input-group--append>.el-input__inner{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__inner{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:-1px 0 0 0 var(--el-input-border-color),-1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__inner:focus{outline:0;z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__inner{outline:0;z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__inner:focus{outline:0;z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__inner{z-index:1;box-shadow:-1px 0 0 0 var(--el-input-hover-border-color),-1px 0 0 0 var(--el-input-hover-border-color) inset,0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder)}.el-link{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;vertical-align:middle;position:relative;text-decoration:none;outline:0;cursor:pointer;padding:0;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);color:var(--el-link-text-color)}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link.is-underline:hover:after{content:"";position:absolute;left:0;right:0;height:0;bottom:0;border-bottom:1px solid var(--el-link-hover-text-color)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default:after{border-color:var(--el-link-hover-text-color)}.el-link__inner{display:inline-flex;justify-content:center;align-items:center}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--primary:after{border-color:var(--el-link-text-color)}.el-link.el-link--primary.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--success:after{border-color:var(--el-link-text-color)}.el-link.el-link--success.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--warning:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--danger:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--error:after{border-color:var(--el-link-text-color)}.el-link.el-link--error.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.el-link--info:after{border-color:var(--el-link-text-color)}.el-link.el-link--info.is-underline:hover:after{border-color:var(--el-link-text-color)}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:var(--el-mask-color);margin:0;top:0;right:0;bottom:0;left:0;transition:opacity var(--el-transition-duration)}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/ 2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{top:50%;margin-top:calc((0px - var(--el-loading-spinner-size))/ 2);width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);margin:3px 0;font-size:14px}.el-loading-spinner .circular{display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size);animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(360deg)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-main{--el-main-padding:20px;display:block;flex:1;flex-basis:auto;overflow:auto;box-sizing:border-box;padding:var(--el-main-padding)}.el-menu{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-text-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);border-right:solid 1px var(--el-menu-border-color);list-style:none;position:relative;margin:0;padding-left:0;background-color:var(--el-menu-bg-color);box-sizing:border-box}.el-menu--horizontal{display:flex;flex-wrap:nowrap;border-bottom:solid 1px var(--el-menu-border-color);border-right:none}.el-menu--horizontal>.el-menu-item{display:inline-flex;justify-content:center;align-items:center;height:100%;margin:0;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus,.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover{background-color:#fff}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:0}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{height:100%;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-bg-color-overlay)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__icon-arrow{position:static;vertical-align:middle;margin-left:8px;margin-top:-3px}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--el-menu-bg-color);display:flex;align-items:center;height:36px;padding:0 10px;color:var(--el-menu-text-color)}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{outline:0;color:var(--el-menu-hover-text-color);background-color:var(--el-menu-hover-bg-color)}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:64px}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;vertical-align:middle;width:24px;text-align:center}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu{position:relative}.el-menu--collapse .el-sub-menu .el-menu{position:absolute;margin-left:5px;top:0;left:100%;z-index:10;border:1px solid var(--el-border-color-light);border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light)}.el-menu--collapse .el-sub-menu.is-opened>.el-sub-menu__title .el-sub-menu__icon-arrow{transform:none}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{z-index:100;min-width:200px;border:none;padding:5px 0;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light)}.el-menu .el-icon{flex-shrink:0}.el-menu-item{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 20px;list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:0}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-menu-item [class^=el-icon]{margin-right:5px;width:24px;text-align:center;font-size:18px;vertical-align:middle}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{position:absolute;left:0;top:0;height:100%;width:100%;display:inline-flex;align-items:center;box-sizing:border-box;padding:0 20px}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 20px;list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:0}.el-sub-menu__title.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:50px;line-height:50px;padding:0 45px;min-width:200px}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-opened>.el-sub-menu__title .el-sub-menu__icon-arrow{transform:rotate(180deg)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu .el-icon{vertical-align:middle;margin-right:5px;width:24px;text-align:center;font-size:18px}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{position:absolute;top:50%;right:20px;margin-top:-7px;transition:transform var(--el-transition-duration);font-size:12px;margin-right:0;width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px 20px;line-height:normal;font-size:12px;color:var(--el-text-color-secondary)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{transition:var(--el-transition-duration-fast);opacity:0}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:15px}.el-message-box{display:inline-block;width:var(--el-messagebox-width);padding-bottom:10px;vertical-align:middle;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);border:1px solid var(--el-border-color-lighter);font-size:var(--el-messagebox-font-size);box-shadow:var(--el-box-shadow-light);text-align:left;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.el-overlay.is-message-box .el-overlay-message-box{text-align:center;position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;user-select:none}.el-message-box__header{position:relative;padding:var(--el-messagebox-padding-primary);padding-bottom:10px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:var(--el-messagebox-font-size);line-height:1;color:var(--el-messagebox-title-color)}.el-message-box__headerbtn{position:absolute;top:var(--el-messagebox-padding-primary);right:var(--el-messagebox-padding-primary);padding:0;border:none;outline:0;background:0 0;font-size:var(--el-message-close-size,16px);cursor:pointer}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{padding:10px var(--el-messagebox-padding-primary);color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{position:relative}.el-message-box__input{padding-top:15px}.el-message-box__input div.invalid>input{border-color:var(--el-color-error)}.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{position:absolute;top:50%;transform:translateY(-50%);font-size:24px!important}.el-message-box__status:before{padding-left:1px}.el-message-box__status.el-icon{position:absolute}.el-message-box__status+.el-message-box__message{padding-left:36px;padding-right:12px;word-break:break-word}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:24px}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);min-height:18px;margin-top:2px}.el-message-box__btns{padding:5px 15px 0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{flex-direction:row-reverse}.el-message-box--center .el-message-box__title{position:relative;display:flex;align-items:center;justify-content:center}.el-message-box--center .el-message-box__status{position:relative;top:auto;padding-right:5px;text-align:center;transform:translateY(-1px)}.el-message-box--center .el-message-box__message{margin-left:0}.el-message-box--center .el-message-box__btns{justify-content:center}.el-message-box--center .el-message-box__content{padding-left:calc(var(--el-messagebox-padding-primary) + 12px);padding-right:calc(var(--el-messagebox-padding-primary) + 12px);text-align:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-message{--el-message-min-width:380px;--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:15px 15px 15px 20px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary)}.el-message{min-width:var(--el-message-min-width);box-sizing:border-box;border-radius:var(--el-border-radius-base);border-width:var(--el-border-width-base);border-style:var(--el-border-style-base);border-color:var(--el-message-border-color);position:fixed;left:50%;top:20px;transform:translate(-50%);transition:opacity .3s,transform .4s,top .4s;background-color:var(--el-message-bg-color);transition:opacity var(--el-transition-duration),transform .4s,top .4s;padding:var(--el-message-padding);display:flex;align-items:center}.el-message.is-center{justify-content:center}.el-message.is-closable .el-message__content{padding-right:16px}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content,.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content,.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content,.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content,.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message__icon{margin-right:10px}.el-message .el-message__badge{position:absolute;top:-8px;right:-8px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{position:absolute;top:50%;right:15px;transform:translateY(-50%);cursor:pointer;color:var(--el-message-close-icon-color);font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size, 16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular)}.el-notification{display:flex;width:var(--el-notification-width);padding:var(--el-notification-padding);border-radius:var(--el-notification-radius);box-sizing:border-box;border:1px solid var(--el-notification-border-color);position:fixed;background-color:var(--el-bg-color-overlay);box-shadow:var(--el-notification-shadow);transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);overflow-wrap:anywhere;overflow:hidden;z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right)}.el-notification__title{font-weight:700;font-size:var(--el-notification-title-font-size);line-height:var(--el-notification-icon-size);color:var(--el-notification-title-color);margin:0}.el-notification__content{font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0;color:var(--el-notification-content-color);text-align:justify}.el-notification__content p{margin:0}.el-notification .el-notification__icon{height:var(--el-notification-icon-size);width:var(--el-notification-icon-size);font-size:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:var(--el-notification-close-color);font-size:var(--el-notification-close-font-size)}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0}.el-page-header{display:flex;line-height:24px}.el-page-header__left{display:flex;cursor:pointer;margin-right:40px;position:relative}.el-page-header__left:after{content:"";position:absolute;width:1px;height:16px;right:-20px;top:50%;transform:translateY(-50%);background-color:var(--el-border-color)}.el-page-header__icon{font-size:18px;margin-right:6px;display:flex;align-items:center}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{font-size:18px;color:var(--el-text-color-primary)}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:3px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-height-extra-small:24px;--el-pagination-line-height-extra-small:var(--el-pagination-height-extra-small);white-space:nowrap;padding:2px 5px;color:var(--el-pagination-text-color);font-weight:400;display:flex;align-items:center}.el-pagination:after,.el-pagination:before{display:table;content:""}.el-pagination:after{clear:both}.el-pagination button,.el-pagination span:not([class*=suffix]){display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);box-sizing:border-box}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield;line-height:normal}.el-pagination .el-select .el-input{width:128px}.el-pagination button{border:none;padding:0 6px;background:0 0}.el-pagination button:focus{outline:0}.el-pagination button:hover{color:var(--el-pagination-hover-color)}.el-pagination button:disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pagination .btn-next,.el-pagination .btn-prev{background:center center no-repeat;background-size:16px;background-color:var(--el-pagination-bg-color);cursor:pointer;margin:0;color:var(--el-pagination-button-color)}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination .el-pager li.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li,.el-pagination--small .el-pager li.btn-quicknext,.el-pagination--small .el-pager li.btn-quickprev,.el-pagination--small .el-pager li:last-child{border-color:transparent;font-size:var(--el-font-size-extra-small);line-height:var(--el-pagination-line-height-extra-small);height:var(--el-pagination-height-extra-small);min-width:24px}.el-pagination--small .arrow.is-disabled{visibility:hidden}.el-pagination--small .more:before,.el-pagination--small li.more:before{line-height:var(--el-pagination-line-height-extra-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){height:var(--el-pagination-height-extra-small);line-height:var(--el-pagination-line-height-extra-small);font-size:var(--el-font-size-extra-small)}.el-pagination--small .el-pagination__editor{height:var(--el-pagination-line-height-extra-small)}.el-pagination--small .el-pagination__editor.el-input .el-input__inner{height:var(--el-pagination-height-extra-small)}.el-pagination--small .el-input--small,.el-pagination--small .el-input__inner{height:var(--el-pagination-height-extra-small)!important;line-height:var(--el-pagination-line-height-extra-small)}.el-pagination--small .el-input__suffix,.el-pagination--small .el-input__suffix .el-input__suffix-inner,.el-pagination--small .el-input__suffix .el-input__suffix-inner i.el-select__caret{line-height:var(--el-pagination-line-height-extra-small)}.el-pagination--small .el-select .el-input{width:100px}.el-pagination__sizes{margin:0 16px 0 0;font-weight:400;color:var(--el-text-color-regular)}.el-pagination__sizes+button.btn-prev[type=button]{margin-left:0}.el-pagination__sizes+.el-pager .number:first-child{margin-left:0}.el-pagination__sizes+.el-pager .number:last-child{margin-right:0}.el-pagination__total{margin-right:16px;font-weight:400;color:var(--el-text-color-regular)}.el-pagination__total+button.btn-prev[type=button]{margin-left:0}.el-pagination__total+.el-pager .number:first-child{margin-left:0}.el-pagination__total+.el-pager .number:last-child{margin-right:0}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{margin-left:16px;font-weight:400;color:var(--el-text-color-regular)}.el-pagination__jump .el-input__inner{padding:0 3px}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__rightwrapper{flex:1;display:flex;align-items:center;justify-content:flex-end}.el-pagination__editor{line-height:18px;margin:0 8px;height:var(--el-pagination-button-height);min-width:56px;text-align:center;box-sizing:border-box;border-radius:var(--el-pagination-border-radius)}.el-pagination__editor.el-input{width:50px}.el-pagination__editor.el-input .el-input__inner{height:var(--el-pagination-button-height)}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{margin:0 4px;background-color:var(--el-pagination-button-bg-color);color:var(--el-text-color-regular);min-width:32px;border-radius:2px}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .el-pager li.is-disabled{color:var(--el-text-color-placeholder);background-color:var(--el-disabled-bg-color)}.el-pagination.is-background .btn-next.is-first,.el-pagination.is-background .btn-prev.is-first,.el-pagination.is-background .el-pager li.is-first{margin-left:0}.el-pagination.is-background .btn-next.is-last,.el-pagination.is-background .btn-prev.is-last,.el-pagination.is-background .el-pager li.is-last{margin-right:0}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0}.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev:disabled{color:var(--el-text-color-placeholder);background-color:var(--el-disabled-bg-color)}.el-pagination.is-background .btn-next:hover:not([disabled]),.el-pagination.is-background .btn-prev:hover:not([disabled]){color:var(--el-pagination-hover-color)}.el-pagination.is-background .el-pager li:not(.is-disabled):hover{color:var(--el-pagination-hover-color)}.el-pagination.is-background .el-pager li:not(.is-disabled).is-active{background-color:var(--el-color-primary);color:var(--el-color-white);font-weight:700}.el-pagination.is-background.el-pagination--small .btn-next,.el-pagination.is-background.el-pagination--small .btn-prev,.el-pagination.is-background.el-pagination--small .el-pager li{min-width:24px}.el-pager{-webkit-user-select:none;user-select:none;list-style:none;font-size:0;padding:0;margin:0;display:flex;align-items:center}.el-pager li{padding:0 4px;background:var(--el-pagination-bg-color);display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);box-sizing:border-box;cursor:pointer;text-align:center}.el-pager li.btn-quickprev:hover,.el-pager li.btn-quicknext:hover{cursor:pointer}.el-pager li.btn-quicknext,.el-pager li.btn-quickprev{line-height:32px;color:var(--el-pagination-button-color)}.el-pager li.btn-quicknext.is-disabled,.el-pager li.btn-quickprev.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-pager li.btn-quicknext svg,.el-pager li.btn-quickprev svg{pointer-events:none}.el-pager li.is-active+li{border-left:0}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color)}.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{color:var(--el-pagination-hover-color);cursor:default}.el-pager+button.btn-next[type=button]{margin-right:0}.el-popconfirm__main{display:flex;align-items:center}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{text-align:right;margin-top:8px}.el-popover{--el-popover-bg-color:var(--el-color-white);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);min-width:150px;border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;text-align:justify;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);word-break:break-all}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.el-progress{position:relative;line-height:1;display:flex;align-items:center}.el-progress__text{font-size:14px;color:var(--el-text-color-regular);margin-left:5px;min-width:50px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{flex-grow:1;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:var(--el-border-color-lighter);overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:var(--el-color-primary);text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{transform:translateZ(0);animation:indeterminate 3s infinite}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light)}.el-radio-button{position:relative;display:inline-block;outline:0}.el-radio-button__inner{display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));border-left:0;color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;position:relative;cursor:pointer;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:0}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:var(--el-border);border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button__original-radio{opacity:0;outline:0;position:absolute;z-index:-1}.el-radio-button__original-radio:checked+.el-radio-button__inner{color:var(--el-radio-button-checked-text-color,var(--el-color-white));background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary))}.el-radio-button__original-radio:disabled+.el-radio-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{padding:12px 19px;font-size:var(--el-font-size-base);border-radius:0}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{padding:5px 11px;font-size:12px;border-radius:0}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled){box-shadow:0 0 2px 2px var(--el-radio-button-checked-border-color)}.el-radio-group{display:inline-flex;align-items:center;flex-wrap:wrap;font-size:0}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary)}.el-radio{color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;outline:0;font-size:var(--el-font-size-base);-webkit-user-select:none;user-select:none;margin-right:32px;height:32px}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{padding:0 11px 0 7px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{width:4px;height:4px;border-radius:var(--el-radio-input-border-radius);background-color:var(--el-color-white);content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:0;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary)}.el-rate{display:inline-flex;align-items:center;height:32px}.el-rate:active,.el-rate:focus{outline-width:0}.el-rate__item{cursor:pointer;display:inline-block;position:relative;font-size:0;vertical-align:middle;color:var(--el-rate-void-color)}.el-rate .el-rate__icon{position:relative;display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{position:absolute;left:0;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{position:absolute;top:0;left:0;display:inline-block;overflow:hidden;color:var(--el-rate-fill-color)}.el-rate__text{font-size:var(--el-rate-font-size);vertical-align:middle;color:var(--el-rate-text-color)}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate.is-disabled .el-rate__item{cursor:auto;color:var(--el-rate-disabled-void-color)}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px}.el-result{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--el-result-padding)}.el-result__icon svg{width:var(--el-result-icon-font-size);height:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{margin:0;font-size:var(--el-result-title-font-size);color:var(--el-text-color-primary);line-height:1.3}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);line-height:1.3}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-row{display:flex;flex-wrap:wrap;position:relative;box-sizing:border-box}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary)}.el-scrollbar{overflow:hidden;position:relative;height:100%}.el-scrollbar__wrap{overflow:auto;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));transition:var(--el-transition-duration) background-color;opacity:var(--el-scrollbar-opacity,.3)}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__option-item:hover:not(.hover){background-color:transparent}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size)}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;margin:6px 0!important;padding:0!important;box-sizing:border-box}.el-select-dropdown__option-item{font-size:var(--el-select-font-size);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__option-item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown__option-item.is-disabled:hover{background-color:var(--el-color-white)}.el-select-dropdown__option-item.is-selected{background-color:var(--el-fill-color-light);font-weight:700}.el-select-dropdown__option-item.is-selected:not(.is-multiple){color:var(--el-color-primary)}.el-select-dropdown__option-item.hover{background-color:var(--el-fill-color-light)!important}.el-select-dropdown__option-item:hover{background-color:var(--el-fill-color-light)}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay)}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected .el-icon{position:absolute;right:20px;top:0;height:inherit;font-size:12px}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected .el-icon svg{height:inherit;vertical-align:middle}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:var(--el-border-color-light)}.el-select-group__split-dash{position:absolute;left:20px;right:20px;height:1px;background:var(--el-border-color-light)}.el-select-group__title{padding-left:20px;font-size:12px;color:var(--el-color-info);line-height:30px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select-v2{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px}.el-select-v2{display:inline-block;position:relative;vertical-align:middle;font-size:14px}.el-select-v2__wrapper{display:flex;align-items:center;flex-wrap:wrap;box-sizing:border-box;cursor:pointer;padding:1px 30px 1px 0;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);transition:border-color var(--el-transition-duration-fast) var(--el-ease-in-out-bezier-function)}.el-select-v2__wrapper:hover{border-color:var(--el-text-color-placeholder)}.el-select-v2__wrapper.is-filterable{cursor:text}.el-select-v2__wrapper.is-focused{border-color:var(--el-color-primary)}.el-select-v2__wrapper.is-hovering:not(.is-focused){border-color:var(--el-text-color-placeholder)}.el-select-v2__wrapper.is-disabled{cursor:not-allowed;background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);border-color:var(--el-select-disabled-border)}.el-select-v2__wrapper.is-disabled:hover{border-color:var(--el-select-disabled-border)}.el-select-v2__wrapper.is-disabled.is-focus{border-color:var(--el-input-focus-border-color)}.el-select-v2__wrapper.is-disabled .is-transparent{opacity:1;-webkit-user-select:none;user-select:none}.el-select-v2__wrapper.is-disabled .el-select-v2__caret,.el-select-v2__wrapper.is-disabled .el-select-v2__combobox-input{cursor:not-allowed}.el-select-v2__wrapper .el-select-v2__input-wrapper{box-sizing:border-box;position:relative;margin-inline-start:12px;max-width:100%;overflow:hidden}.el-select-v2__wrapper,.el-select-v2__wrapper .el-select-v2__input-wrapper{line-height:32px}.el-select-v2__wrapper .el-select-v2__input-wrapper input{line-height:24px;height:24px;min-width:4px;width:100%;background-color:transparent;-webkit-appearance:none;appearance:none;background:0 0;border:none;margin:2px 0;outline:0;padding:0}.el-select-v2 .el-select-v2__tags-text{text-overflow:ellipsis;display:inline-flex;justify-content:center;align-items:center;overflow:hidden}.el-select-v2__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:14px}.el-select-v2__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select-v2__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select-v2__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select-v2__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select-v2__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select-v2__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select-v2--large .el-select-v2__wrapper .el-select-v2__combobox-input{height:32px}.el-select-v2--large .el-select-v2__caret,.el-select-v2--large .el-select-v2__suffix{height:40px}.el-select-v2--large .el-select-v2__placeholder{font-size:14px;line-height:40px}.el-select-v2--small .el-select-v2__wrapper .el-select-v2__combobox-input{height:16px}.el-select-v2--small .el-select-v2__caret,.el-select-v2--small .el-select-v2__suffix{height:24px}.el-select-v2--small .el-select-v2__placeholder{font-size:12px;line-height:24px}.el-select-v2 .el-select-v2__selection>span{display:inline-block}.el-select-v2:hover .el-select-v2__combobox-input{border-color:var(--el-select-border-color-hover)}.el-select-v2 .el-select__selection-text{text-overflow:ellipsis;display:inline-block;overflow-x:hidden;vertical-align:bottom}.el-select-v2 .el-select-v2__combobox-input{padding-right:35px;display:block}.el-select-v2 .el-select-v2__combobox-input:focus{border-color:var(--el-select-input-focus-border-color)}.el-select-v2__input{border:none;outline:0;padding:0;margin-left:15px;color:var(--el-select-multiple-input-color);font-size:var(--el-select-font-size);-webkit-appearance:none;appearance:none;height:28px}.el-select-v2__input.is-small{height:14px}.el-select-v2__close{cursor:pointer;position:absolute;top:8px;z-index:var(--el-index-top);right:25px;color:var(--el-select-input-color);line-height:18px;font-size:var(--el-select-input-font-size)}.el-select-v2__close:hover{color:var(--el-select-close-hover-color)}.el-select-v2__suffix{display:inline-flex;position:absolute;right:12px;height:32px;top:50%;transform:translateY(-50%);color:var(--el-input-icon-color,var(--el-text-color-placeholder))}.el-select-v2__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:transform var(--el-transition-duration);transform:rotate(180deg);cursor:pointer}.el-select-v2__caret.is-reverse{transform:rotate(0)}.el-select-v2__caret.is-show-close{font-size:var(--el-select-font-size);text-align:center;transform:rotate(180deg);border-radius:var(--el-border-radius-circle);color:var(--el-select-input-color);transition:var(--el-transition-color)}.el-select-v2__caret.is-show-close:hover{color:--el-select-close-hover-color}.el-select-v2__caret.el-icon{height:inherit}.el-select-v2__caret.el-icon svg{vertical-align:middle}.el-select-v2__selection{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-select-v2__wrapper{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);position:relative;transition:all var(--el-transition-duration) var(--el-ease-in-out-bezier-function)}.el-select-v2__input-calculator{left:0;position:absolute;top:0;visibility:hidden;white-space:pre;z-index:999}.el-select-v2__selected-item{line-height:inherit;height:inherit;-webkit-user-select:none;user-select:none;display:flex}.el-select-v2__placeholder{position:absolute;top:50%;transform:translateY(-50%);margin-inline-start:12px;width:calc(100% - 52px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--el-input-text-color,var(--el-text-color-regular))}.el-select-v2__placeholder.is-transparent{color:var(--el-text-color-placeholder)}.el-select-v2 .el-select-v2__selection .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 0 2px 6px;background-color:var(--el-fill-color)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;color:var(--el-color-white)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select-v2.el-select-v2--small .el-select-v2__selection .el-tag{margin:1px 0 1px 6px;height:18px}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:var(--el-fill-color-light)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown .el-select-dropdown__option-item.is-selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size)}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px}.el-select{display:inline-block;position:relative;line-height:32px}.el-select__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select .el-select-tags-wrapper.has-prefix{margin-left:6px}.el-select--large{line-height:40px}.el-select--large .el-select-tags-wrapper.has-prefix{margin-left:8px}.el-select--small{line-height:24px}.el-select--small .el-select-tags-wrapper.has-prefix{margin-left:4px}.el-select .el-select__tags>span{display:inline-block}.el-select:hover:not(.el-select--disabled) .el-input__inner{box-shadow:0 0 0 1px var(--el-select-border-color-hover) inset}.el-select .el-select__tags-text{text-overflow:ellipsis;display:inline-flex;justify-content:center;align-items:center;overflow:hidden}.el-select .el-input__inner{cursor:pointer;display:inline-flex}.el-select .el-input__inner:focus{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select .el-input{display:flex}.el-select .el-input .el-select__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:transform var(--el-transition-duration);transform:rotate(180deg);cursor:pointer}.el-select .el-input .el-select__caret.is-reverse{transform:rotate(0)}.el-select .el-input .el-select__caret.is-show-close{font-size:var(--el-select-font-size);text-align:center;transform:rotate(180deg);border-radius:var(--el-border-radius-circle);color:var(--el-select-input-color);transition:var(--el-transition-color)}.el-select .el-input .el-select__caret.is-show-close:hover{color:var(--el-select-close-hover-color)}.el-select .el-input .el-select__caret.el-icon{position:relative;height:inherit;z-index:2}.el-select .el-input.is-disabled .el-input__inner{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__inner:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select .el-input.is-disabled .el-select__caret{cursor:not-allowed}.el-select .el-input.is-focus .el-input__inner{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select__input{border:none;outline:0;padding:0;margin-left:15px;color:var(--el-select-multiple-input-color);font-size:var(--el-select-font-size);-webkit-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:var(--el-index-top);right:25px;color:var(--el-select-input-color);line-height:18px;font-size:var(--el-select-input-font-size)}.el-select__close:hover{color:var(--el-select-close-hover-color)}.el-select__tags{position:absolute;line-height:normal;top:50%;transform:translateY(-50%);white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-select__collapse-tags{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-select__collapse-tag{line-height:inherit;height:inherit;display:flex}.el-select .el-select__tags .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.el-select .el-select__tags .el-tag:last-child{margin-right:0}.el-select .el-select__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;top:0;color:#fff}.el-select .el-select__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select .el-select__tags .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select .el-select__tags .el-tag--info{background-color:var(--el-fill-color)}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);display:inline-block;height:16px;border-radius:var(--el-border-radius-base);width:100%}.el-skeleton__circle{border-radius:50%;width:var(--el-skeleton-circle-size);height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size)}.el-skeleton__button{height:40px;width:64px;border-radius:4px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{width:100%;height:var(--el-font-size-small)}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{width:unset;display:flex;align-items:center;justify-content:center;border-radius:0}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:22%;height:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{height:16px;margin-top:16px;background:var(--el-skeleton-color)}.el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%;animation:el-skeleton-loading 1.4s ease infinite}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px}.el-slider{width:100%;height:32px;display:flex;align-items:center}.el-slider__runway{flex:1;height:var(--el-slider-height);background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);position:relative;cursor:pointer}.el-slider__runway.show-input{margin-right:30px;width:auto}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover,.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{transform:scale(1)}.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover,.el-slider__runway.is-disabled .el-slider__button.dragging{cursor:not-allowed}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{height:var(--el-slider-height);background-color:var(--el-slider-main-bg-color);border-top-left-radius:var(--el-slider-border-radius);border-bottom-left-radius:var(--el-slider-border-radius);position:absolute}.el-slider__button-wrapper{height:var(--el-slider-button-wrapper-size);width:var(--el-slider-button-wrapper-size);position:absolute;z-index:1;top:var(--el-slider-button-wrapper-offset);transform:translate(-50%);background-color:transparent;text-align:center;-webkit-user-select:none;user-select:none;line-height:normal;outline:0}.el-slider__button-wrapper:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{display:inline-block;width:var(--el-slider-button-size);height:var(--el-slider-button-size);vertical-align:middle;border:solid 2px var(--el-slider-main-bg-color);background-color:var(--el-color-white);border-radius:50%;box-sizing:border-box;transition:var(--el-transition-duration-fast);-webkit-user-select:none;user-select:none}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{position:absolute;height:var(--el-slider-height);width:var(--el-slider-height);border-radius:var(--el-border-radius-circle);background-color:var(--el-slider-stop-bg-color);transform:translate(-50%)}.el-slider__marks{top:0;left:12px;width:18px;height:100%}.el-slider__marks-text{position:absolute;transform:translate(-50%);font-size:14px;color:var(--el-color-info);margin-top:15px}.el-slider.is-vertical{position:relative;height:100%;flex:0}.el-slider.is-vertical .el-slider__runway{width:var(--el-slider-height);height:100%;margin:0 16px}.el-slider.is-vertical .el-slider__bar{width:var(--el-slider-height);height:auto;border-radius:0 0 3px 3px}.el-slider.is-vertical .el-slider__button-wrapper{top:auto;left:var(--el-slider-button-wrapper-offset);transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{margin-top:0;left:15px;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{display:inline-flex;vertical-align:top}.el-space__item{display:flex;flex-wrap:wrap}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{width:100%;white-space:nowrap}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;width:50px;height:50px}.el-spinner-inner .path{stroke:var(--el-border-color-lighter);stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-step{position:relative;flex-shrink:1}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-shrink:0;flex-grow:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{color:var(--el-text-color-primary);border-color:var(--el-text-color-primary)}.el-step__head.is-wait{color:var(--el-text-color-placeholder);border-color:var(--el-text-color-placeholder)}.el-step__head.is-success{color:var(--el-color-success);border-color:var(--el-color-success)}.el-step__head.is-error{color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-step__head.is-finish{color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-step__icon{position:relative;z-index:1;display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;box-sizing:border-box;background:var(--el-bg-color-overlay);transition:.15s ease-out}.el-step__icon.is-text{border-radius:50%;border:2px solid;border-color:inherit}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{display:inline-block;-webkit-user-select:none;user-select:none;text-align:center;font-weight:700;line-height:1;color:inherit}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{position:absolute;border-color:inherit;background-color:var(--el-text-color-placeholder)}.el-step__line-inner{display:block;border-width:1px;border-style:solid;border-color:inherit;transition:.15s ease-out;box-sizing:border-box;width:0;height:0}.el-step__main{white-space:normal;text-align:left}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{font-weight:700;color:var(--el-text-color-primary)}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{padding-right:10%;margin-top:-5px;font-size:12px;line-height:20px;font-weight:400}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;top:11px;left:0;right:0}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{padding-left:10px;flex-grow:1}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{width:2px;top:0;bottom:0;left:11px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{display:flex;align-items:center}.el-step.is-simple .el-step__head{width:auto;font-size:0;padding-right:10px}.el-step.is-simple .el-step__icon{background:0 0;width:16px;height:16px;font-size:12px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{position:relative;display:flex;align-items:stretch;flex-grow:1}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;word-break:break-all}.el-step.is-simple .el-step__arrow{flex-grow:1;display:flex;align-items:center;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{content:"";display:inline-block;position:absolute;height:15px;width:1px;background:var(--el-text-color-placeholder)}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{display:flex}.el-steps--simple{padding:13px 8%;border-radius:4px;background:var(--el-fill-color-light)}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{height:100%;flex-flow:column}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);--el-switch-core-border-radius:10px;--el-switch-width:40px;--el-switch-height:20px;--el-switch-button-size:16px}.el-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:var(--el-switch-height);height:32px;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:var(--el-transition-duration-fast);height:var(--el-switch-height);display:inline-block;font-size:14px;font-weight:500;cursor:pointer;vertical-align:middle;color:var(--el-text-color-primary)}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__core{margin:0;display:inline-block;position:relative;width:var(--el-switch-width);height:var(--el-switch-height);border:1px solid var(--el-switch-off-color);outline:0;border-radius:var(--el-switch-core-border-radius);box-sizing:border-box;background:var(--el-switch-off-color);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration);vertical-align:middle}.el-switch__core .el-switch__inner{position:absolute;top:1px;left:1px;transition:all var(--el-transition-duration);width:var(--el-switch-button-size);height:var(--el-switch-button-size);display:flex;justify-content:center;align-items:center;left:50%;white-space:nowrap}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{color:var(--el-color-white);transition:opacity var(--el-transition-duration);position:absolute;-webkit-user-select:none;user-select:none}.el-switch__core .el-switch__action{position:absolute;top:1px;left:1px;border-radius:var(--el-border-radius-circle);transition:all var(--el-transition-duration);width:var(--el-switch-button-size);height:var(--el-switch-button-size);background-color:var(--el-color-white);display:flex;justify-content:center;align-items:center;color:var(--el-switch-off-color)}.el-switch__core .el-switch__action .is-icon,.el-switch__core .el-switch__action .is-text{transition:opacity var(--el-transition-duration);position:absolute;-webkit-user-select:none;user-select:none}.el-switch__core .is-text{font-size:12px}.el-switch__core .is-show{opacity:1}.el-switch__core .is-hide{opacity:0}.el-switch.is-checked .el-switch__core{border-color:var(--el-switch-on-color);background-color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__action{left:100%;margin-left:calc(-1px - var(--el-switch-button-size));color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__inner{left:50%;white-space:nowrap;margin-left:calc(-1px - var(--el-switch-button-size))}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;height:40px}.el-switch--large .el-switch__label,.el-switch--large .el-switch__label *{font-size:14px}.el-switch--small{font-size:12px;height:24px}.el-switch--small .el-switch__label,.el-switch--small .el-switch__label *{font-size:12px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:solid 1px var(--el-border-color-lighter);border-radius:2px;background-color:#fff;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:var(--el-font-size-base)}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary-light-3)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:0 0;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:0}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:flex;align-items:center;margin-right:5px;margin-bottom:12px;margin-left:5px;height:unset}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0, 0, 0, .15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0, 0, 0, .15)}.el-table{position:relative;overflow:hidden;box-sizing:border-box;height:-moz-fit-content;height:fit-content;width:100%;max-width:100%;background-color:var(--el-table-bg-color);font-size:14px;color:var(--el-table-text-color)}.el-table__inner-wrapper{position:relative}.el-table__inner-wrapper:before{left:0;bottom:0;width:100%;height:1px;z-index:3}.el-table.has-footer .el-table__inner-wrapper:before{bottom:1px}.el-table__empty-block{position:sticky;left:0;min-height:60px;text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:var(--el-text-color-secondary)}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;user-select:none}.el-table__expand-icon{position:relative;cursor:pointer;color:var(--el-text-color-regular);font-size:12px;transition:transform var(--el-transition-duration-fast) ease-in-out;height:20px}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table thead{color:var(--el-table-header-text-color);font-weight:500}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{padding:8px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left;z-index:1}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;line-height:23px;padding:0 12px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{-webkit-user-select:none;user-select:none;background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell{display:inline-block;box-sizing:border-box;position:relative;vertical-align:middle;width:100%}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border .el-table__footer-wrapper tr:first-child td:first-child,.el-table--border .el-table__footer-wrapper tr:first-child th:first-child,.el-table--border .el-table__inner-wrapper tr:first-child td:first-child,.el-table--border .el-table__inner-wrapper tr:first-child th:first-child,.el-table--group .el-table__footer-wrapper tr:first-child td:first-child,.el-table--group .el-table__footer-wrapper tr:first-child th:first-child,.el-table--group .el-table__inner-wrapper tr:first-child td:first-child,.el-table--group .el-table__inner-wrapper tr:first-child th:first-child{border-left:var(--el-table-border)}.el-table--border .el-table__footer-wrapper,.el-table--group .el-table__footer-wrapper{border-top:var(--el-table-border)}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{content:"";position:absolute;background-color:var(--el-table-border-color);z-index:3}.el-table--border .el-table__inner-wrapper:after{left:0;top:0;width:100%;height:1px;z-index:3}.el-table--border:before{top:-1px;left:0;width:1px;height:100%;z-index:3}.el-table--border:after{top:-1px;right:0;width:1px;height:100%;z-index:3}.el-table--border .el-table__inner-wrapper{border-right:none;border-bottom:none}.el-table--border .el-table__footer-wrapper{position:relative}.el-table--border .el-table__footer-wrapper{margin-top:-2px}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border .el-table__cell:first-child .cell{padding-left:10px}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{position:sticky!important;z-index:2;background:var(--el-bg-color)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{content:"";position:absolute;top:0;width:10px;bottom:-1px;overflow-x:hidden;overflow-y:hidden;box-shadow:none;touch-action:none;pointer-events:none}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px;box-shadow:none}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{position:sticky!important;z-index:2;background:#fff;right:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{table-layout:fixed;border-collapse:separate}.el-table__footer-wrapper,.el-table__header-wrapper{overflow:hidden}.el-table__footer-wrapper tbody td.el-table__cell,.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:2}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:14px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:solid 5px transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:var(--el-table-border);z-index:10}.el-table__column-filter-trigger{display:inline-block;cursor:pointer}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{top:0;left:0;width:1px;height:100%;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-bottom-patch{left:0;height:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-right-patch{top:0;height:100%;width:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:12px;line-height:12px;height:12px;text-align:center;margin-right:8px}.el-tabs__header{padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:var(--el-color-primary);z-index:1;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);list-style:none}.el-tabs__new-tab{display:flex;align-items:center;justify-content:center;float:right;border:1px solid var(--el-border-color);height:20px;width:20px;line-height:20px;margin:10px 0 10px 10px;border-radius:3px;text-align:center;font-size:12px;color:var(--el-text-color-primary);cursor:pointer;transition:all .15s}.el-tabs__new-tab .is-icon-plus{height:inherit;width:inherit;transform:scale(.8)}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:var(--el-border-color-light);z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:var(--el-text-color-secondary)}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;position:relative;transition:transform var(--el-transition-duration);float:left;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:500;color:var(--el-text-color-primary);position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:0}.el-tabs__item .is-icon-close{border-radius:50%;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);margin-left:5px}.el-tabs__item .is-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item .is-icon-close svg{margin-top:1px}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:default}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{position:relative;font-size:12px;width:0;height:14px;vertical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:#fff}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);border:1px solid transparent;margin-top:-1px;color:var(--el-text-color-secondary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay);border-right-color:var(--el-border-color);border-left-color:var(--el-border-color)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--top .el-tabs__item.is-top:nth-child(2){padding-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--top .el-tabs__item.is-top:last-child{padding-right:0}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{float:none}.el-tabs--left .el-tabs__item.is-left,.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-right{display:block}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__active-bar.is-left{right:0;left:auto}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid var(--el-border-color-light);border-bottom:none;border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid var(--el-border-color-light);border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid var(--el-border-color-light);border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{position:absolute;left:0;right:0;animation:slideInRight-leave var(--el-transition-duration)}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{position:absolute;left:0;right:0;animation:slideInLeft-leave var(--el-transition-duration)}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(100%);opacity:0}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(-100%);opacity:0}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px}.el-tag{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-text-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary);background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);color:var(--el-tag-text-color);display:inline-flex;justify-content:center;align-items:center;height:24px;padding:0 9px;font-size:var(--el-tag-font-size);line-height:1;border-width:1px;border-style:solid;border-radius:var(--el-tag-border-radius);box-sizing:border-box;white-space:nowrap;--el-icon-size:14px}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-text-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-text-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-text-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-text-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-text-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color)}.el-tag .el-tag__close:hover{color:var(--el-color-white);background-color:var(--el-tag-hover-color)}.el-tag .el-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{margin-left:6px}.el-tag--dark{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--plain{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-text-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-text-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-text-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-text-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-text-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-text-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error)}.el-tag.is-closable{padding-right:5px}.el-tag--large{padding:0 11px;height:32px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{padding:0 7px;height:20px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px;line-height:20px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);font-weight:700;cursor:pointer}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{position:relative;padding-bottom:20px}.el-timeline-item__wrapper{position:relative;padding-left:28px;top:-3px}.el-timeline-item__tail{position:absolute;left:4px;height:100%;border-left:2px solid var(--el-timeline-node-color)}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{position:absolute;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;align-items:center}.el-timeline-item__node--normal{left:-1px;width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{left:-2px;width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{position:absolute;display:flex;justify-content:center;align-items:center}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light)}.el-timeline{margin:0;font-size:var(--el-font-size-base);list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{display:flex;align-items:center}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-tooltip-v2__content{--el-tooltip-v2-padding:5px 10px;--el-tooltip-v2-border-radius:4px;--el-tooltip-v2-border-color:var(--el-border-color);border-radius:var(--el-tooltip-v2-border-radius);color:var(--el-color-black);background-color:var(--el-color-white);padding:var(--el-tooltip-v2-padding);border:1px solid var(--el-border-color)}.el-tooltip-v2__arrow{position:absolute;color:var(--el-color-white);width:var(--el-tooltip-v2-arrow-width);height:var(--el-tooltip-v2-arrow-height);pointer-events:none;left:var(--el-tooltip-v2-arrow-x);top:var(--el-tooltip-v2-arrow-y)}.el-tooltip-v2__arrow:before{content:"";width:0;height:0;border:var(--el-tooltip-v2-arrow-border-width) solid transparent;position:absolute}.el-tooltip-v2__arrow:after{content:"";width:0;height:0;border:var(--el-tooltip-v2-arrow-border-width) solid transparent;position:absolute}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow{bottom:0}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:before{border-top-color:var(--el-color-white);border-top-width:var(--el-tooltip-v2-arrow-border-width);border-bottom:0;top:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:after{border-top-color:var(--el-border-color);border-top-width:var(--el-tooltip-v2-arrow-border-width);border-bottom:0;top:100%;z-index:-1}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow{top:0}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:before{border-bottom-color:var(--el-color-white);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:after{border-bottom-color:var(--el-border-color);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:100%;z-index:-1}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow{right:0}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:before{border-left-color:var(--el-color-white);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:after{border-left-color:var(--el-border-color);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:100%;z-index:-1}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow{left:0}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:before{border-right-color:var(--el-color-white);border-right-width:var(--el-tooltip-v2-arrow-border-width);border-left:0;right:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:after{border-right-color:var(--el-border-color);border-right-width:var(--el-tooltip-v2-arrow-border-width);border-left:0;right:100%;z-index:-1}.el-tooltip-v2__content.is-dark{--el-tooltip-v2-border-color:transparent;background-color:var(--el-color-black);color:var(--el-color-white);border-color:transparent}.el-tooltip-v2__content.is-dark .el-tooltip-v2__arrow{background-color:var(--el-color-black);border-color:transparent}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px}.el-transfer{font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;vertical-align:middle;padding:0 30px}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{overflow:hidden;background:var(--el-bg-color-overlay);display:inline-block;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width);max-height:100%;box-sizing:border-box;position:relative}.el-transfer-panel__body{height:var(--el-transfer-panel-body-height);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.el-transfer-panel__list{margin:0;padding:6px 0;list-style:none;height:var(--el-transfer-panel-body-height);overflow:auto;box-sizing:border-box}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px;display:block!important}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular)}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;box-sizing:border-box;padding-left:22px;line-height:var(--el-transfer-item-height)}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{text-align:center;margin:15px;box-sizing:border-box;width:auto}.el-transfer-panel__filter .el-input__inner{height:var(--el-transfer-filter-height);width:100%;font-size:12px;display:inline-block;box-sizing:border-box;border-radius:calc(var(--el-transfer-filter-height)/ 2)}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{display:flex;align-items:center;height:var(--el-transfer-panel-header-height);background:var(--el-transfer-panel-header-bg-color);margin:0;padding-left:15px;border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black)}.el-transfer-panel .el-transfer-panel__header .el-checkbox{position:relative;display:flex;width:100%;align-items:center}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{font-size:16px;color:var(--el-text-color-primary);font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{position:absolute;right:15px;top:50%;transform:translate3d(0,-50%,0);color:var(--el-text-color-secondary);font-size:12px;font-weight:400}.el-transfer-panel .el-transfer-panel__footer{height:var(--el-transfer-panel-footer-height);background:var(--el-bg-color-overlay);margin:0;padding:0;border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius)}.el-transfer-panel .el-transfer-panel__footer:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{padding-left:20px;color:var(--el-text-color-regular)}.el-transfer-panel .el-transfer-panel__empty{margin:0;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding:6px 15px 0;color:var(--el-text-color-secondary);text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{height:14px;width:14px;border-radius:3px}.el-transfer-panel .el-checkbox__inner:after{height:6px;width:3px;left:4px}.el-tree{--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree{position:relative;cursor:default;background:var(--el-fill-color-blank);color:var(--el-tree-text-color)}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--el-text-color-secondary);font-size:var(--el-font-size-base)}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:var(--el-color-primary)}.el-tree-node{white-space:nowrap;outline:0}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{display:flex;align-items:center;height:26px;cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px;box-sizing:content-box}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:var(--el-tree-expand-icon-color);font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__label{font-size:var(--el-font-size-base)}.el-tree-node__loading-icon{margin-right:8px;font-size:var(--el-font-size-base);color:var(--el-tree-expand-icon-color)}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__item{flex:1;background:0 0!important;padding-left:0;height:20px;line-height:20px}.el-upload{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;outline:0}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:var(--el-text-color-regular);margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0}.el-upload--picture-card{--el-upload-picture-card-size:148px;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;width:var(--el-upload-picture-card-size);height:var(--el-upload-picture-card-size);cursor:pointer;vertical-align:top;display:inline-flex;justify-content:center;align-items:center}.el-upload--picture-card i{font-size:28px;color:var(--el-text-color-secondary)}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;width:360px;height:180px;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-icon--upload{font-size:67px;color:var(--el-text-color-placeholder);margin:40px 0 16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary)}.el-upload-list{margin:10px 0 0;padding:0;list-style:none;position:relative}.el-upload-list__item{transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:var(--el-text-color-regular);margin-bottom:5px;position:relative;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{display:none;position:absolute;right:5px;top:50%;cursor:pointer;opacity:.75;color:var(--el-text-color-regular);transition:opacity var(--el-transition-duration);transform:translateY(-50%)}.el-upload-list__item .el-icon--close:hover{opacity:1;color:var(--el-color-primary)}.el-upload-list__item .el-icon--close-tip{display:none;position:absolute;right:5px;font-size:12px;cursor:pointer;opacity:1;color:var(--el-color-primary);transform:translateY(-50%)}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;justify-content:center;flex-direction:column;width:100%;margin-left:4px}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon-close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon--close-tip,.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip{display:none}.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list.is-disabled .el-upload-list__item-status-label,.el-upload-list.is-disabled .el-upload-list__item:hover{display:block}.el-upload-list__item-name{color:var(--el-text-color-regular);display:inline-flex;text-align:center;align-items:center;padding:0 4px;overflow:hidden;text-overflow:ellipsis;transition:color var(--el-transition-duration);white-space:nowrap;font-size:var(--el-font-size-base)}.el-upload-list__item-name .el-icon{margin-right:6px;color:var(--el-text-color-secondary)}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none;height:100%;justify-content:center;align-items:center;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:var(--el-text-color-regular);display:none}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{--el-upload-list-picture-card-size:148px;display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:var(--el-fill-color-blank);border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;width:var(--el-upload-list-picture-card-size);height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;padding:0;display:inline-flex}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%;object-fit:contain}.el-upload-list--picture-card .el-upload-list__item-status-label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;display:inline-flex;justify-content:center;align-items:center;color:#fff;opacity:0;font-size:20px;background-color:var(--el-overlay-color-lighter);transition:opacity var(--el-transition-duration)}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:1rem}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{top:50%;left:50%;transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:var(--el-fill-color-blank);border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{display:inline-flex;justify-content:center;align-items:center;width:70px;height:70px;object-fit:contain;position:relative;z-index:1;background-color:var(--el-color-white)}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-cover__label i{font-size:12px;margin-top:11px;transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:var(--el-overlay-color-light);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;transition:var(--el-transition-md-fade);margin-top:60px}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:var(--el-text-color-primary)}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper:hover .el-virtual-scrollbar,.el-vl__wrapper.always-on .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius, 4px)}.el-popper{position:absolute;border-radius:var(--el-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;word-wrap:break-word;visibility:visible}.el-popper.is-dark{color:var(--el-bg-color);background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark .el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-text-color-primary);right:0}.el-popper.is-light{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light .el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-bg-color-overlay);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.el-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--el-text-color-primary);box-sizing:border-box}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-select-dropdown__item{font-size:var(--el-font-size-base);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown__item.is-disabled:hover{background-color:var(--el-color-white)}.el-select-dropdown__item.hover,.el-select-dropdown__item:hover{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.selected{color:var(--el-color-primary);font-weight:700} diff --git a/assets/index.d0d2148b.js b/assets/index.c5e8215f.js similarity index 69% rename from assets/index.d0d2148b.js rename to assets/index.c5e8215f.js index 7908a55..2bcc1b5 100644 --- a/assets/index.d0d2148b.js +++ b/assets/index.c5e8215f.js @@ -1,12 +1,12 @@ -var m1=Object.defineProperty,g1=Object.defineProperties;var b1=Object.getOwnPropertyDescriptors;var pl=Object.getOwnPropertySymbols;var Qp=Object.prototype.hasOwnProperty,ef=Object.prototype.propertyIsEnumerable;var Jp=(e,t,n)=>t in e?m1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,he=(e,t)=>{for(var n in t||(t={}))Qp.call(t,n)&&Jp(e,n,t[n]);if(pl)for(var n of pl(t))ef.call(t,n)&&Jp(e,n,t[n]);return e},ze=(e,t)=>g1(e,b1(t));var tf=(e,t)=>{var n={};for(var o in e)Qp.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&pl)for(var o of pl(e))t.indexOf(o)<0&&ef.call(e,o)&&(n[o]=e[o]);return n};var v1=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var GG=v1(($n,An)=>{const y1=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 a of r)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerpolicy&&(a.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?a.credentials="include":r.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}};y1();function gu(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const _1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",w1=gu(_1);function Fg(e){return!!e||e===""}function Oe(e){if(Ye(e)){const t={};for(let n=0;n{if(n){const o=n.split(k1);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function S(e){let t="";if(Qe(e))t=e;else if(Ye(e))for(let n=0;nva(n,t))}const ve=e=>Qe(e)?e:e==null?"":Ye(e)||ut(e)&&(e.toString===Vg||!Je(e.toString))?JSON.stringify(e,Lg,2):String(e),Lg=(e,t)=>t&&t.__v_isRef?Lg(e,t.value):pa(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:Ds(t)?{[`Set(${t.size})`]:[...t.values()]}:ut(t)&&!Ye(t)&&!Bg(t)?String(t):t,Nt={},ua=[],wt=()=>{},S1=()=>!1,$1=/^on[^a-z]/,Fs=e=>$1.test(e),bu=e=>e.startsWith("onUpdate:"),en=Object.assign,vu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},A1=Object.prototype.hasOwnProperty,lt=(e,t)=>A1.call(e,t),Ye=Array.isArray,pa=e=>Fa(e)==="[object Map]",Ds=e=>Fa(e)==="[object Set]",nf=e=>Fa(e)==="[object Date]",Je=e=>typeof e=="function",Qe=e=>typeof e=="string",Ci=e=>typeof e=="symbol",ut=e=>e!==null&&typeof e=="object",Vr=e=>ut(e)&&Je(e.then)&&Je(e.catch),Vg=Object.prototype.toString,Fa=e=>Vg.call(e),Nl=e=>Fa(e).slice(8,-1),Bg=e=>Fa(e)==="[object Object]",yu=e=>Qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ml=gu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ls=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E1=/-(\w)/g,Bn=Ls(e=>e.replace(E1,(t,n)=>n?n.toUpperCase():"")),z1=/\B([A-Z])/g,fr=Ls(e=>e.replace(z1,"-$1").toLowerCase()),kn=Ls(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rl=Ls(e=>e?`on${kn(e)}`:""),Si=(e,t)=>!Object.is(e,t),Pl=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ps=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let of;const I1=()=>of||(of=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let wn;class jg{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&wn&&(this.parent=wn,this.index=(wn.scopes||(wn.scopes=[])).push(this)-1)}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{const t=new Set(e);return t.w=0,t.n=0,t},qg=e=>(e.w&cr)>0,Kg=e=>(e.n&cr)>0,P1=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{(c==="length"||c>=o)&&l.push(s)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":Ye(e)?yu(n)&&l.push(i.get("length")):(l.push(i.get(Mr)),pa(e)&&l.push(i.get(id)));break;case"delete":Ye(e)||(l.push(i.get(Mr)),pa(e)&&l.push(i.get(id)));break;case"set":pa(e)&&l.push(i.get(Mr));break}if(l.length===1)l[0]&&ld(l[0]);else{const s=[];for(const c of l)c&&s.push(...c);ld(_u(s))}}function ld(e,t){const n=Ye(e)?e:[...e];for(const o of n)o.computed&&af(o);for(const o of n)o.computed||af(o)}function af(e,t){(e!==Qn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const F1=gu("__proto__,__v_isRef,__isVue"),Yg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ci)),D1=xu(),L1=xu(!1,!0),V1=xu(!0),lf=B1();function B1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=kt(this);for(let a=0,i=this.length;a{e[t]=function(...n){Kr();const o=kt(this)[t].apply(this,n);return Wr(),o}}),e}function xu(e=!1,t=!1){return function(o,r,a){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&a===(e?t?ow:Qg:t?Jg:Zg).get(o))return o;const i=Ye(o);if(!e&&i&<(lf,r))return Reflect.get(lf,r,a);const l=Reflect.get(o,r,a);return(Ci(r)?Yg.has(r):F1(r))||(e||zn(o,"get",r),t)?l:Vt(l)?i&&yu(r)?l:l.value:ut(l)?e?Zi(l):vt(l):l}}const j1=Gg(),H1=Gg(!0);function Gg(e=!1){return function(n,o,r,a){let i=n[o];if($i(i)&&Vt(i)&&!Vt(r))return!1;if(!e&&!$i(r)&&(sd(r)||(r=kt(r),i=kt(i)),!Ye(n)&&Vt(i)&&!Vt(r)))return i.value=r,!0;const l=Ye(n)&&yu(o)?Number(o)e,Vs=e=>Reflect.getPrototypeOf(e);function fl(e,t,n=!1,o=!1){e=e.__v_raw;const r=kt(e),a=kt(t);n||(t!==a&&zn(r,"get",t),zn(r,"get",a));const{has:i}=Vs(r),l=o?ku:n?Su:Ei;if(i.call(r,t))return l(e.get(t));if(i.call(r,a))return l(e.get(a));e!==r&&e.get(t)}function hl(e,t=!1){const n=this.__v_raw,o=kt(n),r=kt(e);return t||(e!==r&&zn(o,"has",e),zn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function ml(e,t=!1){return e=e.__v_raw,!t&&zn(kt(e),"iterate",Mr),Reflect.get(e,"size",e)}function sf(e){e=kt(e);const t=kt(this);return Vs(t).has.call(t,e)||(t.add(e),Io(t,"add",e,e)),this}function cf(e,t){t=kt(t);const n=kt(this),{has:o,get:r}=Vs(n);let a=o.call(n,e);a||(e=kt(e),a=o.call(n,e));const i=r.call(n,e);return n.set(e,t),a?Si(t,i)&&Io(n,"set",e,t):Io(n,"add",e,t),this}function df(e){const t=kt(this),{has:n,get:o}=Vs(t);let r=n.call(t,e);r||(e=kt(e),r=n.call(t,e)),o&&o.call(t,e);const a=t.delete(e);return r&&Io(t,"delete",e,void 0),a}function uf(){const e=kt(this),t=e.size!==0,n=e.clear();return t&&Io(e,"clear",void 0,void 0),n}function gl(e,t){return function(o,r){const a=this,i=a.__v_raw,l=kt(i),s=t?ku:e?Su:Ei;return!e&&zn(l,"iterate",Mr),i.forEach((c,d)=>o.call(r,s(c),s(d),a))}}function bl(e,t,n){return function(...o){const r=this.__v_raw,a=kt(r),i=pa(a),l=e==="entries"||e===Symbol.iterator&&i,s=e==="keys"&&i,c=r[e](...o),d=n?ku:t?Su:Ei;return!t&&zn(a,"iterate",s?id:Mr),{next(){const{value:u,done:p}=c.next();return p?{value:u,done:p}:{value:l?[d(u[0]),d(u[1])]:d(u),done:p}},[Symbol.iterator](){return this}}}}function Wo(e){return function(...t){return e==="delete"?!1:this}}function G1(){const e={get(a){return fl(this,a)},get size(){return ml(this)},has:hl,add:sf,set:cf,delete:df,clear:uf,forEach:gl(!1,!1)},t={get(a){return fl(this,a,!1,!0)},get size(){return ml(this)},has:hl,add:sf,set:cf,delete:df,clear:uf,forEach:gl(!1,!0)},n={get(a){return fl(this,a,!0)},get size(){return ml(this,!0)},has(a){return hl.call(this,a,!0)},add:Wo("add"),set:Wo("set"),delete:Wo("delete"),clear:Wo("clear"),forEach:gl(!0,!1)},o={get(a){return fl(this,a,!0,!0)},get size(){return ml(this,!0)},has(a){return hl.call(this,a,!0)},add:Wo("add"),set:Wo("set"),delete:Wo("delete"),clear:Wo("clear"),forEach:gl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=bl(a,!1,!1),n[a]=bl(a,!0,!1),t[a]=bl(a,!1,!0),o[a]=bl(a,!0,!0)}),[e,n,t,o]}const[X1,Z1,J1,Q1]=G1();function Tu(e,t){const n=t?e?Q1:J1:e?Z1:X1;return(o,r,a)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(lt(n,r)&&r in o?n:o,r,a)}const ew={get:Tu(!1,!1)},tw={get:Tu(!1,!0)},nw={get:Tu(!0,!1)},Zg=new WeakMap,Jg=new WeakMap,Qg=new WeakMap,ow=new WeakMap;function rw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function aw(e){return e.__v_skip||!Object.isExtensible(e)?0:rw(Nl(e))}function vt(e){return $i(e)?e:Cu(e,!1,Xg,ew,Zg)}function iw(e){return Cu(e,!1,Y1,tw,Jg)}function Zi(e){return Cu(e,!0,U1,nw,Qg)}function Cu(e,t,n,o,r){if(!ut(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const i=aw(e);if(i===0)return e;const l=new Proxy(e,i===2?o:n);return r.set(e,l),l}function fa(e){return $i(e)?fa(e.__v_raw):!!(e&&e.__v_isReactive)}function $i(e){return!!(e&&e.__v_isReadonly)}function sd(e){return!!(e&&e.__v_isShallow)}function eb(e){return fa(e)||$i(e)}function kt(e){const t=e&&e.__v_raw;return t?kt(t):e}function Ai(e){return us(e,"__v_skip",!0),e}const Ei=e=>ut(e)?vt(e):e,Su=e=>ut(e)?Zi(e):e;function tb(e){ir&&Qn&&(e=kt(e),Ug(e.dep||(e.dep=_u())))}function $u(e,t){e=kt(e),e.dep&&ld(e.dep)}function Vt(e){return!!(e&&e.__v_isRef===!0)}function A(e){return nb(e,!1)}function Kt(e){return nb(e,!0)}function nb(e,t){return Vt(e)?e:new lw(e,t)}class lw{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:kt(t),this._value=n?t:Ei(t)}get value(){return tb(this),this._value}set value(t){t=this.__v_isShallow?t:kt(t),Si(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ei(t),$u(this))}}function Xa(e){$u(e)}function _(e){return Vt(e)?e.value:e}const sw={get:(e,t,n)=>_(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Vt(r)&&!Vt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function fs(e){return fa(e)?e:new Proxy(e,sw)}function Gt(e){const t=Ye(e)?new Array(e.length):{};for(const n in e)t[n]=Yt(e,n);return t}class cw{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}}function Yt(e,t,n){const o=e[t];return Vt(o)?o:new cw(e,t,n)}class dw{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new wu(t,()=>{this._dirty||(this._dirty=!0,$u(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=kt(this);return tb(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function uw(e,t,n=!1){let o,r;const a=Je(e);return a?(o=e,r=wt):(o=e.get,r=e.set),new dw(o,r,a||!r,n)}const ci=[];function pw(e,...t){Kr();const n=ci.length?ci[ci.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=fw();if(o)Ao(o,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:a})=>`at <${Mb(n,a.type)}>`).join(` +var m1=Object.defineProperty,g1=Object.defineProperties;var b1=Object.getOwnPropertyDescriptors;var pl=Object.getOwnPropertySymbols;var Jp=Object.prototype.hasOwnProperty,Qp=Object.prototype.propertyIsEnumerable;var Zp=(e,t,n)=>t in e?m1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,he=(e,t)=>{for(var n in t||(t={}))Jp.call(t,n)&&Zp(e,n,t[n]);if(pl)for(var n of pl(t))Qp.call(t,n)&&Zp(e,n,t[n]);return e},ze=(e,t)=>g1(e,b1(t));var ef=(e,t)=>{var n={};for(var o in e)Jp.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&pl)for(var o of pl(e))t.indexOf(o)<0&&Qp.call(e,o)&&(n[o]=e[o]);return n};var v1=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var HG=v1(($n,An)=>{const y1=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 a of r)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerpolicy&&(a.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?a.credentials="include":r.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}};y1();function mu(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const _1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",w1=mu(_1);function Og(e){return!!e||e===""}function Oe(e){if(Ye(e)){const t={};for(let n=0;n{if(n){const o=n.split(k1);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function S(e){let t="";if(Qe(e))t=e;else if(Ye(e))for(let n=0;nva(n,t))}const ve=e=>Qe(e)?e:e==null?"":Ye(e)||ut(e)&&(e.toString===Lg||!Je(e.toString))?JSON.stringify(e,Dg,2):String(e),Dg=(e,t)=>t&&t.__v_isRef?Dg(e,t.value):pa(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:Ds(t)?{[`Set(${t.size})`]:[...t.values()]}:ut(t)&&!Ye(t)&&!Vg(t)?String(t):t,Nt={},ua=[],wt=()=>{},S1=()=>!1,$1=/^on[^a-z]/,Fs=e=>$1.test(e),gu=e=>e.startsWith("onUpdate:"),en=Object.assign,bu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},A1=Object.prototype.hasOwnProperty,it=(e,t)=>A1.call(e,t),Ye=Array.isArray,pa=e=>Fa(e)==="[object Map]",Ds=e=>Fa(e)==="[object Set]",tf=e=>Fa(e)==="[object Date]",Je=e=>typeof e=="function",Qe=e=>typeof e=="string",Ci=e=>typeof e=="symbol",ut=e=>e!==null&&typeof e=="object",Vr=e=>ut(e)&&Je(e.then)&&Je(e.catch),Lg=Object.prototype.toString,Fa=e=>Lg.call(e),Nl=e=>Fa(e).slice(8,-1),Vg=e=>Fa(e)==="[object Object]",vu=e=>Qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ml=mu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ls=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E1=/-(\w)/g,Bn=Ls(e=>e.replace(E1,(t,n)=>n?n.toUpperCase():"")),z1=/\B([A-Z])/g,fr=Ls(e=>e.replace(z1,"-$1").toLowerCase()),kn=Ls(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rl=Ls(e=>e?`on${kn(e)}`:""),Si=(e,t)=>!Object.is(e,t),Pl=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ps=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let nf;const I1=()=>nf||(nf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let wn;class Bg{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&wn&&(this.parent=wn,this.index=(wn.scopes||(wn.scopes=[])).push(this)-1)}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{const t=new Set(e);return t.w=0,t.n=0,t},Hg=e=>(e.w&cr)>0,qg=e=>(e.n&cr)>0,P1=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{(c==="length"||c>=o)&&l.push(s)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":Ye(e)?vu(n)&&l.push(i.get("length")):(l.push(i.get(Mr)),pa(e)&&l.push(i.get(ad)));break;case"delete":Ye(e)||(l.push(i.get(Mr)),pa(e)&&l.push(i.get(ad)));break;case"set":pa(e)&&l.push(i.get(Mr));break}if(l.length===1)l[0]&&id(l[0]);else{const s=[];for(const c of l)c&&s.push(...c);id(yu(s))}}function id(e,t){const n=Ye(e)?e:[...e];for(const o of n)o.computed&&rf(o);for(const o of n)o.computed||rf(o)}function rf(e,t){(e!==Qn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const F1=mu("__proto__,__v_isRef,__isVue"),Ug=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ci)),D1=wu(),L1=wu(!1,!0),V1=wu(!0),af=B1();function B1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=kt(this);for(let a=0,i=this.length;a{e[t]=function(...n){Kr();const o=kt(this)[t].apply(this,n);return Wr(),o}}),e}function wu(e=!1,t=!1){return function(o,r,a){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&a===(e?t?ow:Jg:t?Zg:Xg).get(o))return o;const i=Ye(o);if(!e&&i&&it(af,r))return Reflect.get(af,r,a);const l=Reflect.get(o,r,a);return(Ci(r)?Ug.has(r):F1(r))||(e||zn(o,"get",r),t)?l:Vt(l)?i&&vu(r)?l:l.value:ut(l)?e?Zi(l):vt(l):l}}const j1=Yg(),H1=Yg(!0);function Yg(e=!1){return function(n,o,r,a){let i=n[o];if($i(i)&&Vt(i)&&!Vt(r))return!1;if(!e&&!$i(r)&&(ld(r)||(r=kt(r),i=kt(i)),!Ye(n)&&Vt(i)&&!Vt(r)))return i.value=r,!0;const l=Ye(n)&&vu(o)?Number(o)e,Vs=e=>Reflect.getPrototypeOf(e);function fl(e,t,n=!1,o=!1){e=e.__v_raw;const r=kt(e),a=kt(t);n||(t!==a&&zn(r,"get",t),zn(r,"get",a));const{has:i}=Vs(r),l=o?xu:n?Cu:Ei;if(i.call(r,t))return l(e.get(t));if(i.call(r,a))return l(e.get(a));e!==r&&e.get(t)}function hl(e,t=!1){const n=this.__v_raw,o=kt(n),r=kt(e);return t||(e!==r&&zn(o,"has",e),zn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function ml(e,t=!1){return e=e.__v_raw,!t&&zn(kt(e),"iterate",Mr),Reflect.get(e,"size",e)}function lf(e){e=kt(e);const t=kt(this);return Vs(t).has.call(t,e)||(t.add(e),Io(t,"add",e,e)),this}function sf(e,t){t=kt(t);const n=kt(this),{has:o,get:r}=Vs(n);let a=o.call(n,e);a||(e=kt(e),a=o.call(n,e));const i=r.call(n,e);return n.set(e,t),a?Si(t,i)&&Io(n,"set",e,t):Io(n,"add",e,t),this}function cf(e){const t=kt(this),{has:n,get:o}=Vs(t);let r=n.call(t,e);r||(e=kt(e),r=n.call(t,e)),o&&o.call(t,e);const a=t.delete(e);return r&&Io(t,"delete",e,void 0),a}function df(){const e=kt(this),t=e.size!==0,n=e.clear();return t&&Io(e,"clear",void 0,void 0),n}function gl(e,t){return function(o,r){const a=this,i=a.__v_raw,l=kt(i),s=t?xu:e?Cu:Ei;return!e&&zn(l,"iterate",Mr),i.forEach((c,d)=>o.call(r,s(c),s(d),a))}}function bl(e,t,n){return function(...o){const r=this.__v_raw,a=kt(r),i=pa(a),l=e==="entries"||e===Symbol.iterator&&i,s=e==="keys"&&i,c=r[e](...o),d=n?xu:t?Cu:Ei;return!t&&zn(a,"iterate",s?ad:Mr),{next(){const{value:u,done:p}=c.next();return p?{value:u,done:p}:{value:l?[d(u[0]),d(u[1])]:d(u),done:p}},[Symbol.iterator](){return this}}}}function Wo(e){return function(...t){return e==="delete"?!1:this}}function G1(){const e={get(a){return fl(this,a)},get size(){return ml(this)},has:hl,add:lf,set:sf,delete:cf,clear:df,forEach:gl(!1,!1)},t={get(a){return fl(this,a,!1,!0)},get size(){return ml(this)},has:hl,add:lf,set:sf,delete:cf,clear:df,forEach:gl(!1,!0)},n={get(a){return fl(this,a,!0)},get size(){return ml(this,!0)},has(a){return hl.call(this,a,!0)},add:Wo("add"),set:Wo("set"),delete:Wo("delete"),clear:Wo("clear"),forEach:gl(!0,!1)},o={get(a){return fl(this,a,!0,!0)},get size(){return ml(this,!0)},has(a){return hl.call(this,a,!0)},add:Wo("add"),set:Wo("set"),delete:Wo("delete"),clear:Wo("clear"),forEach:gl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=bl(a,!1,!1),n[a]=bl(a,!0,!1),t[a]=bl(a,!1,!0),o[a]=bl(a,!0,!0)}),[e,n,t,o]}const[X1,Z1,J1,Q1]=G1();function ku(e,t){const n=t?e?Q1:J1:e?Z1:X1;return(o,r,a)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(it(n,r)&&r in o?n:o,r,a)}const ew={get:ku(!1,!1)},tw={get:ku(!1,!0)},nw={get:ku(!0,!1)},Xg=new WeakMap,Zg=new WeakMap,Jg=new WeakMap,ow=new WeakMap;function rw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function aw(e){return e.__v_skip||!Object.isExtensible(e)?0:rw(Nl(e))}function vt(e){return $i(e)?e:Tu(e,!1,Gg,ew,Xg)}function iw(e){return Tu(e,!1,Y1,tw,Zg)}function Zi(e){return Tu(e,!0,U1,nw,Jg)}function Tu(e,t,n,o,r){if(!ut(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const i=aw(e);if(i===0)return e;const l=new Proxy(e,i===2?o:n);return r.set(e,l),l}function fa(e){return $i(e)?fa(e.__v_raw):!!(e&&e.__v_isReactive)}function $i(e){return!!(e&&e.__v_isReadonly)}function ld(e){return!!(e&&e.__v_isShallow)}function Qg(e){return fa(e)||$i(e)}function kt(e){const t=e&&e.__v_raw;return t?kt(t):e}function Ai(e){return us(e,"__v_skip",!0),e}const Ei=e=>ut(e)?vt(e):e,Cu=e=>ut(e)?Zi(e):e;function eb(e){ir&&Qn&&(e=kt(e),Wg(e.dep||(e.dep=yu())))}function Su(e,t){e=kt(e),e.dep&&id(e.dep)}function Vt(e){return!!(e&&e.__v_isRef===!0)}function A(e){return tb(e,!1)}function Kt(e){return tb(e,!0)}function tb(e,t){return Vt(e)?e:new lw(e,t)}class lw{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:kt(t),this._value=n?t:Ei(t)}get value(){return eb(this),this._value}set value(t){t=this.__v_isShallow?t:kt(t),Si(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ei(t),Su(this))}}function Xa(e){Su(e)}function _(e){return Vt(e)?e.value:e}const sw={get:(e,t,n)=>_(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Vt(r)&&!Vt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function fs(e){return fa(e)?e:new Proxy(e,sw)}function Gt(e){const t=Ye(e)?new Array(e.length):{};for(const n in e)t[n]=Yt(e,n);return t}class cw{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}}function Yt(e,t,n){const o=e[t];return Vt(o)?o:new cw(e,t,n)}class dw{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new _u(t,()=>{this._dirty||(this._dirty=!0,Su(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=kt(this);return eb(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function uw(e,t,n=!1){let o,r;const a=Je(e);return a?(o=e,r=wt):(o=e.get,r=e.set),new dw(o,r,a||!r,n)}const ci=[];function pw(e,...t){Kr();const n=ci.length?ci[ci.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=fw();if(o)Ao(o,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:a})=>`at <${Mb(n,a.type)}>`).join(` `),r]);else{const a=[`[Vue warn]: ${e}`,...t];r.length&&a.push(` `,...hw(r)),console.warn(...a)}Wr()}function fw(){let e=ci[ci.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function hw(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` -`],...mw(n))}),t}function mw({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${Mb(e.component,e.type,o)}`,a=">"+n;return e.props?[r,...gw(e.props),a]:[r+a]}function gw(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...ob(o,e[o]))}),n.length>3&&t.push(" ..."),t}function ob(e,t,n){return Qe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Vt(t)?(t=ob(e,kt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Je(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=kt(t),n?t:[`${e}=`,t])}function Ao(e,t,n,o){let r;try{r=o?e(...o):e()}catch(a){Bs(a,t,n)}return r}function Fn(e,t,n,o){if(Je(e)){const a=Ao(e,t,n,o);return a&&Vr(a)&&a.catch(i=>{Bs(i,t,n)}),a}const r=[];for(let a=0;a>>1;zi(Tn[o])So&&Tn.splice(t,1)}function lb(e,t,n,o){Ye(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?o+1:o))&&n.push(e),ib()}function _w(e){lb(e,ai,di,aa)}function ww(e){lb(e,Zo,ui,ia)}function js(e,t=null){if(di.length){for(dd=t,ai=[...new Set(di)],di.length=0,aa=0;aazi(n)-zi(o)),ia=0;iae.id==null?1/0:e.id;function cb(e){cd=!1,hs=!0,js(e),Tn.sort((n,o)=>zi(n)-zi(o));const t=wt;try{for(So=0;Sof.trim())),u&&(r=n.map(ps))}let l,s=o[l=Rl(t)]||o[l=Rl(Bn(t))];!s&&a&&(s=o[l=Rl(fr(t))]),s&&Fn(s,e,6,r);const c=o[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fn(c,e,6,r)}}function db(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const a=e.emits;let i={},l=!1;if(!Je(e)){const s=c=>{const d=db(c,t,!0);d&&(l=!0,en(i,d))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!a&&!l?(o.set(e,null),null):(Ye(a)?a.forEach(s=>i[s]=null):en(i,a),o.set(e,i),i)}function Hs(e,t){return!e||!Fs(t)?!1:(t=t.slice(2).replace(/Once$/,""),lt(e,t[0].toLowerCase()+t.slice(1))||lt(e,fr(t))||lt(e,t))}let ln=null,qs=null;function ms(e){const t=ln;return ln=e,qs=e&&e.type.__scopeId||null,t}function kw(e){qs=e}function Tw(){qs=null}function K(e,t=ln,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&kf(-1);const a=ms(t),i=e(...r);return ms(a),o._d&&kf(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function vc(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:a,propsOptions:[i],slots:l,attrs:s,emit:c,render:d,renderCache:u,data:p,setupState:f,ctx:h,inheritAttrs:b}=e;let m,g;const v=ms(e);try{if(n.shapeFlag&4){const T=r||o;m=mo(d.call(T,T,u,a,f,p,h)),g=s}else{const T=t;m=mo(T.length>1?T(a,{attrs:s,slots:l,emit:c}):T(a,null)),g=t.props?s:Cw(s)}}catch(T){hi.length=0,Bs(T,e,1),m=U(dn)}let y=m;if(g&&b!==!1){const T=Object.keys(g),{shapeFlag:x}=y;T.length&&x&7&&(i&&T.some(bu)&&(g=Sw(g,i)),y=No(y,g))}return n.dirs&&(y=No(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),m=y,ms(v),m}const Cw=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fs(n))&&((t||(t={}))[n]=e[n]);return t},Sw=(e,t)=>{const n={};for(const o in e)(!bu(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function $w(e,t,n){const{props:o,children:r,component:a}=e,{props:i,children:l,patchFlag:s}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return o?pf(o,i,c):!!i;if(s&8){const d=t.dynamicProps;for(let u=0;ue.__isSuspense;function zw(e,t){t&&t.pendingBranch?Ye(e)?t.effects.push(...e):t.effects.push(e):ww(e)}function ot(e,t){if(Qt){let n=Qt.provides;const o=Qt.parent&&Qt.parent.provides;o===n&&(n=Qt.provides=Object.create(o)),n[e]=t}}function Ie(e,t,n=!1){const o=Qt||ln;if(o){const r=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Je(t)?t.call(o.proxy):t}}function Dn(e,t){return Eu(e,null,t)}const ff={};function ge(e,t,n){return Eu(e,t,n)}function Eu(e,t,{immediate:n,deep:o,flush:r,onTrack:a,onTrigger:i}=Nt){const l=Qt;let s,c=!1,d=!1;if(Vt(e)?(s=()=>e.value,c=sd(e)):fa(e)?(s=()=>e,o=!0):Ye(e)?(d=!0,c=e.some(g=>fa(g)||sd(g)),s=()=>e.map(g=>{if(Vt(g))return g.value;if(fa(g))return Ar(g);if(Je(g))return Ao(g,l,2)})):Je(e)?t?s=()=>Ao(e,l,2):s=()=>{if(!(l&&l.isUnmounted))return u&&u(),Fn(e,l,3,[p])}:s=wt,t&&o){const g=s;s=()=>Ar(g())}let u,p=g=>{u=m.onStop=()=>{Ao(g,l,4)}};if(Ri)return p=wt,t?n&&Fn(t,l,3,[s(),d?[]:void 0,p]):s(),wt;let f=d?[]:ff;const h=()=>{if(!!m.active)if(t){const g=m.run();(o||c||(d?g.some((v,y)=>Si(v,f[y])):Si(g,f)))&&(u&&u(),Fn(t,l,3,[g,f===ff?void 0:f,p]),f=g)}else m.run()};h.allowRecurse=!!t;let b;r==="sync"?b=h:r==="post"?b=()=>fn(h,l&&l.suspense):b=()=>_w(h);const m=new wu(s,b);return t?n?h():f=m.run():r==="post"?fn(m.run.bind(m),l&&l.suspense):m.run(),()=>{m.stop(),l&&l.scope&&vu(l.scope.effects,m)}}function Iw(e,t,n){const o=this.proxy,r=Qe(e)?e.includes(".")?ub(o,e):()=>o[e]:e.bind(o,o);let a;Je(t)?a=t:(a=t.handler,n=t);const i=Qt;ya(this);const l=Eu(r,a.bind(o),n);return i?ya(i):Rr(),l}function ub(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r{Ar(n,t)});else if(Bg(e))for(const n in e)Ar(e[n],t);return e}function pb(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return et(()=>{e.isMounted=!0}),$t(()=>{e.isUnmounting=!0}),e}const Pn=[Function,Array],Nw={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pn,onEnter:Pn,onAfterEnter:Pn,onEnterCancelled:Pn,onBeforeLeave:Pn,onLeave:Pn,onAfterLeave:Pn,onLeaveCancelled:Pn,onBeforeAppear:Pn,onAppear:Pn,onAfterAppear:Pn,onAppearCancelled:Pn},setup(e,{slots:t}){const n=nt(),o=pb();let r;return()=>{const a=t.default&&zu(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const b of a)if(b.type!==dn){i=b;break}}const l=kt(e),{mode:s}=l;if(o.isLeaving)return yc(i);const c=hf(i);if(!c)return yc(i);const d=Ii(c,l,o,n);Ni(c,d);const u=n.subTree,p=u&&hf(u);let f=!1;const{getTransitionKey:h}=c.type;if(h){const b=h();r===void 0?r=b:b!==r&&(r=b,f=!0)}if(p&&p.type!==dn&&(!Cr(c,p)||f)){const b=Ii(p,l,o,n);if(Ni(p,b),s==="out-in")return o.isLeaving=!0,b.afterLeave=()=>{o.isLeaving=!1,n.update()},yc(i);s==="in-out"&&c.type!==dn&&(b.delayLeave=(m,g,v)=>{const y=hb(o,p);y[String(p.key)]=p,m._leaveCb=()=>{g(),m._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=v})}return i}}},fb=Nw;function hb(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 Ii(e,t,n,o){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:u,onLeave:p,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:b,onAppear:m,onAfterAppear:g,onAppearCancelled:v}=t,y=String(e.key),T=hb(n,e),x=(z,P)=>{z&&Fn(z,o,9,P)},k=(z,P)=>{const O=P[1];x(z,P),Ye(z)?z.every(D=>D.length<=1)&&O():z.length<=1&&O()},$={mode:a,persisted:i,beforeEnter(z){let P=l;if(!n.isMounted)if(r)P=b||l;else return;z._leaveCb&&z._leaveCb(!0);const O=T[y];O&&Cr(e,O)&&O.el._leaveCb&&O.el._leaveCb(),x(P,[z])},enter(z){let P=s,O=c,D=d;if(!n.isMounted)if(r)P=m||s,O=g||c,D=v||d;else return;let L=!1;const F=z._enterCb=V=>{L||(L=!0,V?x(D,[z]):x(O,[z]),$.delayedLeave&&$.delayedLeave(),z._enterCb=void 0)};P?k(P,[z,F]):F()},leave(z,P){const O=String(e.key);if(z._enterCb&&z._enterCb(!0),n.isUnmounting)return P();x(u,[z]);let D=!1;const L=z._leaveCb=F=>{D||(D=!0,P(),F?x(h,[z]):x(f,[z]),z._leaveCb=void 0,T[O]===e&&delete T[O])};T[O]=e,p?k(p,[z,L]):L()},clone(z){return Ii(z,t,n,o)}};return $}function yc(e){if(Ks(e))return e=No(e),e.children=null,e}function hf(e){return Ks(e)?e.children?e.children[0]:void 0:e}function Ni(e,t){e.shapeFlag&6&&e.component?Ni(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 zu(e,t=!1,n){let o=[],r=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader,Ks=e=>e.type.__isKeepAlive;function Mw(e,t){mb(e,"a",t)}function Rw(e,t){mb(e,"da",t)}function mb(e,t,n=Qt){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ws(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Ks(r.parent.vnode)&&Pw(o,t,n,r),r=r.parent}}function Pw(e,t,n,o){const r=Ws(t,e,o,!0);Qi(()=>{vu(o[t],r)},n)}function Ws(e,t,n=Qt,o=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Kr(),ya(n);const l=Fn(t,n,e,i);return Rr(),Wr(),l});return o?r.unshift(a):r.push(a),a}}const Lo=e=>(t,n=Qt)=>(!Ri||e==="sp")&&Ws(e,t,n),Ji=Lo("bm"),et=Lo("m"),gb=Lo("bu"),Un=Lo("u"),$t=Lo("bum"),Qi=Lo("um"),Ow=Lo("sp"),Fw=Lo("rtg"),Dw=Lo("rtc");function Lw(e,t=Qt){Ws("ec",e,t)}function Ue(e,t){const n=ln;if(n===null)return e;const o=Ys(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let a=0;at(i,l,void 0,a&&a[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,s=i.length;ljt(t)?!(t.type===dn||t.type===Fe&&!vb(t.children)):!0)?e:null}function Bw(e){const t={};for(const n in e)t[Rl(n)]=e[n];return t}const ud=e=>e?Eb(e)?Ys(e)||e.proxy:ud(e.parent):null,gs=en(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=>ud(e.parent),$root:e=>ud(e.root),$emit:e=>e.emit,$options:e=>_b(e),$forceUpdate:e=>e.f||(e.f=()=>ab(e.update)),$nextTick:e=>e.n||(e.n=je.bind(e.proxy)),$watch:e=>Iw.bind(e)}),jw={get({_:e},t){const{ctx:n,setupState:o,data:r,props:a,accessCache:i,type:l,appContext:s}=e;let c;if(t[0]!=="$"){const f=i[t];if(f!==void 0)switch(f){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if(o!==Nt&<(o,t))return i[t]=1,o[t];if(r!==Nt&<(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&<(c,t))return i[t]=3,a[t];if(n!==Nt&<(n,t))return i[t]=4,n[t];pd&&(i[t]=0)}}const d=gs[t];let u,p;if(d)return t==="$attrs"&&zn(e,"get",t),d(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==Nt&<(n,t))return i[t]=4,n[t];if(p=s.config.globalProperties,lt(p,t))return p[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:a}=e;return r!==Nt&<(r,t)?(r[t]=n,!0):o!==Nt&<(o,t)?(o[t]=n,!0):lt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:a}},i){let l;return!!n[i]||e!==Nt&<(e,i)||t!==Nt&<(t,i)||(l=a[0])&<(l,i)||lt(o,i)||lt(gs,i)||lt(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:lt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let pd=!0;function Hw(e){const t=_b(e),n=e.proxy,o=e.ctx;pd=!1,t.beforeCreate&&gf(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:i,watch:l,provide:s,inject:c,created:d,beforeMount:u,mounted:p,beforeUpdate:f,updated:h,activated:b,deactivated:m,beforeDestroy:g,beforeUnmount:v,destroyed:y,unmounted:T,render:x,renderTracked:k,renderTriggered:$,errorCaptured:z,serverPrefetch:P,expose:O,inheritAttrs:D,components:L,directives:F,filters:V}=t;if(c&&qw(c,o,null,e.appContext.config.unwrapInjectedRef),i)for(const E in i){const N=i[E];Je(N)&&(o[E]=N.bind(n))}if(r){const E=r.call(n,n);ut(E)&&(e.data=vt(E))}if(pd=!0,a)for(const E in a){const N=a[E],W=Je(N)?N.bind(n,n):Je(N.get)?N.get.bind(n,n):wt,Y=!Je(N)&&Je(N.set)?N.set.bind(n):wt,J=C({get:W,set:Y});Object.defineProperty(o,E,{enumerable:!0,configurable:!0,get:()=>J.value,set:Z=>J.value=Z})}if(l)for(const E in l)yb(l[E],o,n,E);if(s){const E=Je(s)?s.call(n):s;Reflect.ownKeys(E).forEach(N=>{ot(N,E[N])})}d&&gf(d,e,"c");function R(E,N){Ye(N)?N.forEach(W=>E(W.bind(n))):N&&E(N.bind(n))}if(R(Ji,u),R(et,p),R(gb,f),R(Un,h),R(Mw,b),R(Rw,m),R(Lw,z),R(Dw,k),R(Fw,$),R($t,v),R(Qi,T),R(Ow,P),Ye(O))if(O.length){const E=e.exposed||(e.exposed={});O.forEach(N=>{Object.defineProperty(E,N,{get:()=>n[N],set:W=>n[N]=W})})}else e.exposed||(e.exposed={});x&&e.render===wt&&(e.render=x),D!=null&&(e.inheritAttrs=D),L&&(e.components=L),F&&(e.directives=F)}function qw(e,t,n=wt,o=!1){Ye(e)&&(e=fd(e));for(const r in e){const a=e[r];let i;ut(a)?"default"in a?i=Ie(a.from||r,a.default,!0):i=Ie(a.from||r):i=Ie(a),Vt(i)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function gf(e,t,n){Fn(Ye(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function yb(e,t,n,o){const r=o.includes(".")?ub(n,o):()=>n[o];if(Qe(e)){const a=t[e];Je(a)&&ge(r,a)}else if(Je(e))ge(r,e.bind(n));else if(ut(e))if(Ye(e))e.forEach(a=>yb(a,t,n,o));else{const a=Je(e.handler)?e.handler.bind(n):t[e.handler];Je(a)&&ge(r,a,e)}}function _b(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,l=a.get(t);let s;return l?s=l:!r.length&&!n&&!o?s=t:(s={},r.length&&r.forEach(c=>bs(s,c,i,!0)),bs(s,t,i)),a.set(t,s),s}function bs(e,t,n,o=!1){const{mixins:r,extends:a}=t;a&&bs(e,a,n,!0),r&&r.forEach(i=>bs(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const l=Kw[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Kw={data:bf,props:xr,emits:xr,methods:xr,computed:xr,beforeCreate:cn,created:cn,beforeMount:cn,mounted:cn,beforeUpdate:cn,updated:cn,beforeDestroy:cn,beforeUnmount:cn,destroyed:cn,unmounted:cn,activated:cn,deactivated:cn,errorCaptured:cn,serverPrefetch:cn,components:xr,directives:xr,watch:Uw,provide:bf,inject:Ww};function bf(e,t){return t?e?function(){return en(Je(e)?e.call(this,this):e,Je(t)?t.call(this,this):t)}:t:e}function Ww(e,t){return xr(fd(e),fd(t))}function fd(e){if(Ye(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let u=0;u{s=!0;const[p,f]=xb(u,t,!0);en(i,p),f&&l.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!a&&!s)return o.set(e,ua),ua;if(Ye(a))for(let d=0;d-1,f[1]=b<0||h-1||lt(f,"default"))&&l.push(u)}}}const c=[i,l];return o.set(e,c),c}function vf(e){return e[0]!=="$"}function yf(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function _f(e,t){return yf(e)===yf(t)}function wf(e,t){return Ye(t)?t.findIndex(n=>_f(n,e)):Je(t)&&_f(t,e)?0:-1}const kb=e=>e[0]==="_"||e==="$stable",Mu=e=>Ye(e)?e.map(mo):[mo(e)],Xw=(e,t,n)=>{if(t._n)return t;const o=K((...r)=>Mu(t(...r)),n);return o._c=!1,o},Tb=(e,t,n)=>{const o=e._ctx;for(const r in e){if(kb(r))continue;const a=e[r];if(Je(a))t[r]=Xw(r,a,o);else if(a!=null){const i=Mu(a);t[r]=()=>i}}},Cb=(e,t)=>{const n=Mu(t);e.slots.default=()=>n},Zw=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=kt(t),us(t,"_",n)):Tb(t,e.slots={})}else e.slots={},t&&Cb(e,t);us(e.slots,Us,1)},Jw=(e,t,n)=>{const{vnode:o,slots:r}=e;let a=!0,i=Nt;if(o.shapeFlag&32){const l=t._;l?n&&l===1?a=!1:(en(r,t),!n&&l===1&&delete r._):(a=!t.$stable,Tb(t,r)),i=t}else t&&(Cb(e,t),i={default:1});if(a)for(const l in r)!kb(l)&&!(l in i)&&delete r[l]};function Sb(){return{app:null,config:{isNativeTag:S1,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 Qw=0;function ex(e,t){return function(o,r=null){Je(o)||(o=Object.assign({},o)),r!=null&&!ut(r)&&(r=null);const a=Sb(),i=new Set;let l=!1;const s=a.app={_uid:Qw++,_component:o,_props:r,_container:null,_context:a,_instance:null,version:vx,get config(){return a.config},set config(c){},use(c,...d){return i.has(c)||(c&&Je(c.install)?(i.add(c),c.install(s,...d)):Je(c)&&(i.add(c),c(s,...d))),s},mixin(c){return a.mixins.includes(c)||a.mixins.push(c),s},component(c,d){return d?(a.components[c]=d,s):a.components[c]},directive(c,d){return d?(a.directives[c]=d,s):a.directives[c]},mount(c,d,u){if(!l){const p=U(o,r);return p.appContext=a,d&&t?t(p,c):e(p,c,u),l=!0,s._container=c,c.__vue_app__=s,Ys(p.component)||p.component.proxy}},unmount(){l&&(e(null,s._container),delete s._container.__vue_app__)},provide(c,d){return a.provides[c]=d,s}};return s}}function md(e,t,n,o,r=!1){if(Ye(e)){e.forEach((p,f)=>md(p,t&&(Ye(t)?t[f]:t),n,o,r));return}if(pi(o)&&!r)return;const a=o.shapeFlag&4?Ys(o.component)||o.component.proxy:o.el,i=r?null:a,{i:l,r:s}=e,c=t&&t.r,d=l.refs===Nt?l.refs={}:l.refs,u=l.setupState;if(c!=null&&c!==s&&(Qe(c)?(d[c]=null,lt(u,c)&&(u[c]=null)):Vt(c)&&(c.value=null)),Je(s))Ao(s,l,12,[i,d]);else{const p=Qe(s),f=Vt(s);if(p||f){const h=()=>{if(e.f){const b=p?d[s]:s.value;r?Ye(b)&&vu(b,a):Ye(b)?b.includes(a)||b.push(a):p?(d[s]=[a],lt(u,s)&&(u[s]=d[s])):(s.value=[a],e.k&&(d[e.k]=s.value))}else p?(d[s]=i,lt(u,s)&&(u[s]=i)):f&&(s.value=i,e.k&&(d[e.k]=i))};i?(h.id=-1,fn(h,n)):h()}}}const fn=zw;function tx(e){return nx(e)}function nx(e,t){const n=I1();n.__VUE__=!0;const{insert:o,remove:r,patchProp:a,createElement:i,createText:l,createComment:s,setText:c,setElementText:d,parentNode:u,nextSibling:p,setScopeId:f=wt,cloneNode:h,insertStaticContent:b}=e,m=(j,X,de,xe=null,we=null,Ae=null,ce=!1,ae=null,te=!!X.dynamicChildren)=>{if(j===X)return;j&&!Cr(j,X)&&(xe=ie(j),se(j,we,Ae,!0),j=null),X.patchFlag===-2&&(te=!1,X.dynamicChildren=null);const{type:pe,ref:De,shapeFlag:B}=X;switch(pe){case tl:g(j,X,de,xe);break;case dn:v(j,X,de,xe);break;case _c:j==null&&y(X,de,xe,ce);break;case Fe:F(j,X,de,xe,we,Ae,ce,ae,te);break;default:B&1?k(j,X,de,xe,we,Ae,ce,ae,te):B&6?V(j,X,de,xe,we,Ae,ce,ae,te):(B&64||B&128)&&pe.process(j,X,de,xe,we,Ae,ce,ae,te,$e)}De!=null&&we&&md(De,j&&j.ref,Ae,X||j,!X)},g=(j,X,de,xe)=>{if(j==null)o(X.el=l(X.children),de,xe);else{const we=X.el=j.el;X.children!==j.children&&c(we,X.children)}},v=(j,X,de,xe)=>{j==null?o(X.el=s(X.children||""),de,xe):X.el=j.el},y=(j,X,de,xe)=>{[j.el,j.anchor]=b(j.children,X,de,xe,j.el,j.anchor)},T=({el:j,anchor:X},de,xe)=>{let we;for(;j&&j!==X;)we=p(j),o(j,de,xe),j=we;o(X,de,xe)},x=({el:j,anchor:X})=>{let de;for(;j&&j!==X;)de=p(j),r(j),j=de;r(X)},k=(j,X,de,xe,we,Ae,ce,ae,te)=>{ce=ce||X.type==="svg",j==null?$(X,de,xe,we,Ae,ce,ae,te):O(j,X,we,Ae,ce,ae,te)},$=(j,X,de,xe,we,Ae,ce,ae)=>{let te,pe;const{type:De,props:B,shapeFlag:me,transition:Be,patchFlag:Ze,dirs:Ve}=j;if(j.el&&h!==void 0&&Ze===-1)te=j.el=h(j.el);else{if(te=j.el=i(j.type,Ae,B&&B.is,B),me&8?d(te,j.children):me&16&&P(j.children,te,null,xe,we,Ae&&De!=="foreignObject",ce,ae),Ve&&br(j,null,xe,"created"),B){for(const ye in B)ye!=="value"&&!Ml(ye)&&a(te,ye,null,B[ye],Ae,j.children,xe,we,ne);"value"in B&&a(te,"value",null,B.value),(pe=B.onVnodeBeforeMount)&&ho(pe,xe,j)}z(te,j,j.scopeId,ce,xe)}Ve&&br(j,null,xe,"beforeMount");const re=(!we||we&&!we.pendingBranch)&&Be&&!Be.persisted;re&&Be.beforeEnter(te),o(te,X,de),((pe=B&&B.onVnodeMounted)||re||Ve)&&fn(()=>{pe&&ho(pe,xe,j),re&&Be.enter(te),Ve&&br(j,null,xe,"mounted")},we)},z=(j,X,de,xe,we)=>{if(de&&f(j,de),xe)for(let Ae=0;Ae{for(let pe=te;pe{const ae=X.el=j.el;let{patchFlag:te,dynamicChildren:pe,dirs:De}=X;te|=j.patchFlag&16;const B=j.props||Nt,me=X.props||Nt;let Be;de&&vr(de,!1),(Be=me.onVnodeBeforeUpdate)&&ho(Be,de,X,j),De&&br(X,j,de,"beforeUpdate"),de&&vr(de,!0);const Ze=we&&X.type!=="foreignObject";if(pe?D(j.dynamicChildren,pe,ae,de,xe,Ze,Ae):ce||W(j,X,ae,null,de,xe,Ze,Ae,!1),te>0){if(te&16)L(ae,X,B,me,de,xe,we);else if(te&2&&B.class!==me.class&&a(ae,"class",null,me.class,we),te&4&&a(ae,"style",B.style,me.style,we),te&8){const Ve=X.dynamicProps;for(let re=0;re{Be&&ho(Be,de,X,j),De&&br(X,j,de,"updated")},xe)},D=(j,X,de,xe,we,Ae,ce)=>{for(let ae=0;ae{if(de!==xe){for(const ae in xe){if(Ml(ae))continue;const te=xe[ae],pe=de[ae];te!==pe&&ae!=="value"&&a(j,ae,pe,te,ce,X.children,we,Ae,ne)}if(de!==Nt)for(const ae in de)!Ml(ae)&&!(ae in xe)&&a(j,ae,de[ae],null,ce,X.children,we,Ae,ne);"value"in xe&&a(j,"value",de.value,xe.value)}},F=(j,X,de,xe,we,Ae,ce,ae,te)=>{const pe=X.el=j?j.el:l(""),De=X.anchor=j?j.anchor:l("");let{patchFlag:B,dynamicChildren:me,slotScopeIds:Be}=X;Be&&(ae=ae?ae.concat(Be):Be),j==null?(o(pe,de,xe),o(De,de,xe),P(X.children,de,De,we,Ae,ce,ae,te)):B>0&&B&64&&me&&j.dynamicChildren?(D(j.dynamicChildren,me,de,we,Ae,ce,ae),(X.key!=null||we&&X===we.subTree)&&Ru(j,X,!0)):W(j,X,de,De,we,Ae,ce,ae,te)},V=(j,X,de,xe,we,Ae,ce,ae,te)=>{X.slotScopeIds=ae,j==null?X.shapeFlag&512?we.ctx.activate(X,de,xe,ce,te):q(X,de,xe,we,Ae,ce,te):R(j,X,te)},q=(j,X,de,xe,we,Ae,ce)=>{const ae=j.component=ux(j,xe,we);if(Ks(j)&&(ae.ctx.renderer=$e),px(ae),ae.asyncDep){if(we&&we.registerDep(ae,E),!j.el){const te=ae.subTree=U(dn);v(null,te,X,de)}return}E(ae,j,X,de,we,Ae,ce)},R=(j,X,de)=>{const xe=X.component=j.component;if($w(j,X,de))if(xe.asyncDep&&!xe.asyncResolved){N(xe,X,de);return}else xe.next=X,yw(xe.update),xe.update();else X.el=j.el,xe.vnode=X},E=(j,X,de,xe,we,Ae,ce)=>{const ae=()=>{if(j.isMounted){let{next:De,bu:B,u:me,parent:Be,vnode:Ze}=j,Ve=De,re;vr(j,!1),De?(De.el=Ze.el,N(j,De,ce)):De=Ze,B&&Pl(B),(re=De.props&&De.props.onVnodeBeforeUpdate)&&ho(re,Be,De,Ze),vr(j,!0);const ye=vc(j),fe=j.subTree;j.subTree=ye,m(fe,ye,u(fe.el),ie(fe),j,we,Ae),De.el=ye.el,Ve===null&&Aw(j,ye.el),me&&fn(me,we),(re=De.props&&De.props.onVnodeUpdated)&&fn(()=>ho(re,Be,De,Ze),we)}else{let De;const{el:B,props:me}=X,{bm:Be,m:Ze,parent:Ve}=j,re=pi(X);if(vr(j,!1),Be&&Pl(Be),!re&&(De=me&&me.onVnodeBeforeMount)&&ho(De,Ve,X),vr(j,!0),B&&Me){const ye=()=>{j.subTree=vc(j),Me(B,j.subTree,j,we,null)};re?X.type.__asyncLoader().then(()=>!j.isUnmounted&&ye()):ye()}else{const ye=j.subTree=vc(j);m(null,ye,de,xe,j,we,Ae),X.el=ye.el}if(Ze&&fn(Ze,we),!re&&(De=me&&me.onVnodeMounted)){const ye=X;fn(()=>ho(De,Ve,ye),we)}(X.shapeFlag&256||Ve&&pi(Ve.vnode)&&Ve.vnode.shapeFlag&256)&&j.a&&fn(j.a,we),j.isMounted=!0,X=de=xe=null}},te=j.effect=new wu(ae,()=>ab(pe),j.scope),pe=j.update=()=>te.run();pe.id=j.uid,vr(j,!0),pe()},N=(j,X,de)=>{X.component=j;const xe=j.vnode.props;j.vnode=X,j.next=null,Gw(j,X.props,xe,de),Jw(j,X.children,de),Kr(),js(void 0,j.update),Wr()},W=(j,X,de,xe,we,Ae,ce,ae,te=!1)=>{const pe=j&&j.children,De=j?j.shapeFlag:0,B=X.children,{patchFlag:me,shapeFlag:Be}=X;if(me>0){if(me&128){J(pe,B,de,xe,we,Ae,ce,ae,te);return}else if(me&256){Y(pe,B,de,xe,we,Ae,ce,ae,te);return}}Be&8?(De&16&&ne(pe,we,Ae),B!==pe&&d(de,B)):De&16?Be&16?J(pe,B,de,xe,we,Ae,ce,ae,te):ne(pe,we,Ae,!0):(De&8&&d(de,""),Be&16&&P(B,de,xe,we,Ae,ce,ae,te))},Y=(j,X,de,xe,we,Ae,ce,ae,te)=>{j=j||ua,X=X||ua;const pe=j.length,De=X.length,B=Math.min(pe,De);let me;for(me=0;meDe?ne(j,we,Ae,!0,!1,B):P(X,de,xe,we,Ae,ce,ae,te,B)},J=(j,X,de,xe,we,Ae,ce,ae,te)=>{let pe=0;const De=X.length;let B=j.length-1,me=De-1;for(;pe<=B&&pe<=me;){const Be=j[pe],Ze=X[pe]=te?tr(X[pe]):mo(X[pe]);if(Cr(Be,Ze))m(Be,Ze,de,null,we,Ae,ce,ae,te);else break;pe++}for(;pe<=B&&pe<=me;){const Be=j[B],Ze=X[me]=te?tr(X[me]):mo(X[me]);if(Cr(Be,Ze))m(Be,Ze,de,null,we,Ae,ce,ae,te);else break;B--,me--}if(pe>B){if(pe<=me){const Be=me+1,Ze=Beme)for(;pe<=B;)se(j[pe],we,Ae,!0),pe++;else{const Be=pe,Ze=pe,Ve=new Map;for(pe=Ze;pe<=me;pe++){const _t=X[pe]=te?tr(X[pe]):mo(X[pe]);_t.key!=null&&Ve.set(_t.key,pe)}let re,ye=0;const fe=me-Ze+1;let Ee=!1,We=0;const gt=new Array(fe);for(pe=0;pe=fe){se(_t,we,Ae,!0);continue}let Et;if(_t.key!=null)Et=Ve.get(_t.key);else for(re=Ze;re<=me;re++)if(gt[re-Ze]===0&&Cr(_t,X[re])){Et=re;break}Et===void 0?se(_t,we,Ae,!0):(gt[Et-Ze]=pe+1,Et>=We?We=Et:Ee=!0,m(_t,X[Et],de,null,we,Ae,ce,ae,te),ye++)}const Ct=Ee?ox(gt):ua;for(re=Ct.length-1,pe=fe-1;pe>=0;pe--){const _t=Ze+pe,Et=X[_t],Rn=_t+1{const{el:Ae,type:ce,transition:ae,children:te,shapeFlag:pe}=j;if(pe&6){Z(j.component.subTree,X,de,xe);return}if(pe&128){j.suspense.move(X,de,xe);return}if(pe&64){ce.move(j,X,de,$e);return}if(ce===Fe){o(Ae,X,de);for(let B=0;Bae.enter(Ae),we);else{const{leave:B,delayLeave:me,afterLeave:Be}=ae,Ze=()=>o(Ae,X,de),Ve=()=>{B(Ae,()=>{Ze(),Be&&Be()})};me?me(Ae,Ze,Ve):Ve()}else o(Ae,X,de)},se=(j,X,de,xe=!1,we=!1)=>{const{type:Ae,props:ce,ref:ae,children:te,dynamicChildren:pe,shapeFlag:De,patchFlag:B,dirs:me}=j;if(ae!=null&&md(ae,null,de,j,!0),De&256){X.ctx.deactivate(j);return}const Be=De&1&&me,Ze=!pi(j);let Ve;if(Ze&&(Ve=ce&&ce.onVnodeBeforeUnmount)&&ho(Ve,X,j),De&6)H(j.component,de,xe);else{if(De&128){j.suspense.unmount(de,xe);return}Be&&br(j,null,X,"beforeUnmount"),De&64?j.type.remove(j,X,de,we,$e,xe):pe&&(Ae!==Fe||B>0&&B&64)?ne(pe,X,de,!1,!0):(Ae===Fe&&B&384||!we&&De&16)&&ne(te,X,de),xe&&Se(j)}(Ze&&(Ve=ce&&ce.onVnodeUnmounted)||Be)&&fn(()=>{Ve&&ho(Ve,X,j),Be&&br(j,null,X,"unmounted")},de)},Se=j=>{const{type:X,el:de,anchor:xe,transition:we}=j;if(X===Fe){oe(de,xe);return}if(X===_c){x(j);return}const Ae=()=>{r(de),we&&!we.persisted&&we.afterLeave&&we.afterLeave()};if(j.shapeFlag&1&&we&&!we.persisted){const{leave:ce,delayLeave:ae}=we,te=()=>ce(de,Ae);ae?ae(j.el,Ae,te):te()}else Ae()},oe=(j,X)=>{let de;for(;j!==X;)de=p(j),r(j),j=de;r(X)},H=(j,X,de)=>{const{bum:xe,scope:we,update:Ae,subTree:ce,um:ae}=j;xe&&Pl(xe),we.stop(),Ae&&(Ae.active=!1,se(ce,j,X,de)),ae&&fn(ae,X),fn(()=>{j.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&j.asyncDep&&!j.asyncResolved&&j.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},ne=(j,X,de,xe=!1,we=!1,Ae=0)=>{for(let ce=Ae;cej.shapeFlag&6?ie(j.component.subTree):j.shapeFlag&128?j.suspense.next():p(j.anchor||j.el),be=(j,X,de)=>{j==null?X._vnode&&se(X._vnode,null,null,!0):m(X._vnode||null,j,X,null,null,null,de),sb(),X._vnode=j},$e={p:m,um:se,m:Z,r:Se,mt:q,mc:P,pc:W,pbc:D,n:ie,o:e};let Ne,Me;return t&&([Ne,Me]=t($e)),{render:be,hydrate:Ne,createApp:ex(be,Ne)}}function vr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ru(e,t,n=!1){const o=e.children,r=t.children;if(Ye(o)&&Ye(r))for(let a=0;a>1,e[n[l]]0&&(t[o]=n[a-1]),n[a]=o)}}for(a=n.length,i=n[a-1];a-- >0;)n[a]=i,i=t[i];return n}const rx=e=>e.__isTeleport,fi=e=>e&&(e.disabled||e.disabled===""),xf=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,gd=(e,t)=>{const n=e&&e.to;return Qe(n)?t?t(n):null:n},ax={__isTeleport:!0,process(e,t,n,o,r,a,i,l,s,c){const{mc:d,pc:u,pbc:p,o:{insert:f,querySelector:h,createText:b,createComment:m}}=c,g=fi(t.props);let{shapeFlag:v,children:y,dynamicChildren:T}=t;if(e==null){const x=t.el=b(""),k=t.anchor=b("");f(x,n,o),f(k,n,o);const $=t.target=gd(t.props,h),z=t.targetAnchor=b("");$&&(f(z,$),i=i||xf($));const P=(O,D)=>{v&16&&d(y,O,D,r,a,i,l,s)};g?P(n,k):$&&P($,z)}else{t.el=e.el;const x=t.anchor=e.anchor,k=t.target=e.target,$=t.targetAnchor=e.targetAnchor,z=fi(e.props),P=z?n:k,O=z?x:$;if(i=i||xf(k),T?(p(e.dynamicChildren,T,P,r,a,i,l),Ru(e,t,!0)):s||u(e,t,P,O,r,a,i,l,!1),g)z||vl(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const D=t.target=gd(t.props,h);D&&vl(t,D,null,c,0)}else z&&vl(t,k,$,c,1)}},remove(e,t,n,o,{um:r,o:{remove:a}},i){const{shapeFlag:l,children:s,anchor:c,targetAnchor:d,target:u,props:p}=e;if(u&&a(d),(i||!fi(p))&&(a(c),l&16))for(let f=0;f0?to||ua:null,lx(),Mi>0&&to&&to.push(e),e}function I(e,t,n,o,r,a){return $b(M(e,t,n,o,r,a,!0))}function Q(e,t,n,o,r){return $b(U(e,t,n,o,r,!0))}function jt(e){return e?e.__v_isVNode===!0:!1}function Cr(e,t){return e.type===t.type&&e.key===t.key}const Us="__vInternal",Ab=({key:e})=>e!=null?e:null,Ol=({ref:e,ref_key:t,ref_for:n})=>e!=null?Qe(e)||Vt(e)||Je(e)?{i:ln,r:e,k:t,f:!!n}:e:null;function M(e,t=null,n=null,o=0,r=null,a=e===Fe?0:1,i=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ab(t),ref:t&&Ol(t),scopeId:qs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(Pu(s,n),a&128&&e.normalize(s)):n&&(s.shapeFlag|=Qe(n)?8:16),Mi>0&&!i&&to&&(s.patchFlag>0||a&6)&&s.patchFlag!==32&&to.push(s),s}const U=sx;function sx(e,t=null,n=null,o=0,r=null,a=!1){if((!e||e===bb)&&(e=dn),jt(e)){const l=No(e,t,!0);return n&&Pu(l,n),Mi>0&&!a&&to&&(l.shapeFlag&6?to[to.indexOf(e)]=l:to.push(l)),l.patchFlag|=-2,l}if(bx(e)&&(e=e.__vccOpts),t){t=ur(t);let{class:l,style:s}=t;l&&!Qe(l)&&(t.class=S(l)),ut(s)&&(eb(s)&&!Ye(s)&&(s=en({},s)),t.style=Oe(s))}const i=Qe(e)?1:Ew(e)?128:rx(e)?64:ut(e)?4:Je(e)?2:0;return M(e,t,n,o,r,i,a,!0)}function ur(e){return e?eb(e)||Us in e?en({},e):e:null}function No(e,t,n=!1){const{props:o,ref:r,patchFlag:a,children:i}=e,l=t?St(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ab(l),ref:t&&t.ref?n&&r?Ye(r)?r.concat(Ol(t)):[r,Ol(t)]:Ol(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&No(e.ssContent),ssFallback:e.ssFallback&&No(e.ssFallback),el:e.el,anchor:e.anchor}}function it(e=" ",t=0){return U(tl,null,e,t)}function G(e="",t=!1){return t?(w(),Q(dn,null,e)):U(dn,null,e)}function mo(e){return e==null||typeof e=="boolean"?U(dn):Ye(e)?U(Fe,null,e.slice()):typeof e=="object"?tr(e):U(tl,null,String(e))}function tr(e){return e.el===null||e.memo?e:No(e)}function Pu(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Ye(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Pu(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Us in t)?t._ctx=ln:r===3&&ln&&(ln.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Je(t)?(t={default:t,_ctx:ln},n=32):(t=String(t),o&64?(n=16,t=[it(t)]):n=8);e.children=t,e.shapeFlag|=n}function St(...e){const t={};for(let n=0;nQt||ln,ya=e=>{Qt=e,e.scope.on()},Rr=()=>{Qt&&Qt.scope.off(),Qt=null};function Eb(e){return e.vnode.shapeFlag&4}let Ri=!1;function px(e,t=!1){Ri=t;const{props:n,children:o}=e.vnode,r=Eb(e);Yw(e,n,r,t),Zw(e,o);const a=r?fx(e,t):void 0;return Ri=!1,a}function fx(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ai(new Proxy(e.ctx,jw));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?Ib(e):null;ya(e),Kr();const a=Ao(o,e,0,[e.props,r]);if(Wr(),Rr(),Vr(a)){if(a.then(Rr,Rr),t)return a.then(i=>{Tf(e,i,t)}).catch(i=>{Bs(i,e,0)});e.asyncDep=a}else Tf(e,a,t)}else zb(e,t)}function Tf(e,t,n){Je(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ut(t)&&(e.setupState=fs(t)),zb(e,n)}let Cf;function zb(e,t,n){const o=e.type;if(!e.render){if(!t&&Cf&&!o.render){const r=o.template;if(r){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:s}=o,c=en(en({isCustomElement:a,delimiters:l},i),s);o.render=Cf(r,c)}}e.render=o.render||wt}ya(e),Kr(),Hw(e),Wr(),Rr()}function hx(e){return new Proxy(e.attrs,{get(t,n){return zn(e,"get","$attrs"),t[n]}})}function Ib(e){const t=o=>{e.exposed=o||{}};let n;return{get attrs(){return n||(n=hx(e))},slots:e.slots,emit:e.emit,expose:t}}function Ys(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(fs(Ai(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in gs)return gs[n](e)}}))}const mx=/(?:^|[-_])(\w)/g,gx=e=>e.replace(mx,t=>t.toUpperCase()).replace(/[-_]/g,"");function Nb(e,t=!0){return Je(e)?e.displayName||e.name:e.name||t&&e.__name}function Mb(e,t,n=!1){let o=Nb(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=a=>{for(const i in a)if(a[i]===t)return i};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?gx(o):n?"App":"Anonymous"}function bx(e){return Je(e)&&"__vccOpts"in e}const C=(e,t)=>uw(e,t,Ri);function nl(){return Pb().slots}function Rb(){return Pb().attrs}function Pb(){const e=nt();return e.setupContext||(e.setupContext=Ib(e))}function Re(e,t,n){const o=arguments.length;return o===2?ut(t)&&!Ye(t)?jt(t)?U(e,null,[t]):U(e,t):U(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&jt(n)&&(n=[n]),U(e,t,n))}const vx="3.2.37",yx="http://www.w3.org/2000/svg",Sr=typeof document!="undefined"?document:null,Sf=Sr&&Sr.createElement("template"),_x={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?Sr.createElementNS(yx,e):Sr.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Sr.createTextNode(e),createComment:e=>Sr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Sr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o,r,a){const i=n?n.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===a||!(r=r.nextSibling)););else{Sf.innerHTML=o?`${e}`:e;const l=Sf.content;if(o){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function wx(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function xx(e,t,n){const o=e.style,r=Qe(n);if(n&&!r){for(const a in n)bd(o,a,n[a]);if(t&&!Qe(t))for(const a in t)n[a]==null&&bd(o,a,"")}else{const a=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=a)}}const $f=/\s*!important$/;function bd(e,t,n){if(Ye(n))n.forEach(o=>bd(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=kx(e,t);$f.test(n)?e.setProperty(fr(o),n.replace($f,""),"important"):e[o]=n}}const Af=["Webkit","Moz","ms"],wc={};function kx(e,t){const n=wc[t];if(n)return n;let o=Bn(t);if(o!=="filter"&&o in e)return wc[t]=o;o=kn(o);for(let r=0;r{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let vd=0;const $x=Promise.resolve(),Ax=()=>{vd=0},Ex=()=>vd||($x.then(Ax),vd=Ob());function or(e,t,n,o){e.addEventListener(t,n,o)}function zx(e,t,n,o){e.removeEventListener(t,n,o)}function Ix(e,t,n,o,r=null){const a=e._vei||(e._vei={}),i=a[t];if(o&&i)i.value=o;else{const[l,s]=Nx(t);if(o){const c=a[t]=Mx(o,r);or(e,l,c,s)}else i&&(zx(e,l,i,s),a[t]=void 0)}}const zf=/(?:Once|Passive|Capture)$/;function Nx(e){let t;if(zf.test(e)){t={};let n;for(;n=e.match(zf);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[fr(e.slice(2)),t]}function Mx(e,t){const n=o=>{const r=o.timeStamp||Ob();(Sx||r>=n.attached-1)&&Fn(Rx(o,n.value),t,5,[o])};return n.value=e,n.attached=Ex(),n}function Rx(e,t){if(Ye(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 If=/^on[a-z]/,Px=(e,t,n,o,r=!1,a,i,l,s)=>{t==="class"?wx(e,o,r):t==="style"?xx(e,n,o):Fs(t)?bu(t)||Ix(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ox(e,t,o,r))?Cx(e,t,o,a,i,l,s):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Tx(e,t,o,r))};function Ox(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&If.test(t)&&Je(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||If.test(t)&&Qe(n)?!1:t in e}const Uo="transition",Za="animation",qt=(e,{slots:t})=>Re(fb,Db(e),t);qt.displayName="Transition";const Fb={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},Fx=qt.props=en({},fb.props,Fb),yr=(e,t=[])=>{Ye(e)?e.forEach(n=>n(...t)):e&&e(...t)},Nf=e=>e?Ye(e)?e.some(t=>t.length>1):e.length>1:!1;function Db(e){const t={};for(const L in e)L in Fb||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=a,appearActiveClass:c=i,appearToClass:d=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=Dx(r),b=h&&h[0],m=h&&h[1],{onBeforeEnter:g,onEnter:v,onEnterCancelled:y,onLeave:T,onLeaveCancelled:x,onBeforeAppear:k=g,onAppear:$=v,onAppearCancelled:z=y}=t,P=(L,F,V)=>{Jo(L,F?d:l),Jo(L,F?c:i),V&&V()},O=(L,F)=>{L._isLeaving=!1,Jo(L,u),Jo(L,f),Jo(L,p),F&&F()},D=L=>(F,V)=>{const q=L?$:v,R=()=>P(F,L,V);yr(q,[F,R]),Mf(()=>{Jo(F,L?s:a),Co(F,L?d:l),Nf(q)||Rf(F,o,b,R)})};return en(t,{onBeforeEnter(L){yr(g,[L]),Co(L,a),Co(L,i)},onBeforeAppear(L){yr(k,[L]),Co(L,s),Co(L,c)},onEnter:D(!1),onAppear:D(!0),onLeave(L,F){L._isLeaving=!0;const V=()=>O(L,F);Co(L,u),Vb(),Co(L,p),Mf(()=>{!L._isLeaving||(Jo(L,u),Co(L,f),Nf(T)||Rf(L,o,m,V))}),yr(T,[L,V])},onEnterCancelled(L){P(L,!1),yr(y,[L])},onAppearCancelled(L){P(L,!0),yr(z,[L])},onLeaveCancelled(L){O(L),yr(x,[L])}})}function Dx(e){if(e==null)return null;if(ut(e))return[xc(e.enter),xc(e.leave)];{const t=xc(e);return[t,t]}}function xc(e){return ps(e)}function Co(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Jo(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Mf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Lx=0;function Rf(e,t,n,o){const r=e._endId=++Lx,a=()=>{r===e._endId&&o()};if(n)return setTimeout(a,n);const{type:i,timeout:l,propCount:s}=Lb(e,t);if(!i)return o();const c=i+"end";let d=0;const u=()=>{e.removeEventListener(c,p),a()},p=f=>{f.target===e&&++d>=s&&u()};setTimeout(()=>{d(n[h]||"").split(", "),r=o(Uo+"Delay"),a=o(Uo+"Duration"),i=Pf(r,a),l=o(Za+"Delay"),s=o(Za+"Duration"),c=Pf(l,s);let d=null,u=0,p=0;t===Uo?i>0&&(d=Uo,u=i,p=a.length):t===Za?c>0&&(d=Za,u=c,p=s.length):(u=Math.max(i,c),d=u>0?i>c?Uo:Za:null,p=d?d===Uo?a.length:s.length:0);const f=d===Uo&&/\b(transform|all)(,|$)/.test(n[Uo+"Property"]);return{type:d,timeout:u,propCount:p,hasTransform:f}}function Pf(e,t){for(;e.lengthOf(n)+Of(e[o])))}function Of(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Vb(){return document.body.offsetHeight}const Bb=new WeakMap,jb=new WeakMap,Vx={name:"TransitionGroup",props:en({},Fx,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=nt(),o=pb();let r,a;return Un(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Kx(r[0].el,n.vnode.el,i))return;r.forEach(jx),r.forEach(Hx);const l=r.filter(qx);Vb(),l.forEach(s=>{const c=s.el,d=c.style;Co(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const u=c._moveCb=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",u),c._moveCb=null,Jo(c,i))};c.addEventListener("transitionend",u)})}),()=>{const i=kt(e),l=Db(i);let s=i.tag||Fe;r=a,a=t.default?zu(t.default()):[];for(let c=0;c{i.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&o.classList.add(i)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:a}=Lb(o);return r.removeChild(o),a}const _a=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ye(t)?n=>Pl(t,n):t};function Wx(e){e.target.composing=!0}function Ff(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ou={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=_a(r);const a=o||r.props&&r.props.type==="number";or(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),a&&(l=ps(l)),e._assign(l)}),n&&or(e,"change",()=>{e.value=e.value.trim()}),t||(or(e,"compositionstart",Wx),or(e,"compositionend",Ff),or(e,"change",Ff))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},a){if(e._assign=_a(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===t||(r||e.type==="number")&&ps(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},vs={deep:!0,created(e,t,n){e._assign=_a(n),or(e,"change",()=>{const o=e._modelValue,r=qb(e),a=e.checked,i=e._assign;if(Ye(o)){const l=Dg(o,r),s=l!==-1;if(a&&!s)i(o.concat(r));else if(!a&&s){const c=[...o];c.splice(l,1),i(c)}}else if(Ds(o)){const l=new Set(o);a?l.add(r):l.delete(r),i(l)}else i(Kb(e,a))})},mounted:Df,beforeUpdate(e,t,n){e._assign=_a(n),Df(e,t,n)}};function Df(e,{value:t,oldValue:n},o){e._modelValue=t,Ye(t)?e.checked=Dg(t,o.props.value)>-1:Ds(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=va(t,Kb(e,!0)))}const Hb={created(e,{value:t},n){e.checked=va(t,n.props.value),e._assign=_a(n),or(e,"change",()=>{e._assign(qb(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=_a(o),t!==n&&(e.checked=va(t,o.props.value))}};function qb(e){return"_value"in e?e._value:e.value}function Kb(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ux=["ctrl","shift","alt","meta"],Yx={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)=>Ux.some(n=>e[`${n}Key`]&&!t.includes(n))},He=(e,t)=>(n,...o)=>{for(let r=0;rn=>{if(!("key"in n))return;const o=fr(n.key);if(t.some(r=>r===o||Gx[r]===o))return e(n)},ft={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ja(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),Ja(e,!0),o.enter(e)):o.leave(e,()=>{Ja(e,!1)}):Ja(e,t))},beforeUnmount(e,{value:t}){Ja(e,t)}};function Ja(e,t){e.style.display=t?e._vod:"none"}const Xx=en({patchProp:Px},_x);let Lf;function Wb(){return Lf||(Lf=tx(Xx))}const wa=(...e)=>{Wb().render(...e)},Ub=(...e)=>{const t=Wb().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=Zx(o);if(!r)return;const a=t._component;!Je(a)&&!a.render&&!a.template&&(a.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Zx(e){return Qe(e)?document.querySelector(e):e}const Jx=it("Home"),Qx=it(" | "),e2=it("About"),t2=ee({__name:"App",setup(e){return(t,n)=>{const o=le("router-link"),r=le("router-view");return w(),I(Fe,null,[M("p",null,[U(o,{class:"rlink",to:"/"},{default:K(()=>[Jx]),_:1}),Qx,U(o,{class:"rlink",to:"/about"},{default:K(()=>[e2]),_:1})]),U(r)],64)}}});/** +`],...mw(n))}),t}function mw({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${Mb(e.component,e.type,o)}`,a=">"+n;return e.props?[r,...gw(e.props),a]:[r+a]}function gw(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...nb(o,e[o]))}),n.length>3&&t.push(" ..."),t}function nb(e,t,n){return Qe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Vt(t)?(t=nb(e,kt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Je(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=kt(t),n?t:[`${e}=`,t])}function Ao(e,t,n,o){let r;try{r=o?e(...o):e()}catch(a){Bs(a,t,n)}return r}function Fn(e,t,n,o){if(Je(e)){const a=Ao(e,t,n,o);return a&&Vr(a)&&a.catch(i=>{Bs(i,t,n)}),a}const r=[];for(let a=0;a>>1;zi(Tn[o])So&&Tn.splice(t,1)}function ib(e,t,n,o){Ye(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?o+1:o))&&n.push(e),ab()}function _w(e){ib(e,ai,di,aa)}function ww(e){ib(e,Zo,ui,ia)}function js(e,t=null){if(di.length){for(cd=t,ai=[...new Set(di)],di.length=0,aa=0;aazi(n)-zi(o)),ia=0;iae.id==null?1/0:e.id;function sb(e){sd=!1,hs=!0,js(e),Tn.sort((n,o)=>zi(n)-zi(o));const t=wt;try{for(So=0;Sof.trim())),u&&(r=n.map(ps))}let l,s=o[l=Rl(t)]||o[l=Rl(Bn(t))];!s&&a&&(s=o[l=Rl(fr(t))]),s&&Fn(s,e,6,r);const c=o[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fn(c,e,6,r)}}function cb(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const a=e.emits;let i={},l=!1;if(!Je(e)){const s=c=>{const d=cb(c,t,!0);d&&(l=!0,en(i,d))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!a&&!l?(o.set(e,null),null):(Ye(a)?a.forEach(s=>i[s]=null):en(i,a),o.set(e,i),i)}function Hs(e,t){return!e||!Fs(t)?!1:(t=t.slice(2).replace(/Once$/,""),it(e,t[0].toLowerCase()+t.slice(1))||it(e,fr(t))||it(e,t))}let ln=null,db=null;function ms(e){const t=ln;return ln=e,db=e&&e.type.__scopeId||null,t}function K(e,t=ln,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&xf(-1);const a=ms(t),i=e(...r);return ms(a),o._d&&xf(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function bc(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:a,propsOptions:[i],slots:l,attrs:s,emit:c,render:d,renderCache:u,data:p,setupState:f,ctx:h,inheritAttrs:b}=e;let m,g;const v=ms(e);try{if(n.shapeFlag&4){const T=r||o;m=mo(d.call(T,T,u,a,f,p,h)),g=s}else{const T=t;m=mo(T.length>1?T(a,{attrs:s,slots:l,emit:c}):T(a,null)),g=t.props?s:kw(s)}}catch(T){hi.length=0,Bs(T,e,1),m=U(dn)}let y=m;if(g&&b!==!1){const T=Object.keys(g),{shapeFlag:x}=y;T.length&&x&7&&(i&&T.some(gu)&&(g=Tw(g,i)),y=No(y,g))}return n.dirs&&(y=No(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),m=y,ms(v),m}const kw=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fs(n))&&((t||(t={}))[n]=e[n]);return t},Tw=(e,t)=>{const n={};for(const o in e)(!gu(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Cw(e,t,n){const{props:o,children:r,component:a}=e,{props:i,children:l,patchFlag:s}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return o?uf(o,i,c):!!i;if(s&8){const d=t.dynamicProps;for(let u=0;ue.__isSuspense;function Aw(e,t){t&&t.pendingBranch?Ye(e)?t.effects.push(...e):t.effects.push(e):ww(e)}function ot(e,t){if(Qt){let n=Qt.provides;const o=Qt.parent&&Qt.parent.provides;o===n&&(n=Qt.provides=Object.create(o)),n[e]=t}}function Ie(e,t,n=!1){const o=Qt||ln;if(o){const r=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Je(t)?t.call(o.proxy):t}}function Dn(e,t){return Au(e,null,t)}const pf={};function ge(e,t,n){return Au(e,t,n)}function Au(e,t,{immediate:n,deep:o,flush:r,onTrack:a,onTrigger:i}=Nt){const l=Qt;let s,c=!1,d=!1;if(Vt(e)?(s=()=>e.value,c=ld(e)):fa(e)?(s=()=>e,o=!0):Ye(e)?(d=!0,c=e.some(g=>fa(g)||ld(g)),s=()=>e.map(g=>{if(Vt(g))return g.value;if(fa(g))return Ar(g);if(Je(g))return Ao(g,l,2)})):Je(e)?t?s=()=>Ao(e,l,2):s=()=>{if(!(l&&l.isUnmounted))return u&&u(),Fn(e,l,3,[p])}:s=wt,t&&o){const g=s;s=()=>Ar(g())}let u,p=g=>{u=m.onStop=()=>{Ao(g,l,4)}};if(Ri)return p=wt,t?n&&Fn(t,l,3,[s(),d?[]:void 0,p]):s(),wt;let f=d?[]:pf;const h=()=>{if(!!m.active)if(t){const g=m.run();(o||c||(d?g.some((v,y)=>Si(v,f[y])):Si(g,f)))&&(u&&u(),Fn(t,l,3,[g,f===pf?void 0:f,p]),f=g)}else m.run()};h.allowRecurse=!!t;let b;r==="sync"?b=h:r==="post"?b=()=>fn(h,l&&l.suspense):b=()=>_w(h);const m=new _u(s,b);return t?n?h():f=m.run():r==="post"?fn(m.run.bind(m),l&&l.suspense):m.run(),()=>{m.stop(),l&&l.scope&&bu(l.scope.effects,m)}}function Ew(e,t,n){const o=this.proxy,r=Qe(e)?e.includes(".")?ub(o,e):()=>o[e]:e.bind(o,o);let a;Je(t)?a=t:(a=t.handler,n=t);const i=Qt;ya(this);const l=Au(r,a.bind(o),n);return i?ya(i):Rr(),l}function ub(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r{Ar(n,t)});else if(Vg(e))for(const n in e)Ar(e[n],t);return e}function pb(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return et(()=>{e.isMounted=!0}),$t(()=>{e.isUnmounting=!0}),e}const Pn=[Function,Array],zw={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pn,onEnter:Pn,onAfterEnter:Pn,onEnterCancelled:Pn,onBeforeLeave:Pn,onLeave:Pn,onAfterLeave:Pn,onLeaveCancelled:Pn,onBeforeAppear:Pn,onAppear:Pn,onAfterAppear:Pn,onAppearCancelled:Pn},setup(e,{slots:t}){const n=nt(),o=pb();let r;return()=>{const a=t.default&&Eu(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const b of a)if(b.type!==dn){i=b;break}}const l=kt(e),{mode:s}=l;if(o.isLeaving)return vc(i);const c=ff(i);if(!c)return vc(i);const d=Ii(c,l,o,n);Ni(c,d);const u=n.subTree,p=u&&ff(u);let f=!1;const{getTransitionKey:h}=c.type;if(h){const b=h();r===void 0?r=b:b!==r&&(r=b,f=!0)}if(p&&p.type!==dn&&(!Cr(c,p)||f)){const b=Ii(p,l,o,n);if(Ni(p,b),s==="out-in")return o.isLeaving=!0,b.afterLeave=()=>{o.isLeaving=!1,n.update()},vc(i);s==="in-out"&&c.type!==dn&&(b.delayLeave=(m,g,v)=>{const y=hb(o,p);y[String(p.key)]=p,m._leaveCb=()=>{g(),m._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=v})}return i}}},fb=zw;function hb(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 Ii(e,t,n,o){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:u,onLeave:p,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:b,onAppear:m,onAfterAppear:g,onAppearCancelled:v}=t,y=String(e.key),T=hb(n,e),x=(z,P)=>{z&&Fn(z,o,9,P)},k=(z,P)=>{const O=P[1];x(z,P),Ye(z)?z.every(D=>D.length<=1)&&O():z.length<=1&&O()},$={mode:a,persisted:i,beforeEnter(z){let P=l;if(!n.isMounted)if(r)P=b||l;else return;z._leaveCb&&z._leaveCb(!0);const O=T[y];O&&Cr(e,O)&&O.el._leaveCb&&O.el._leaveCb(),x(P,[z])},enter(z){let P=s,O=c,D=d;if(!n.isMounted)if(r)P=m||s,O=g||c,D=v||d;else return;let L=!1;const F=z._enterCb=V=>{L||(L=!0,V?x(D,[z]):x(O,[z]),$.delayedLeave&&$.delayedLeave(),z._enterCb=void 0)};P?k(P,[z,F]):F()},leave(z,P){const O=String(e.key);if(z._enterCb&&z._enterCb(!0),n.isUnmounting)return P();x(u,[z]);let D=!1;const L=z._leaveCb=F=>{D||(D=!0,P(),F?x(h,[z]):x(f,[z]),z._leaveCb=void 0,T[O]===e&&delete T[O])};T[O]=e,p?k(p,[z,L]):L()},clone(z){return Ii(z,t,n,o)}};return $}function vc(e){if(qs(e))return e=No(e),e.children=null,e}function ff(e){return qs(e)?e.children?e.children[0]:void 0:e}function Ni(e,t){e.shapeFlag&6&&e.component?Ni(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 Eu(e,t=!1,n){let o=[],r=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader,qs=e=>e.type.__isKeepAlive;function Iw(e,t){mb(e,"a",t)}function Nw(e,t){mb(e,"da",t)}function mb(e,t,n=Qt){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ks(t,o,n),n){let r=n.parent;for(;r&&r.parent;)qs(r.parent.vnode)&&Mw(o,t,n,r),r=r.parent}}function Mw(e,t,n,o){const r=Ks(t,e,o,!0);Qi(()=>{bu(o[t],r)},n)}function Ks(e,t,n=Qt,o=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Kr(),ya(n);const l=Fn(t,n,e,i);return Rr(),Wr(),l});return o?r.unshift(a):r.push(a),a}}const Lo=e=>(t,n=Qt)=>(!Ri||e==="sp")&&Ks(e,t,n),Ji=Lo("bm"),et=Lo("m"),gb=Lo("bu"),Un=Lo("u"),$t=Lo("bum"),Qi=Lo("um"),Rw=Lo("sp"),Pw=Lo("rtg"),Ow=Lo("rtc");function Fw(e,t=Qt){Ks("ec",e,t)}function Ue(e,t){const n=ln;if(n===null)return e;const o=Us(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let a=0;at(i,l,void 0,a&&a[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,s=i.length;ljt(t)?!(t.type===dn||t.type===Fe&&!vb(t.children)):!0)?e:null}function Lw(e){const t={};for(const n in e)t[Rl(n)]=e[n];return t}const dd=e=>e?Eb(e)?Us(e)||e.proxy:dd(e.parent):null,gs=en(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=>dd(e.parent),$root:e=>dd(e.root),$emit:e=>e.emit,$options:e=>_b(e),$forceUpdate:e=>e.f||(e.f=()=>rb(e.update)),$nextTick:e=>e.n||(e.n=je.bind(e.proxy)),$watch:e=>Ew.bind(e)}),Vw={get({_:e},t){const{ctx:n,setupState:o,data:r,props:a,accessCache:i,type:l,appContext:s}=e;let c;if(t[0]!=="$"){const f=i[t];if(f!==void 0)switch(f){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if(o!==Nt&&it(o,t))return i[t]=1,o[t];if(r!==Nt&&it(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&it(c,t))return i[t]=3,a[t];if(n!==Nt&&it(n,t))return i[t]=4,n[t];ud&&(i[t]=0)}}const d=gs[t];let u,p;if(d)return t==="$attrs"&&zn(e,"get",t),d(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==Nt&&it(n,t))return i[t]=4,n[t];if(p=s.config.globalProperties,it(p,t))return p[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:a}=e;return r!==Nt&&it(r,t)?(r[t]=n,!0):o!==Nt&&it(o,t)?(o[t]=n,!0):it(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:a}},i){let l;return!!n[i]||e!==Nt&&it(e,i)||t!==Nt&&it(t,i)||(l=a[0])&&it(l,i)||it(o,i)||it(gs,i)||it(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:it(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ud=!0;function Bw(e){const t=_b(e),n=e.proxy,o=e.ctx;ud=!1,t.beforeCreate&&mf(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:i,watch:l,provide:s,inject:c,created:d,beforeMount:u,mounted:p,beforeUpdate:f,updated:h,activated:b,deactivated:m,beforeDestroy:g,beforeUnmount:v,destroyed:y,unmounted:T,render:x,renderTracked:k,renderTriggered:$,errorCaptured:z,serverPrefetch:P,expose:O,inheritAttrs:D,components:L,directives:F,filters:V}=t;if(c&&jw(c,o,null,e.appContext.config.unwrapInjectedRef),i)for(const E in i){const N=i[E];Je(N)&&(o[E]=N.bind(n))}if(r){const E=r.call(n,n);ut(E)&&(e.data=vt(E))}if(ud=!0,a)for(const E in a){const N=a[E],W=Je(N)?N.bind(n,n):Je(N.get)?N.get.bind(n,n):wt,Y=!Je(N)&&Je(N.set)?N.set.bind(n):wt,J=C({get:W,set:Y});Object.defineProperty(o,E,{enumerable:!0,configurable:!0,get:()=>J.value,set:Z=>J.value=Z})}if(l)for(const E in l)yb(l[E],o,n,E);if(s){const E=Je(s)?s.call(n):s;Reflect.ownKeys(E).forEach(N=>{ot(N,E[N])})}d&&mf(d,e,"c");function M(E,N){Ye(N)?N.forEach(W=>E(W.bind(n))):N&&E(N.bind(n))}if(M(Ji,u),M(et,p),M(gb,f),M(Un,h),M(Iw,b),M(Nw,m),M(Fw,z),M(Ow,k),M(Pw,$),M($t,v),M(Qi,T),M(Rw,P),Ye(O))if(O.length){const E=e.exposed||(e.exposed={});O.forEach(N=>{Object.defineProperty(E,N,{get:()=>n[N],set:W=>n[N]=W})})}else e.exposed||(e.exposed={});x&&e.render===wt&&(e.render=x),D!=null&&(e.inheritAttrs=D),L&&(e.components=L),F&&(e.directives=F)}function jw(e,t,n=wt,o=!1){Ye(e)&&(e=pd(e));for(const r in e){const a=e[r];let i;ut(a)?"default"in a?i=Ie(a.from||r,a.default,!0):i=Ie(a.from||r):i=Ie(a),Vt(i)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function mf(e,t,n){Fn(Ye(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function yb(e,t,n,o){const r=o.includes(".")?ub(n,o):()=>n[o];if(Qe(e)){const a=t[e];Je(a)&&ge(r,a)}else if(Je(e))ge(r,e.bind(n));else if(ut(e))if(Ye(e))e.forEach(a=>yb(a,t,n,o));else{const a=Je(e.handler)?e.handler.bind(n):t[e.handler];Je(a)&&ge(r,a,e)}}function _b(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,l=a.get(t);let s;return l?s=l:!r.length&&!n&&!o?s=t:(s={},r.length&&r.forEach(c=>bs(s,c,i,!0)),bs(s,t,i)),a.set(t,s),s}function bs(e,t,n,o=!1){const{mixins:r,extends:a}=t;a&&bs(e,a,n,!0),r&&r.forEach(i=>bs(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const l=Hw[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Hw={data:gf,props:xr,emits:xr,methods:xr,computed:xr,beforeCreate:cn,created:cn,beforeMount:cn,mounted:cn,beforeUpdate:cn,updated:cn,beforeDestroy:cn,beforeUnmount:cn,destroyed:cn,unmounted:cn,activated:cn,deactivated:cn,errorCaptured:cn,serverPrefetch:cn,components:xr,directives:xr,watch:Kw,provide:gf,inject:qw};function gf(e,t){return t?e?function(){return en(Je(e)?e.call(this,this):e,Je(t)?t.call(this,this):t)}:t:e}function qw(e,t){return xr(pd(e),pd(t))}function pd(e){if(Ye(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let u=0;u{s=!0;const[p,f]=xb(u,t,!0);en(i,p),f&&l.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!a&&!s)return o.set(e,ua),ua;if(Ye(a))for(let d=0;d-1,f[1]=b<0||h-1||it(f,"default"))&&l.push(u)}}}const c=[i,l];return o.set(e,c),c}function bf(e){return e[0]!=="$"}function vf(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function yf(e,t){return vf(e)===vf(t)}function _f(e,t){return Ye(t)?t.findIndex(n=>yf(n,e)):Je(t)&&yf(t,e)?0:-1}const kb=e=>e[0]==="_"||e==="$stable",Nu=e=>Ye(e)?e.map(mo):[mo(e)],Yw=(e,t,n)=>{if(t._n)return t;const o=K((...r)=>Nu(t(...r)),n);return o._c=!1,o},Tb=(e,t,n)=>{const o=e._ctx;for(const r in e){if(kb(r))continue;const a=e[r];if(Je(a))t[r]=Yw(r,a,o);else if(a!=null){const i=Nu(a);t[r]=()=>i}}},Cb=(e,t)=>{const n=Nu(t);e.slots.default=()=>n},Gw=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=kt(t),us(t,"_",n)):Tb(t,e.slots={})}else e.slots={},t&&Cb(e,t);us(e.slots,Ws,1)},Xw=(e,t,n)=>{const{vnode:o,slots:r}=e;let a=!0,i=Nt;if(o.shapeFlag&32){const l=t._;l?n&&l===1?a=!1:(en(r,t),!n&&l===1&&delete r._):(a=!t.$stable,Tb(t,r)),i=t}else t&&(Cb(e,t),i={default:1});if(a)for(const l in r)!kb(l)&&!(l in i)&&delete r[l]};function Sb(){return{app:null,config:{isNativeTag:S1,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 Zw=0;function Jw(e,t){return function(o,r=null){Je(o)||(o=Object.assign({},o)),r!=null&&!ut(r)&&(r=null);const a=Sb(),i=new Set;let l=!1;const s=a.app={_uid:Zw++,_component:o,_props:r,_container:null,_context:a,_instance:null,version:gx,get config(){return a.config},set config(c){},use(c,...d){return i.has(c)||(c&&Je(c.install)?(i.add(c),c.install(s,...d)):Je(c)&&(i.add(c),c(s,...d))),s},mixin(c){return a.mixins.includes(c)||a.mixins.push(c),s},component(c,d){return d?(a.components[c]=d,s):a.components[c]},directive(c,d){return d?(a.directives[c]=d,s):a.directives[c]},mount(c,d,u){if(!l){const p=U(o,r);return p.appContext=a,d&&t?t(p,c):e(p,c,u),l=!0,s._container=c,c.__vue_app__=s,Us(p.component)||p.component.proxy}},unmount(){l&&(e(null,s._container),delete s._container.__vue_app__)},provide(c,d){return a.provides[c]=d,s}};return s}}function hd(e,t,n,o,r=!1){if(Ye(e)){e.forEach((p,f)=>hd(p,t&&(Ye(t)?t[f]:t),n,o,r));return}if(pi(o)&&!r)return;const a=o.shapeFlag&4?Us(o.component)||o.component.proxy:o.el,i=r?null:a,{i:l,r:s}=e,c=t&&t.r,d=l.refs===Nt?l.refs={}:l.refs,u=l.setupState;if(c!=null&&c!==s&&(Qe(c)?(d[c]=null,it(u,c)&&(u[c]=null)):Vt(c)&&(c.value=null)),Je(s))Ao(s,l,12,[i,d]);else{const p=Qe(s),f=Vt(s);if(p||f){const h=()=>{if(e.f){const b=p?d[s]:s.value;r?Ye(b)&&bu(b,a):Ye(b)?b.includes(a)||b.push(a):p?(d[s]=[a],it(u,s)&&(u[s]=d[s])):(s.value=[a],e.k&&(d[e.k]=s.value))}else p?(d[s]=i,it(u,s)&&(u[s]=i)):f&&(s.value=i,e.k&&(d[e.k]=i))};i?(h.id=-1,fn(h,n)):h()}}}const fn=Aw;function Qw(e){return ex(e)}function ex(e,t){const n=I1();n.__VUE__=!0;const{insert:o,remove:r,patchProp:a,createElement:i,createText:l,createComment:s,setText:c,setElementText:d,parentNode:u,nextSibling:p,setScopeId:f=wt,cloneNode:h,insertStaticContent:b}=e,m=(j,X,de,xe=null,we=null,Ae=null,ce=!1,ae=null,te=!!X.dynamicChildren)=>{if(j===X)return;j&&!Cr(j,X)&&(xe=ie(j),se(j,we,Ae,!0),j=null),X.patchFlag===-2&&(te=!1,X.dynamicChildren=null);const{type:pe,ref:De,shapeFlag:B}=X;switch(pe){case tl:g(j,X,de,xe);break;case dn:v(j,X,de,xe);break;case yc:j==null&&y(X,de,xe,ce);break;case Fe:F(j,X,de,xe,we,Ae,ce,ae,te);break;default:B&1?k(j,X,de,xe,we,Ae,ce,ae,te):B&6?V(j,X,de,xe,we,Ae,ce,ae,te):(B&64||B&128)&&pe.process(j,X,de,xe,we,Ae,ce,ae,te,$e)}De!=null&&we&&hd(De,j&&j.ref,Ae,X||j,!X)},g=(j,X,de,xe)=>{if(j==null)o(X.el=l(X.children),de,xe);else{const we=X.el=j.el;X.children!==j.children&&c(we,X.children)}},v=(j,X,de,xe)=>{j==null?o(X.el=s(X.children||""),de,xe):X.el=j.el},y=(j,X,de,xe)=>{[j.el,j.anchor]=b(j.children,X,de,xe,j.el,j.anchor)},T=({el:j,anchor:X},de,xe)=>{let we;for(;j&&j!==X;)we=p(j),o(j,de,xe),j=we;o(X,de,xe)},x=({el:j,anchor:X})=>{let de;for(;j&&j!==X;)de=p(j),r(j),j=de;r(X)},k=(j,X,de,xe,we,Ae,ce,ae,te)=>{ce=ce||X.type==="svg",j==null?$(X,de,xe,we,Ae,ce,ae,te):O(j,X,we,Ae,ce,ae,te)},$=(j,X,de,xe,we,Ae,ce,ae)=>{let te,pe;const{type:De,props:B,shapeFlag:me,transition:Be,patchFlag:Ze,dirs:Ve}=j;if(j.el&&h!==void 0&&Ze===-1)te=j.el=h(j.el);else{if(te=j.el=i(j.type,Ae,B&&B.is,B),me&8?d(te,j.children):me&16&&P(j.children,te,null,xe,we,Ae&&De!=="foreignObject",ce,ae),Ve&&br(j,null,xe,"created"),B){for(const ye in B)ye!=="value"&&!Ml(ye)&&a(te,ye,null,B[ye],Ae,j.children,xe,we,ne);"value"in B&&a(te,"value",null,B.value),(pe=B.onVnodeBeforeMount)&&ho(pe,xe,j)}z(te,j,j.scopeId,ce,xe)}Ve&&br(j,null,xe,"beforeMount");const re=(!we||we&&!we.pendingBranch)&&Be&&!Be.persisted;re&&Be.beforeEnter(te),o(te,X,de),((pe=B&&B.onVnodeMounted)||re||Ve)&&fn(()=>{pe&&ho(pe,xe,j),re&&Be.enter(te),Ve&&br(j,null,xe,"mounted")},we)},z=(j,X,de,xe,we)=>{if(de&&f(j,de),xe)for(let Ae=0;Ae{for(let pe=te;pe{const ae=X.el=j.el;let{patchFlag:te,dynamicChildren:pe,dirs:De}=X;te|=j.patchFlag&16;const B=j.props||Nt,me=X.props||Nt;let Be;de&&vr(de,!1),(Be=me.onVnodeBeforeUpdate)&&ho(Be,de,X,j),De&&br(X,j,de,"beforeUpdate"),de&&vr(de,!0);const Ze=we&&X.type!=="foreignObject";if(pe?D(j.dynamicChildren,pe,ae,de,xe,Ze,Ae):ce||W(j,X,ae,null,de,xe,Ze,Ae,!1),te>0){if(te&16)L(ae,X,B,me,de,xe,we);else if(te&2&&B.class!==me.class&&a(ae,"class",null,me.class,we),te&4&&a(ae,"style",B.style,me.style,we),te&8){const Ve=X.dynamicProps;for(let re=0;re{Be&&ho(Be,de,X,j),De&&br(X,j,de,"updated")},xe)},D=(j,X,de,xe,we,Ae,ce)=>{for(let ae=0;ae{if(de!==xe){for(const ae in xe){if(Ml(ae))continue;const te=xe[ae],pe=de[ae];te!==pe&&ae!=="value"&&a(j,ae,pe,te,ce,X.children,we,Ae,ne)}if(de!==Nt)for(const ae in de)!Ml(ae)&&!(ae in xe)&&a(j,ae,de[ae],null,ce,X.children,we,Ae,ne);"value"in xe&&a(j,"value",de.value,xe.value)}},F=(j,X,de,xe,we,Ae,ce,ae,te)=>{const pe=X.el=j?j.el:l(""),De=X.anchor=j?j.anchor:l("");let{patchFlag:B,dynamicChildren:me,slotScopeIds:Be}=X;Be&&(ae=ae?ae.concat(Be):Be),j==null?(o(pe,de,xe),o(De,de,xe),P(X.children,de,De,we,Ae,ce,ae,te)):B>0&&B&64&&me&&j.dynamicChildren?(D(j.dynamicChildren,me,de,we,Ae,ce,ae),(X.key!=null||we&&X===we.subTree)&&Mu(j,X,!0)):W(j,X,de,De,we,Ae,ce,ae,te)},V=(j,X,de,xe,we,Ae,ce,ae,te)=>{X.slotScopeIds=ae,j==null?X.shapeFlag&512?we.ctx.activate(X,de,xe,ce,te):q(X,de,xe,we,Ae,ce,te):M(j,X,te)},q=(j,X,de,xe,we,Ae,ce)=>{const ae=j.component=cx(j,xe,we);if(qs(j)&&(ae.ctx.renderer=$e),dx(ae),ae.asyncDep){if(we&&we.registerDep(ae,E),!j.el){const te=ae.subTree=U(dn);v(null,te,X,de)}return}E(ae,j,X,de,we,Ae,ce)},M=(j,X,de)=>{const xe=X.component=j.component;if(Cw(j,X,de))if(xe.asyncDep&&!xe.asyncResolved){N(xe,X,de);return}else xe.next=X,yw(xe.update),xe.update();else X.el=j.el,xe.vnode=X},E=(j,X,de,xe,we,Ae,ce)=>{const ae=()=>{if(j.isMounted){let{next:De,bu:B,u:me,parent:Be,vnode:Ze}=j,Ve=De,re;vr(j,!1),De?(De.el=Ze.el,N(j,De,ce)):De=Ze,B&&Pl(B),(re=De.props&&De.props.onVnodeBeforeUpdate)&&ho(re,Be,De,Ze),vr(j,!0);const ye=bc(j),fe=j.subTree;j.subTree=ye,m(fe,ye,u(fe.el),ie(fe),j,we,Ae),De.el=ye.el,Ve===null&&Sw(j,ye.el),me&&fn(me,we),(re=De.props&&De.props.onVnodeUpdated)&&fn(()=>ho(re,Be,De,Ze),we)}else{let De;const{el:B,props:me}=X,{bm:Be,m:Ze,parent:Ve}=j,re=pi(X);if(vr(j,!1),Be&&Pl(Be),!re&&(De=me&&me.onVnodeBeforeMount)&&ho(De,Ve,X),vr(j,!0),B&&Me){const ye=()=>{j.subTree=bc(j),Me(B,j.subTree,j,we,null)};re?X.type.__asyncLoader().then(()=>!j.isUnmounted&&ye()):ye()}else{const ye=j.subTree=bc(j);m(null,ye,de,xe,j,we,Ae),X.el=ye.el}if(Ze&&fn(Ze,we),!re&&(De=me&&me.onVnodeMounted)){const ye=X;fn(()=>ho(De,Ve,ye),we)}(X.shapeFlag&256||Ve&&pi(Ve.vnode)&&Ve.vnode.shapeFlag&256)&&j.a&&fn(j.a,we),j.isMounted=!0,X=de=xe=null}},te=j.effect=new _u(ae,()=>rb(pe),j.scope),pe=j.update=()=>te.run();pe.id=j.uid,vr(j,!0),pe()},N=(j,X,de)=>{X.component=j;const xe=j.vnode.props;j.vnode=X,j.next=null,Uw(j,X.props,xe,de),Xw(j,X.children,de),Kr(),js(void 0,j.update),Wr()},W=(j,X,de,xe,we,Ae,ce,ae,te=!1)=>{const pe=j&&j.children,De=j?j.shapeFlag:0,B=X.children,{patchFlag:me,shapeFlag:Be}=X;if(me>0){if(me&128){J(pe,B,de,xe,we,Ae,ce,ae,te);return}else if(me&256){Y(pe,B,de,xe,we,Ae,ce,ae,te);return}}Be&8?(De&16&&ne(pe,we,Ae),B!==pe&&d(de,B)):De&16?Be&16?J(pe,B,de,xe,we,Ae,ce,ae,te):ne(pe,we,Ae,!0):(De&8&&d(de,""),Be&16&&P(B,de,xe,we,Ae,ce,ae,te))},Y=(j,X,de,xe,we,Ae,ce,ae,te)=>{j=j||ua,X=X||ua;const pe=j.length,De=X.length,B=Math.min(pe,De);let me;for(me=0;meDe?ne(j,we,Ae,!0,!1,B):P(X,de,xe,we,Ae,ce,ae,te,B)},J=(j,X,de,xe,we,Ae,ce,ae,te)=>{let pe=0;const De=X.length;let B=j.length-1,me=De-1;for(;pe<=B&&pe<=me;){const Be=j[pe],Ze=X[pe]=te?tr(X[pe]):mo(X[pe]);if(Cr(Be,Ze))m(Be,Ze,de,null,we,Ae,ce,ae,te);else break;pe++}for(;pe<=B&&pe<=me;){const Be=j[B],Ze=X[me]=te?tr(X[me]):mo(X[me]);if(Cr(Be,Ze))m(Be,Ze,de,null,we,Ae,ce,ae,te);else break;B--,me--}if(pe>B){if(pe<=me){const Be=me+1,Ze=Beme)for(;pe<=B;)se(j[pe],we,Ae,!0),pe++;else{const Be=pe,Ze=pe,Ve=new Map;for(pe=Ze;pe<=me;pe++){const _t=X[pe]=te?tr(X[pe]):mo(X[pe]);_t.key!=null&&Ve.set(_t.key,pe)}let re,ye=0;const fe=me-Ze+1;let Ee=!1,We=0;const gt=new Array(fe);for(pe=0;pe=fe){se(_t,we,Ae,!0);continue}let Et;if(_t.key!=null)Et=Ve.get(_t.key);else for(re=Ze;re<=me;re++)if(gt[re-Ze]===0&&Cr(_t,X[re])){Et=re;break}Et===void 0?se(_t,we,Ae,!0):(gt[Et-Ze]=pe+1,Et>=We?We=Et:Ee=!0,m(_t,X[Et],de,null,we,Ae,ce,ae,te),ye++)}const Ct=Ee?tx(gt):ua;for(re=Ct.length-1,pe=fe-1;pe>=0;pe--){const _t=Ze+pe,Et=X[_t],Rn=_t+1{const{el:Ae,type:ce,transition:ae,children:te,shapeFlag:pe}=j;if(pe&6){Z(j.component.subTree,X,de,xe);return}if(pe&128){j.suspense.move(X,de,xe);return}if(pe&64){ce.move(j,X,de,$e);return}if(ce===Fe){o(Ae,X,de);for(let B=0;Bae.enter(Ae),we);else{const{leave:B,delayLeave:me,afterLeave:Be}=ae,Ze=()=>o(Ae,X,de),Ve=()=>{B(Ae,()=>{Ze(),Be&&Be()})};me?me(Ae,Ze,Ve):Ve()}else o(Ae,X,de)},se=(j,X,de,xe=!1,we=!1)=>{const{type:Ae,props:ce,ref:ae,children:te,dynamicChildren:pe,shapeFlag:De,patchFlag:B,dirs:me}=j;if(ae!=null&&hd(ae,null,de,j,!0),De&256){X.ctx.deactivate(j);return}const Be=De&1&&me,Ze=!pi(j);let Ve;if(Ze&&(Ve=ce&&ce.onVnodeBeforeUnmount)&&ho(Ve,X,j),De&6)H(j.component,de,xe);else{if(De&128){j.suspense.unmount(de,xe);return}Be&&br(j,null,X,"beforeUnmount"),De&64?j.type.remove(j,X,de,we,$e,xe):pe&&(Ae!==Fe||B>0&&B&64)?ne(pe,X,de,!1,!0):(Ae===Fe&&B&384||!we&&De&16)&&ne(te,X,de),xe&&Se(j)}(Ze&&(Ve=ce&&ce.onVnodeUnmounted)||Be)&&fn(()=>{Ve&&ho(Ve,X,j),Be&&br(j,null,X,"unmounted")},de)},Se=j=>{const{type:X,el:de,anchor:xe,transition:we}=j;if(X===Fe){oe(de,xe);return}if(X===yc){x(j);return}const Ae=()=>{r(de),we&&!we.persisted&&we.afterLeave&&we.afterLeave()};if(j.shapeFlag&1&&we&&!we.persisted){const{leave:ce,delayLeave:ae}=we,te=()=>ce(de,Ae);ae?ae(j.el,Ae,te):te()}else Ae()},oe=(j,X)=>{let de;for(;j!==X;)de=p(j),r(j),j=de;r(X)},H=(j,X,de)=>{const{bum:xe,scope:we,update:Ae,subTree:ce,um:ae}=j;xe&&Pl(xe),we.stop(),Ae&&(Ae.active=!1,se(ce,j,X,de)),ae&&fn(ae,X),fn(()=>{j.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&j.asyncDep&&!j.asyncResolved&&j.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},ne=(j,X,de,xe=!1,we=!1,Ae=0)=>{for(let ce=Ae;cej.shapeFlag&6?ie(j.component.subTree):j.shapeFlag&128?j.suspense.next():p(j.anchor||j.el),be=(j,X,de)=>{j==null?X._vnode&&se(X._vnode,null,null,!0):m(X._vnode||null,j,X,null,null,null,de),lb(),X._vnode=j},$e={p:m,um:se,m:Z,r:Se,mt:q,mc:P,pc:W,pbc:D,n:ie,o:e};let Ne,Me;return t&&([Ne,Me]=t($e)),{render:be,hydrate:Ne,createApp:Jw(be,Ne)}}function vr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Mu(e,t,n=!1){const o=e.children,r=t.children;if(Ye(o)&&Ye(r))for(let a=0;a>1,e[n[l]]0&&(t[o]=n[a-1]),n[a]=o)}}for(a=n.length,i=n[a-1];a-- >0;)n[a]=i,i=t[i];return n}const nx=e=>e.__isTeleport,fi=e=>e&&(e.disabled||e.disabled===""),wf=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,md=(e,t)=>{const n=e&&e.to;return Qe(n)?t?t(n):null:n},ox={__isTeleport:!0,process(e,t,n,o,r,a,i,l,s,c){const{mc:d,pc:u,pbc:p,o:{insert:f,querySelector:h,createText:b,createComment:m}}=c,g=fi(t.props);let{shapeFlag:v,children:y,dynamicChildren:T}=t;if(e==null){const x=t.el=b(""),k=t.anchor=b("");f(x,n,o),f(k,n,o);const $=t.target=md(t.props,h),z=t.targetAnchor=b("");$&&(f(z,$),i=i||wf($));const P=(O,D)=>{v&16&&d(y,O,D,r,a,i,l,s)};g?P(n,k):$&&P($,z)}else{t.el=e.el;const x=t.anchor=e.anchor,k=t.target=e.target,$=t.targetAnchor=e.targetAnchor,z=fi(e.props),P=z?n:k,O=z?x:$;if(i=i||wf(k),T?(p(e.dynamicChildren,T,P,r,a,i,l),Mu(e,t,!0)):s||u(e,t,P,O,r,a,i,l,!1),g)z||vl(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const D=t.target=md(t.props,h);D&&vl(t,D,null,c,0)}else z&&vl(t,k,$,c,1)}},remove(e,t,n,o,{um:r,o:{remove:a}},i){const{shapeFlag:l,children:s,anchor:c,targetAnchor:d,target:u,props:p}=e;if(u&&a(d),(i||!fi(p))&&(a(c),l&16))for(let f=0;f0?to||ua:null,ax(),Mi>0&&to&&to.push(e),e}function I(e,t,n,o,r,a){return $b(R(e,t,n,o,r,a,!0))}function Q(e,t,n,o,r){return $b(U(e,t,n,o,r,!0))}function jt(e){return e?e.__v_isVNode===!0:!1}function Cr(e,t){return e.type===t.type&&e.key===t.key}const Ws="__vInternal",Ab=({key:e})=>e!=null?e:null,Ol=({ref:e,ref_key:t,ref_for:n})=>e!=null?Qe(e)||Vt(e)||Je(e)?{i:ln,r:e,k:t,f:!!n}:e:null;function R(e,t=null,n=null,o=0,r=null,a=e===Fe?0:1,i=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ab(t),ref:t&&Ol(t),scopeId:db,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(Ru(s,n),a&128&&e.normalize(s)):n&&(s.shapeFlag|=Qe(n)?8:16),Mi>0&&!i&&to&&(s.patchFlag>0||a&6)&&s.patchFlag!==32&&to.push(s),s}const U=ix;function ix(e,t=null,n=null,o=0,r=null,a=!1){if((!e||e===bb)&&(e=dn),jt(e)){const l=No(e,t,!0);return n&&Ru(l,n),Mi>0&&!a&&to&&(l.shapeFlag&6?to[to.indexOf(e)]=l:to.push(l)),l.patchFlag|=-2,l}if(mx(e)&&(e=e.__vccOpts),t){t=ur(t);let{class:l,style:s}=t;l&&!Qe(l)&&(t.class=S(l)),ut(s)&&(Qg(s)&&!Ye(s)&&(s=en({},s)),t.style=Oe(s))}const i=Qe(e)?1:$w(e)?128:nx(e)?64:ut(e)?4:Je(e)?2:0;return R(e,t,n,o,r,i,a,!0)}function ur(e){return e?Qg(e)||Ws in e?en({},e):e:null}function No(e,t,n=!1){const{props:o,ref:r,patchFlag:a,children:i}=e,l=t?St(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ab(l),ref:t&&t.ref?n&&r?Ye(r)?r.concat(Ol(t)):[r,Ol(t)]:Ol(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&No(e.ssContent),ssFallback:e.ssFallback&&No(e.ssFallback),el:e.el,anchor:e.anchor}}function ct(e=" ",t=0){return U(tl,null,e,t)}function G(e="",t=!1){return t?(w(),Q(dn,null,e)):U(dn,null,e)}function mo(e){return e==null||typeof e=="boolean"?U(dn):Ye(e)?U(Fe,null,e.slice()):typeof e=="object"?tr(e):U(tl,null,String(e))}function tr(e){return e.el===null||e.memo?e:No(e)}function Ru(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Ye(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Ru(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Ws in t)?t._ctx=ln:r===3&&ln&&(ln.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Je(t)?(t={default:t,_ctx:ln},n=32):(t=String(t),o&64?(n=16,t=[ct(t)]):n=8);e.children=t,e.shapeFlag|=n}function St(...e){const t={};for(let n=0;nQt||ln,ya=e=>{Qt=e,e.scope.on()},Rr=()=>{Qt&&Qt.scope.off(),Qt=null};function Eb(e){return e.vnode.shapeFlag&4}let Ri=!1;function dx(e,t=!1){Ri=t;const{props:n,children:o}=e.vnode,r=Eb(e);Ww(e,n,r,t),Gw(e,o);const a=r?ux(e,t):void 0;return Ri=!1,a}function ux(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ai(new Proxy(e.ctx,Vw));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?Ib(e):null;ya(e),Kr();const a=Ao(o,e,0,[e.props,r]);if(Wr(),Rr(),Vr(a)){if(a.then(Rr,Rr),t)return a.then(i=>{kf(e,i,t)}).catch(i=>{Bs(i,e,0)});e.asyncDep=a}else kf(e,a,t)}else zb(e,t)}function kf(e,t,n){Je(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ut(t)&&(e.setupState=fs(t)),zb(e,n)}let Tf;function zb(e,t,n){const o=e.type;if(!e.render){if(!t&&Tf&&!o.render){const r=o.template;if(r){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:s}=o,c=en(en({isCustomElement:a,delimiters:l},i),s);o.render=Tf(r,c)}}e.render=o.render||wt}ya(e),Kr(),Bw(e),Wr(),Rr()}function px(e){return new Proxy(e.attrs,{get(t,n){return zn(e,"get","$attrs"),t[n]}})}function Ib(e){const t=o=>{e.exposed=o||{}};let n;return{get attrs(){return n||(n=px(e))},slots:e.slots,emit:e.emit,expose:t}}function Us(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(fs(Ai(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in gs)return gs[n](e)}}))}const fx=/(?:^|[-_])(\w)/g,hx=e=>e.replace(fx,t=>t.toUpperCase()).replace(/[-_]/g,"");function Nb(e,t=!0){return Je(e)?e.displayName||e.name:e.name||t&&e.__name}function Mb(e,t,n=!1){let o=Nb(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=a=>{for(const i in a)if(a[i]===t)return i};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?hx(o):n?"App":"Anonymous"}function mx(e){return Je(e)&&"__vccOpts"in e}const C=(e,t)=>uw(e,t,Ri);function nl(){return Pb().slots}function Rb(){return Pb().attrs}function Pb(){const e=nt();return e.setupContext||(e.setupContext=Ib(e))}function Re(e,t,n){const o=arguments.length;return o===2?ut(t)&&!Ye(t)?jt(t)?U(e,null,[t]):U(e,t):U(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&jt(n)&&(n=[n]),U(e,t,n))}const gx="3.2.37",bx="http://www.w3.org/2000/svg",Sr=typeof document!="undefined"?document:null,Cf=Sr&&Sr.createElement("template"),vx={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?Sr.createElementNS(bx,e):Sr.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Sr.createTextNode(e),createComment:e=>Sr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Sr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o,r,a){const i=n?n.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===a||!(r=r.nextSibling)););else{Cf.innerHTML=o?`${e}`:e;const l=Cf.content;if(o){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function yx(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function _x(e,t,n){const o=e.style,r=Qe(n);if(n&&!r){for(const a in n)gd(o,a,n[a]);if(t&&!Qe(t))for(const a in t)n[a]==null&&gd(o,a,"")}else{const a=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=a)}}const Sf=/\s*!important$/;function gd(e,t,n){if(Ye(n))n.forEach(o=>gd(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=wx(e,t);Sf.test(n)?e.setProperty(fr(o),n.replace(Sf,""),"important"):e[o]=n}}const $f=["Webkit","Moz","ms"],_c={};function wx(e,t){const n=_c[t];if(n)return n;let o=Bn(t);if(o!=="filter"&&o in e)return _c[t]=o;o=kn(o);for(let r=0;r<$f.length;r++){const a=$f[r]+o;if(a in e)return _c[t]=a}return t}const Af="http://www.w3.org/1999/xlink";function xx(e,t,n,o,r){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Af,t.slice(6,t.length)):e.setAttributeNS(Af,t,n);else{const a=w1(t);n==null||a&&!Og(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function kx(e,t,n,o,r,a,i){if(t==="innerHTML"||t==="textContent"){o&&i(o,r,a),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const s=n==null?"":n;(e.value!==s||e.tagName==="OPTION")&&(e.value=s),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Og(n):n==null&&s==="string"?(n="",l=!0):s==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}const[Ob,Tx]=(()=>{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let bd=0;const Cx=Promise.resolve(),Sx=()=>{bd=0},$x=()=>bd||(Cx.then(Sx),bd=Ob());function or(e,t,n,o){e.addEventListener(t,n,o)}function Ax(e,t,n,o){e.removeEventListener(t,n,o)}function Ex(e,t,n,o,r=null){const a=e._vei||(e._vei={}),i=a[t];if(o&&i)i.value=o;else{const[l,s]=zx(t);if(o){const c=a[t]=Ix(o,r);or(e,l,c,s)}else i&&(Ax(e,l,i,s),a[t]=void 0)}}const Ef=/(?:Once|Passive|Capture)$/;function zx(e){let t;if(Ef.test(e)){t={};let n;for(;n=e.match(Ef);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[fr(e.slice(2)),t]}function Ix(e,t){const n=o=>{const r=o.timeStamp||Ob();(Tx||r>=n.attached-1)&&Fn(Nx(o,n.value),t,5,[o])};return n.value=e,n.attached=$x(),n}function Nx(e,t){if(Ye(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 zf=/^on[a-z]/,Mx=(e,t,n,o,r=!1,a,i,l,s)=>{t==="class"?yx(e,o,r):t==="style"?_x(e,n,o):Fs(t)?gu(t)||Ex(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Rx(e,t,o,r))?kx(e,t,o,a,i,l,s):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),xx(e,t,o,r))};function Rx(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&zf.test(t)&&Je(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||zf.test(t)&&Qe(n)?!1:t in e}const Uo="transition",Za="animation",qt=(e,{slots:t})=>Re(fb,Db(e),t);qt.displayName="Transition";const Fb={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},Px=qt.props=en({},fb.props,Fb),yr=(e,t=[])=>{Ye(e)?e.forEach(n=>n(...t)):e&&e(...t)},If=e=>e?Ye(e)?e.some(t=>t.length>1):e.length>1:!1;function Db(e){const t={};for(const L in e)L in Fb||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=a,appearActiveClass:c=i,appearToClass:d=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=Ox(r),b=h&&h[0],m=h&&h[1],{onBeforeEnter:g,onEnter:v,onEnterCancelled:y,onLeave:T,onLeaveCancelled:x,onBeforeAppear:k=g,onAppear:$=v,onAppearCancelled:z=y}=t,P=(L,F,V)=>{Jo(L,F?d:l),Jo(L,F?c:i),V&&V()},O=(L,F)=>{L._isLeaving=!1,Jo(L,u),Jo(L,f),Jo(L,p),F&&F()},D=L=>(F,V)=>{const q=L?$:v,M=()=>P(F,L,V);yr(q,[F,M]),Nf(()=>{Jo(F,L?s:a),Co(F,L?d:l),If(q)||Mf(F,o,b,M)})};return en(t,{onBeforeEnter(L){yr(g,[L]),Co(L,a),Co(L,i)},onBeforeAppear(L){yr(k,[L]),Co(L,s),Co(L,c)},onEnter:D(!1),onAppear:D(!0),onLeave(L,F){L._isLeaving=!0;const V=()=>O(L,F);Co(L,u),Vb(),Co(L,p),Nf(()=>{!L._isLeaving||(Jo(L,u),Co(L,f),If(T)||Mf(L,o,m,V))}),yr(T,[L,V])},onEnterCancelled(L){P(L,!1),yr(y,[L])},onAppearCancelled(L){P(L,!0),yr(z,[L])},onLeaveCancelled(L){O(L),yr(x,[L])}})}function Ox(e){if(e==null)return null;if(ut(e))return[wc(e.enter),wc(e.leave)];{const t=wc(e);return[t,t]}}function wc(e){return ps(e)}function Co(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Jo(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Nf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Fx=0;function Mf(e,t,n,o){const r=e._endId=++Fx,a=()=>{r===e._endId&&o()};if(n)return setTimeout(a,n);const{type:i,timeout:l,propCount:s}=Lb(e,t);if(!i)return o();const c=i+"end";let d=0;const u=()=>{e.removeEventListener(c,p),a()},p=f=>{f.target===e&&++d>=s&&u()};setTimeout(()=>{d(n[h]||"").split(", "),r=o(Uo+"Delay"),a=o(Uo+"Duration"),i=Rf(r,a),l=o(Za+"Delay"),s=o(Za+"Duration"),c=Rf(l,s);let d=null,u=0,p=0;t===Uo?i>0&&(d=Uo,u=i,p=a.length):t===Za?c>0&&(d=Za,u=c,p=s.length):(u=Math.max(i,c),d=u>0?i>c?Uo:Za:null,p=d?d===Uo?a.length:s.length:0);const f=d===Uo&&/\b(transform|all)(,|$)/.test(n[Uo+"Property"]);return{type:d,timeout:u,propCount:p,hasTransform:f}}function Rf(e,t){for(;e.lengthPf(n)+Pf(e[o])))}function Pf(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Vb(){return document.body.offsetHeight}const Bb=new WeakMap,jb=new WeakMap,Dx={name:"TransitionGroup",props:en({},Px,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=nt(),o=pb();let r,a;return Un(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Hx(r[0].el,n.vnode.el,i))return;r.forEach(Vx),r.forEach(Bx);const l=r.filter(jx);Vb(),l.forEach(s=>{const c=s.el,d=c.style;Co(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const u=c._moveCb=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",u),c._moveCb=null,Jo(c,i))};c.addEventListener("transitionend",u)})}),()=>{const i=kt(e),l=Db(i);let s=i.tag||Fe;r=a,a=t.default?Eu(t.default()):[];for(let c=0;c{i.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&o.classList.add(i)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:a}=Lb(o);return r.removeChild(o),a}const _a=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ye(t)?n=>Pl(t,n):t};function qx(e){e.target.composing=!0}function Of(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Pu={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=_a(r);const a=o||r.props&&r.props.type==="number";or(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),a&&(l=ps(l)),e._assign(l)}),n&&or(e,"change",()=>{e.value=e.value.trim()}),t||(or(e,"compositionstart",qx),or(e,"compositionend",Of),or(e,"change",Of))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},a){if(e._assign=_a(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===t||(r||e.type==="number")&&ps(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},vs={deep:!0,created(e,t,n){e._assign=_a(n),or(e,"change",()=>{const o=e._modelValue,r=qb(e),a=e.checked,i=e._assign;if(Ye(o)){const l=Fg(o,r),s=l!==-1;if(a&&!s)i(o.concat(r));else if(!a&&s){const c=[...o];c.splice(l,1),i(c)}}else if(Ds(o)){const l=new Set(o);a?l.add(r):l.delete(r),i(l)}else i(Kb(e,a))})},mounted:Ff,beforeUpdate(e,t,n){e._assign=_a(n),Ff(e,t,n)}};function Ff(e,{value:t,oldValue:n},o){e._modelValue=t,Ye(t)?e.checked=Fg(t,o.props.value)>-1:Ds(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=va(t,Kb(e,!0)))}const Hb={created(e,{value:t},n){e.checked=va(t,n.props.value),e._assign=_a(n),or(e,"change",()=>{e._assign(qb(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=_a(o),t!==n&&(e.checked=va(t,o.props.value))}};function qb(e){return"_value"in e?e._value:e.value}function Kb(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Kx=["ctrl","shift","alt","meta"],Wx={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)=>Kx.some(n=>e[`${n}Key`]&&!t.includes(n))},He=(e,t)=>(n,...o)=>{for(let r=0;rn=>{if(!("key"in n))return;const o=fr(n.key);if(t.some(r=>r===o||Ux[r]===o))return e(n)},ft={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ja(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),Ja(e,!0),o.enter(e)):o.leave(e,()=>{Ja(e,!1)}):Ja(e,t))},beforeUnmount(e,{value:t}){Ja(e,t)}};function Ja(e,t){e.style.display=t?e._vod:"none"}const Yx=en({patchProp:Mx},vx);let Df;function Wb(){return Df||(Df=Qw(Yx))}const wa=(...e)=>{Wb().render(...e)},Ub=(...e)=>{const t=Wb().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=Gx(o);if(!r)return;const a=t._component;!Je(a)&&!a.render&&!a.template&&(a.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Gx(e){return Qe(e)?document.querySelector(e):e}const Xx=ct("Home"),Zx=ct(" | "),Jx=ct("About"),Qx=ee({__name:"App",setup(e){return(t,n)=>{const o=le("router-link"),r=le("router-view");return w(),I(Fe,null,[R("p",null,[U(o,{class:"rlink",to:"/"},{default:K(()=>[Xx]),_:1}),Zx,U(o,{class:"rlink",to:"/about"},{default:K(()=>[Jx]),_:1})]),U(r)],64)}}});/** * vue-class-component v8.0.0-rc.1 * (c) 2015-present Evan You * @license MIT - */function Vf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bf(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n-1){r[d]=l[d];return}var u=Object.getOwnPropertyDescriptor(l,d);if(typeof u.value=="function"){r.methods[d]=u.value;return}if(u.get||u.set){r.computed[d]={get:u.get,set:u.set};return}}}),r.setup=function(d,u){var p,f=new n(d,u),h=Object.keys(f),b={},m=null;return h.forEach(function(g){f[g]===void 0||f[g]&&f[g].__s||(b[g]=A(f[g]),h2(f,g,b))}),h.forEach(function(g){if(f[g]&&f[g].__s){var v=f[g].__s();v instanceof Promise?(m||(m=Promise.resolve(b)),m=m.then(function(){return v.then(function(y){return b[g]=fs(y),b})})):b[g]=fs(v)}}),(p=m)!==null&&p!==void 0?p:b};var s=_l(n,"__d");s&&s.forEach(function(d){return d(r)});var c=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return c.forEach(function(d){n[d]&&(r[d]=n[d])}),r}}]),e}();Yb.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var Fu=Yb;function Gb(e){return function(t){return t.__o=e,t}}var Hf=[{name:"audio",path:"./tf/audio.md",desc:" modulePublic API for tf.audio namespace.",type:"Modules",docs:`Public API for tf.audio namespace. + */function Lf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vf(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n-1){r[d]=l[d];return}var u=Object.getOwnPropertyDescriptor(l,d);if(typeof u.value=="function"){r.methods[d]=u.value;return}if(u.get||u.set){r.computed[d]={get:u.get,set:u.set};return}}}),r.setup=function(d,u){var p,f=new n(d,u),h=Object.keys(f),b={},m=null;return h.forEach(function(g){f[g]===void 0||f[g]&&f[g].__s||(b[g]=A(f[g]),p2(f,g,b))}),h.forEach(function(g){if(f[g]&&f[g].__s){var v=f[g].__s();v instanceof Promise?(m||(m=Promise.resolve(b)),m=m.then(function(){return v.then(function(y){return b[g]=fs(y),b})})):b[g]=fs(v)}}),(p=m)!==null&&p!==void 0?p:b};var s=_l(n,"__d");s&&s.forEach(function(d){return d(r)});var c=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return c.forEach(function(d){n[d]&&(r[d]=n[d])}),r}}]),e}();Yb.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var Ou=Yb;function Gb(e){return function(t){return t.__o=e,t}}var jf=[{name:"audio",path:"./tf/audio.md",desc:" modulePublic API for tf.audio namespace.",type:"Modules",docs:`Public API for tf.audio namespace. `},{name:"autodiff",path:"./tf/autodiff.md",desc:" modulePublic API for tf.autodiff namespace.",type:"Modules",docs:`Public API for tf.autodiff namespace. `},{name:"autograph",path:"./tf/autograph.md",desc:" moduleConversion of eager-style Python into TensorFlow graph code.",type:"Modules",docs:`Conversion of eager-style Python into TensorFlow graph code. @@ -233,7 +233,7 @@ reasonable default behavior. `},{name:"dtypes",path:"./tf/dtypes.md",desc:" modulePublic API for tf.dtypes namespace.",type:"Modules",docs:`Public API for tf.dtypes namespace. `},{name:"errors",path:"./tf/errors.md",desc:" moduleException types for TensorFlow errors.",type:"Modules",docs:`Exception types for TensorFlow errors. -`},{name:"estimator",path:"./tf/estimator.md",desc:" moduleEstimatorHigh level tools for working with models.",type:"Modules",docs:null},{name:"experimental",path:"./tf/experimental.md",desc:" modulePublic API for tf.experimental namespace.",type:"Modules",docs:`Public API for tf.experimental namespace. +`},{name:"estimator",path:"./tf/estimator.md",desc:" moduleEstimatorHigh level tools for working with models.",type:"Modules",docs:""},{name:"experimental",path:"./tf/experimental.md",desc:" modulePublic API for tf.experimental namespace.",type:"Modules",docs:`Public API for tf.experimental namespace. `},{name:"feature_column",path:"./tf/feature_column.md",desc:" modulePublic API for tf.feature_column namespace.",type:"Modules",docs:`Public API for tf.feature_column namespace. `},{name:"graph_util",path:"./tf/graph_util.md",desc:" moduleHelpers to manipulate a tensor graph in python.",type:"Modules",docs:`Helpers to manipulate a tensor graph in python. @@ -342,7 +342,7 @@ considered atoms: \`tf.nest.is_nested\` checks whether an object is a nested structure or an atom. For example: - >>> tf.nest.is_nested("1234") + \`\`\`>>> tf.nest.is_nested("1234") False >>> tf.nest.is_nested([1, 3, [4, 5]]) True @@ -364,6 +364,7 @@ For example: >>> tf.nest.is_nested(ones) False +\`\`\` Note: A proper structure shall form a tree. The user shall ensure there is no cyclic references within the items in the structure, i.e., no references in the structure of the input of these functions @@ -447,7 +448,7 @@ same number of pixels on both sides. Here is an example of \`'SAME'\` padding: ->>> in_height = 5 +\`\`\`>>> in_height = 5 >>> filter_height = 3 >>> stride_height = 2 >>> @@ -464,6 +465,7 @@ Here is an example of \`'SAME'\` padding: >>> output.shape[2] # output_width: ceil(2 / 1) 2 +\`\`\` ### Explicit padding Certain ops, like \`tf.nn.conv2d\`, also allow a list of explicit padding amounts @@ -477,7 +479,7 @@ have padding. For example: ->>> inp = tf.ones((1, 3, 3, 1)) +\`\`\`>>> inp = tf.ones((1, 3, 3, 1)) >>> filter = tf.ones((2, 2, 1, 1)) >>> strides = [1, 1] >>> padding = [[0, 0], [1, 2], [0, 1], [0, 0]] @@ -490,6 +492,7 @@ For example: >>> output2 = tf.nn.conv2d(inp, filter, strides, padding='VALID') >>> tf.debugging.assert_equal(output, output2) +\`\`\` `},{name:"profiler",path:"./tf/profiler.md",desc:" modulePublic API for tf.profiler namespace.",type:"Modules",docs:`Public API for tf.profiler namespace. `},{name:"quantization",path:"./tf/quantization.md",desc:" modulePublic API for tf.quantization namespace.",type:"Modules",docs:`Public API for tf.quantization namespace. `},{name:"queue",path:"./tf/queue.md",desc:" modulePublic API for tf.queue namespace.",type:"Modules",docs:`Public API for tf.queue namespace. @@ -679,20 +682,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. sess.run(v.initializer) sess.run(bad_sum) # May return 0.0 \`\`\` - `},{name:"DType",path:"./tf/dtypes/DType.md",desc:"Represents the type of the elements in a `Tensor`.",type:"Classes",docs:`Represents the type of the elements in a \`Tensor\`. - - \`DType\`'s are used to specify the output data type for operations which - require it, or to inspect the data type of existing \`Tensor\`'s. - - Examples: - - >>> tf.constant(1, dtype=tf.int64) - - >>> tf.constant(1.0).dtype - tf.float32 - - See \`tf.dtypes\` for a complete list of \`DType\`'s defined. - `},{name:"DeviceSpec",path:"./tf/DeviceSpec.md",desc:"Represents a (possibly partial",type:"Classes",docs:`Represents a (possibly partial) specification for a TensorFlow device. + `},{name:"DType",path:"./tf/dtypes/DType.md",desc:"Represents the type of the elements in a `Tensor`.",type:"Classes",docs:"Represents the type of the elements in a `Tensor`.\n\n `DType`'s are used to specify the output data type for operations which\n require it, or to inspect the data type of existing `Tensor`'s.\n\n Examples:\n\n ```>>> tf.constant(1, dtype=tf.int64)\n \n >>> tf.constant(1.0).dtype\n tf.float32\n\n```\n See `tf.dtypes` for a complete list of `DType`'s defined.\n "},{name:"DeviceSpec",path:"./tf/DeviceSpec.md",desc:"Represents a (possibly partial",type:"Classes",docs:`Represents a (possibly partial) specification for a TensorFlow device. \`DeviceSpec\`s are used throughout TensorFlow to describe where state is stored and computations occur. Using \`DeviceSpec\` allows you to parse device spec @@ -759,7 +749,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. For example, consider the function \`y = x * x\`. The gradient at \`x = 3.0\` can be computed as: - >>> x = tf.constant(3.0) + \`\`\`>>> x = tf.constant(3.0) >>> with tf.GradientTape() as g: ... g.watch(x) ... y = x * x @@ -767,9 +757,10 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. >>> print(dy_dx) tf.Tensor(6.0, shape=(), dtype=float32) +\`\`\` GradientTapes can be nested to compute higher-order derivatives. For example, - >>> x = tf.constant(5.0) + \`\`\`>>> x = tf.constant(5.0) >>> with tf.GradientTape() as g: ... g.watch(x) ... with tf.GradientTape() as gg: @@ -782,13 +773,14 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. >>> print(d2y_dx2) tf.Tensor(2.0, shape=(), dtype=float32) +\`\`\` By default, the resources held by a GradientTape are released as soon as GradientTape.gradient() method is called. To compute multiple gradients over the same computation, create a persistent gradient tape. This allows multiple calls to the gradient() method as resources are released when the tape object is garbage collected. For example: - >>> x = tf.constant(3.0) + \`\`\`>>> x = tf.constant(3.0) >>> with tf.GradientTape(persistent=True) as g: ... g.watch(x) ... y = x * x @@ -800,12 +792,13 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. >>> print(dy_dx) tf.Tensor(6.0, shape=(), dtype=float32) +\`\`\` By default GradientTape will automatically watch any trainable variables that are accessed inside the context. If you want fine grained control over which variables are watched you can disable automatic tracking by passing \`watch_accessed_variables=False\` to the tape constructor: - >>> x = tf.Variable(2.0) + \`\`\`>>> x = tf.Variable(2.0) >>> w = tf.Variable(5.0) >>> with tf.GradientTape( ... watch_accessed_variables=False, persistent=True) as tape: @@ -820,6 +813,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. >>> print(dz_dw) None +\`\`\` Note that when using models you should ensure that your variables exist when using \`watch_accessed_variables=False\`. Otherwise it's quite easy to make your first iteration not have any gradients: @@ -880,13 +874,13 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. \`tf.GraphKeys.GLOBAL_VARIABLES\`) for all variables that are created during the construction of a graph. The caller may define additional collections by specifying a new name. - `},{name:"IndexedSlices",path:"./tf/IndexedSlices.md",desc:"A sparse representation of a set of tensor slices at given indices.",type:"Classes",docs:"A sparse representation of a set of tensor slices at given indices.\n\n This class is a simple wrapper for a pair of `Tensor` objects:\n\n * `values`: A `Tensor` of any dtype with shape `[D0, D1, ..., Dn]`.\n * `indices`: A 1-D integer `Tensor` with shape `[D0]`.\n\n An `IndexedSlices` is typically used to represent a subset of a larger\n tensor `dense` of shape `[LARGE0, D1, .. , DN]` where `LARGE0 >> D0`.\n The values in `indices` are the indices in the first dimension of\n the slices that have been extracted from the larger tensor.\n\n The dense tensor `dense` represented by an `IndexedSlices` `slices` has\n\n ```python\n dense[slices.indices[i], :, :, :, ...] = slices.values[i, :, :, :, ...]\n ```\n\n The `IndexedSlices` class is used principally in the definition of\n gradients for operations that have sparse gradients\n (e.g. `tf.gather`).\n\n >>> v = tf.Variable([[0.,1, 2], [2, 3, 4], [4, 5, 6], [6, 7, 8]])\n >>> with tf.GradientTape() as tape:\n ... r = tf.gather(v, [1,3])\n >>> index_slices = tape.gradient(r,v)\n >>> index_slices\n <...IndexedSlices object ...>\n >>> index_slices.indices.numpy()\n array([1, 3], dtype=int32)\n >>> index_slices.values.numpy()\n array([[1., 1., 1.],\n [1., 1., 1.]], dtype=float32)\n\n Contrast this representation with\n `tf.sparse.SparseTensor`,\n which uses multi-dimensional indices and scalar values.\n "},{name:"IndexedSlicesSpec",path:"./tf/IndexedSlicesSpec.md",desc:'Type specification for a tf.IndexedSlices.',type:"Classes",docs:"Type specification for a `tf.IndexedSlices`."},{name:"Module",path:"./tf/Module.md",desc:"Base neural network module class.",type:"Classes",docs:`Base neural network module class. + `},{name:"IndexedSlices",path:"./tf/IndexedSlices.md",desc:"A sparse representation of a set of tensor slices at given indices.",type:"Classes",docs:"A sparse representation of a set of tensor slices at given indices.\n\n This class is a simple wrapper for a pair of `Tensor` objects:\n\n * `values`: A `Tensor` of any dtype with shape `[D0, D1, ..., Dn]`.\n * `indices`: A 1-D integer `Tensor` with shape `[D0]`.\n\n An `IndexedSlices` is typically used to represent a subset of a larger\n tensor `dense` of shape `[LARGE0, D1, .. , DN]` where `LARGE0 >> D0`.\n The values in `indices` are the indices in the first dimension of\n the slices that have been extracted from the larger tensor.\n\n The dense tensor `dense` represented by an `IndexedSlices` `slices` has\n\n ```python\n dense[slices.indices[i], :, :, :, ...] = slices.values[i, :, :, :, ...]\n ```\n\n The `IndexedSlices` class is used principally in the definition of\n gradients for operations that have sparse gradients\n (e.g. `tf.gather`).\n\n ```>>> v = tf.Variable([[0.,1, 2], [2, 3, 4], [4, 5, 6], [6, 7, 8]])\n >>> with tf.GradientTape() as tape:\n ... r = tf.gather(v, [1,3])\n >>> index_slices = tape.gradient(r,v)\n >>> index_slices\n <...IndexedSlices object ...>\n >>> index_slices.indices.numpy()\n array([1, 3], dtype=int32)\n >>> index_slices.values.numpy()\n array([[1., 1., 1.],\n [1., 1., 1.]], dtype=float32)\n\n```\n Contrast this representation with\n `tf.sparse.SparseTensor`,\n which uses multi-dimensional indices and scalar values.\n "},{name:"IndexedSlicesSpec",path:"./tf/IndexedSlicesSpec.md",desc:'Type specification for a tf.IndexedSlices.',type:"Classes",docs:"Type specification for a `tf.IndexedSlices`."},{name:"Module",path:"./tf/Module.md",desc:"Base neural network module class.",type:"Classes",docs:`Base neural network module class. A module is a named container for \`tf.Variable\`s, other \`tf.Module\`s and functions which apply to user input. For example a dense layer in a neural network might be implemented as a \`tf.Module\`: - >>> class Dense(tf.Module): + \`\`\`>>> class Dense(tf.Module): ... def __init__(self, input_dim, output_size, name=None): ... super(Dense, self).__init__(name=name) ... self.w = tf.Variable( @@ -896,22 +890,25 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. ... y = tf.matmul(x, self.w) + self.b ... return tf.nn.relu(y) +\`\`\` You can use the Dense layer as you would expect: - >>> d = Dense(input_dim=3, output_size=2) + \`\`\`>>> d = Dense(input_dim=3, output_size=2) >>> d(tf.ones([1, 3])) +\`\`\` By subclassing \`tf.Module\` instead of \`object\` any \`tf.Variable\` or \`tf.Module\` instances assigned to object properties can be collected using the \`variables\`, \`trainable_variables\` or \`submodules\` property: - >>> d.variables + \`\`\`>>> d.variables (, ) +\`\`\` Subclasses of \`tf.Module\` can also take advantage of the \`_flatten\` method which can be used to implement tracking of any other types. @@ -924,7 +921,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. \`with self.name_scope:\` or you can annotate methods (apart from \`__init__\`) with \`@tf.Module.with_name_scope\`. - >>> class MLP(tf.Module): + \`\`\`>>> class MLP(tf.Module): ... def __init__(self, input_size, sizes, name=None): ... super(MLP, self).__init__(name=name) ... self.layers = [] @@ -938,6 +935,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. ... x = layer(x) ... return x +\`\`\` >>> module = MLP(input_size=5, sizes=[5, 5]) >>> module.variables (, @@ -951,7 +949,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. For instance, \`tf.OptionalSpec\` can be used to define a tf.function that takes \`tf.experimental.Optional\` as an input argument: - >>> @tf.function(input_signature=[tf.OptionalSpec( + \`\`\`>>> @tf.function(input_signature=[tf.OptionalSpec( ... tf.TensorSpec(shape=(), dtype=tf.int32, name=None))]) ... def maybe_square(optional): ... if optional.has_value(): @@ -962,196 +960,11 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. >>> print(maybe_square(optional)) tf.Tensor(25, shape=(), dtype=int32) +\`\`\` Attributes: element_spec: A (nested) structure of \`TypeSpec\` objects that represents the type specification of the optional element. - `},{name:"RaggedTensor",path:"./tf/RaggedTensor.md",desc:"Represents a ragged tensor.",type:"Classes",docs:`Represents a ragged tensor. - - A \`RaggedTensor\` is a tensor with one or more *ragged dimensions*, which are - dimensions whose slices may have different lengths. For example, the inner - (column) dimension of \`rt=[[3, 1, 4, 1], [], [5, 9, 2], [6], []]\` is ragged, - since the column slices (\`rt[0, :]\`, ..., \`rt[4, :]\`) have different lengths. - Dimensions whose slices all have the same length are called *uniform - dimensions*. The outermost dimension of a \`RaggedTensor\` is always uniform, - since it consists of a single slice (and so there is no possibility for - differing slice lengths). - - The total number of dimensions in a \`RaggedTensor\` is called its *rank*, - and the number of ragged dimensions in a \`RaggedTensor\` is called its - *ragged-rank*. A \`RaggedTensor\`'s ragged-rank is fixed at graph creation - time: it can't depend on the runtime values of \`Tensor\`s, and can't vary - dynamically for different session runs. - - Note that the \`__init__\` constructor is private. Please use one of the - following methods to construct a \`RaggedTensor\`: - - * \`tf.RaggedTensor.from_row_lengths\` - * \`tf.RaggedTensor.from_value_rowids\` - * \`tf.RaggedTensor.from_row_splits\` - * \`tf.RaggedTensor.from_row_starts\` - * \`tf.RaggedTensor.from_row_limits\` - * \`tf.RaggedTensor.from_nested_row_splits\` - * \`tf.RaggedTensor.from_nested_row_lengths\` - * \`tf.RaggedTensor.from_nested_value_rowids\` - - ### Potentially Ragged Tensors - - Many ops support both \`Tensor\`s and \`RaggedTensor\`s - (see [tf.ragged](https://www.tensorflow.org/api_docs/python/tf/ragged) for a - full listing). The term "potentially ragged tensor" may be used to refer to a - tensor that might be either a \`Tensor\` or a \`RaggedTensor\`. The ragged-rank - of a \`Tensor\` is zero. - - ### Documenting RaggedTensor Shapes - - When documenting the shape of a RaggedTensor, ragged dimensions can be - indicated by enclosing them in parentheses. For example, the shape of - a 3-D \`RaggedTensor\` that stores the fixed-size word embedding for each - word in a sentence, for each sentence in a batch, could be written as - \`[num_sentences, (num_words), embedding_size]\`. The parentheses around - \`(num_words)\` indicate that dimension is ragged, and that the length - of each element list in that dimension may vary for each item. - - ### Component Tensors - - Internally, a \`RaggedTensor\` consists of a concatenated list of values that - are partitioned into variable-length rows. In particular, each \`RaggedTensor\` - consists of: - - * A \`values\` tensor, which concatenates the variable-length rows into a - flattened list. For example, the \`values\` tensor for - \`[[3, 1, 4, 1], [], [5, 9, 2], [6], []]\` is \`[3, 1, 4, 1, 5, 9, 2, 6]\`. - - * A \`row_splits\` vector, which indicates how those flattened values are - divided into rows. In particular, the values for row \`rt[i]\` are stored - in the slice \`rt.values[rt.row_splits[i]:rt.row_splits[i+1]]\`. - - Example: - - >>> print(tf.RaggedTensor.from_row_splits( - ... values=[3, 1, 4, 1, 5, 9, 2, 6], - ... row_splits=[0, 4, 4, 7, 8, 8])) - - - ### Alternative Row-Partitioning Schemes - - In addition to \`row_splits\`, ragged tensors provide support for five other - row-partitioning schemes: - - * \`row_lengths\`: a vector with shape \`[nrows]\`, which specifies the length - of each row. - - * \`value_rowids\` and \`nrows\`: \`value_rowids\` is a vector with shape - \`[nvals]\`, corresponding one-to-one with \`values\`, which specifies - each value's row index. In particular, the row \`rt[row]\` consists of the - values \`rt.values[j]\` where \`value_rowids[j]==row\`. \`nrows\` is an - integer scalar that specifies the number of rows in the - \`RaggedTensor\`. (\`nrows\` is used to indicate trailing empty rows.) - - * \`row_starts\`: a vector with shape \`[nrows]\`, which specifies the start - offset of each row. Equivalent to \`row_splits[:-1]\`. - - * \`row_limits\`: a vector with shape \`[nrows]\`, which specifies the stop - offset of each row. Equivalent to \`row_splits[1:]\`. - - * \`uniform_row_length\`: A scalar tensor, specifying the length of every - row. This row-partitioning scheme may only be used if all rows have - the same length. - - Example: The following ragged tensors are equivalent, and all represent the - nested list \`[[3, 1, 4, 1], [], [5, 9, 2], [6], []]\`. - - >>> values = [3, 1, 4, 1, 5, 9, 2, 6] - >>> RaggedTensor.from_row_splits(values, row_splits=[0, 4, 4, 7, 8, 8]) - - >>> RaggedTensor.from_row_lengths(values, row_lengths=[4, 0, 3, 1, 0]) - - >>> RaggedTensor.from_value_rowids( - ... values, value_rowids=[0, 0, 0, 0, 2, 2, 2, 3], nrows=5) - - >>> RaggedTensor.from_row_starts(values, row_starts=[0, 4, 4, 7, 8]) - - >>> RaggedTensor.from_row_limits(values, row_limits=[4, 4, 7, 8, 8]) - - >>> RaggedTensor.from_uniform_row_length(values, uniform_row_length=2) - - - ### Multiple Ragged Dimensions - - \`RaggedTensor\`s with multiple ragged dimensions can be defined by using - a nested \`RaggedTensor\` for the \`values\` tensor. Each nested \`RaggedTensor\` - adds a single ragged dimension. - - >>> inner_rt = RaggedTensor.from_row_splits( # =rt1 from above - ... values=[3, 1, 4, 1, 5, 9, 2, 6], row_splits=[0, 4, 4, 7, 8, 8]) - >>> outer_rt = RaggedTensor.from_row_splits( - ... values=inner_rt, row_splits=[0, 3, 3, 5]) - >>> print(outer_rt.to_list()) - [[[3, 1, 4, 1], [], [5, 9, 2]], [], [[6], []]] - >>> print(outer_rt.ragged_rank) - 2 - - The factory function \`RaggedTensor.from_nested_row_splits\` may be used to - construct a \`RaggedTensor\` with multiple ragged dimensions directly, by - providing a list of \`row_splits\` tensors: - - >>> RaggedTensor.from_nested_row_splits( - ... flat_values=[3, 1, 4, 1, 5, 9, 2, 6], - ... nested_row_splits=([0, 3, 3, 5], [0, 4, 4, 7, 8, 8])).to_list() - [[[3, 1, 4, 1], [], [5, 9, 2]], [], [[6], []]] - - ### Uniform Inner Dimensions - - \`RaggedTensor\`s with uniform inner dimensions can be defined - by using a multidimensional \`Tensor\` for \`values\`. - - >>> rt = RaggedTensor.from_row_splits(values=tf.ones([5, 3], tf.int32), - ... row_splits=[0, 2, 5]) - >>> print(rt.to_list()) - [[[1, 1, 1], [1, 1, 1]], - [[1, 1, 1], [1, 1, 1], [1, 1, 1]]] - >>> print(rt.shape) - (2, None, 3) - - ### Uniform Outer Dimensions - - \`RaggedTensor\`s with uniform outer dimensions can be defined by using - one or more \`RaggedTensor\` with a \`uniform_row_length\` row-partitioning - tensor. For example, a \`RaggedTensor\` with shape \`[2, 2, None]\` can be - constructed with this method from a \`RaggedTensor\` values with shape - \`[4, None]\`: - - >>> values = tf.ragged.constant([[1, 2, 3], [4], [5, 6], [7, 8, 9, 10]]) - >>> print(values.shape) - (4, None) - >>> rt6 = tf.RaggedTensor.from_uniform_row_length(values, 2) - >>> print(rt6) - - >>> print(rt6.shape) - (2, 2, None) - - Note that \`rt6\` only contains one ragged dimension (the innermost - dimension). In contrast, if \`from_row_splits\` is used to construct a similar - \`RaggedTensor\`, then that \`RaggedTensor\` will have two ragged dimensions: - - >>> rt7 = tf.RaggedTensor.from_row_splits(values, [0, 2, 4]) - >>> print(rt7.shape) - (2, None, None) - - Uniform and ragged outer dimensions may be interleaved, meaning that a - tensor with any combination of ragged and uniform dimensions may be created. - For example, a RaggedTensor \`t4\` with shape \`[3, None, 4, 8, None, 2]\` could - be constructed as follows: - - \`\`\`python - t0 = tf.zeros([1000, 2]) # Shape: [1000, 2] - t1 = RaggedTensor.from_row_lengths(t0, [...]) # [160, None, 2] - t2 = RaggedTensor.from_uniform_row_length(t1, 8) # [20, 8, None, 2] - t3 = RaggedTensor.from_uniform_row_length(t2, 4) # [5, 4, 8, None, 2] - t4 = RaggedTensor.from_row_lengths(t3, [...]) # [3, None, 4, 8, None, 2] - \`\`\` - - `},{name:"RaggedTensorSpec",path:"./tf/RaggedTensorSpec.md",desc:'Type specification for a tf.RaggedTensor.',type:"Classes",docs:"Type specification for a `tf.RaggedTensor`."},{name:"RegisterGradient",path:"./tf/RegisterGradient.md",desc:"A decorator for registering the gradient function for an op type.",type:"Classes",docs:'A decorator for registering the gradient function for an op type.\n\n This decorator is only used when defining a new op type. For an op\n with `m` inputs and `n` outputs, the gradient function is a function\n that takes the original `Operation` and `n` `Tensor` objects\n (representing the gradients with respect to each output of the op),\n and returns `m` `Tensor` objects (representing the partial gradients\n with respect to each input of the op).\n\n For example, assuming that operations of type `"Sub"` take two\n inputs `x` and `y`, and return a single output `x - y`, the\n following gradient function would be registered:\n\n ```python\n @tf.RegisterGradient("Sub")\n def _sub_grad(unused_op, grad):\n return grad, tf.negative(grad)\n ```\n\n The decorator argument `op_type` is the string type of an\n operation. This corresponds to the `OpDef.name` field for the proto\n that defines the operation.\n '},{name:"SparseTensor",path:"./tf/sparse/SparseTensor.md",desc:"Represents a sparse tensor.",type:"Classes",docs:"Represents a sparse tensor.\n\n TensorFlow represents a sparse tensor as three separate dense tensors:\n `indices`, `values`, and `dense_shape`. In Python, the three tensors are\n collected into a `SparseTensor` class for ease of use. If you have separate\n `indices`, `values`, and `dense_shape` tensors, wrap them in a `SparseTensor`\n object before passing to the ops below.\n\n Concretely, the sparse tensor `SparseTensor(indices, values, dense_shape)`\n comprises the following components, where `N` and `ndims` are the number\n of values and number of dimensions in the `SparseTensor`, respectively:\n\n * `indices`: A 2-D int64 tensor of shape `[N, ndims]`, which specifies the\n indices of the elements in the sparse tensor that contain nonzero values\n (elements are zero-indexed). For example, `indices=[[1,3], [2,4]]` specifies\n that the elements with indexes of [1,3] and [2,4] have nonzero values.\n\n * `values`: A 1-D tensor of any type and shape `[N]`, which supplies the\n values for each element in `indices`. For example, given `indices=[[1,3],\n [2,4]]`, the parameter `values=[18, 3.6]` specifies that element [1,3] of\n the sparse tensor has a value of 18, and element [2,4] of the tensor has a\n value of 3.6.\n\n * `dense_shape`: A 1-D int64 tensor of shape `[ndims]`, which specifies the\n dense_shape of the sparse tensor. Takes a list indicating the number of\n elements in each dimension. For example, `dense_shape=[3,6]` specifies a\n two-dimensional 3x6 tensor, `dense_shape=[2,3,4]` specifies a\n three-dimensional 2x3x4 tensor, and `dense_shape=[9]` specifies a\n one-dimensional tensor with 9 elements.\n\n The corresponding dense tensor satisfies:\n\n ```python\n dense.shape = dense_shape\n dense[tuple(indices[i])] = values[i]\n ```\n\n By convention, `indices` should be sorted in row-major order (or equivalently\n lexicographic order on the tuples `indices[i]`). This is not enforced when\n `SparseTensor` objects are constructed, but most ops assume correct ordering.\n If the ordering of sparse tensor `st` is wrong, a fixed version can be\n obtained by calling `tf.sparse.reorder(st)`.\n\n Example: The sparse tensor\n\n ```python\n SparseTensor(indices=[[0, 0], [1, 2]], values=[1, 2], dense_shape=[3, 4])\n ```\n\n represents the dense tensor\n\n ```python\n [[1, 0, 0, 0]\n [0, 0, 2, 0]\n [0, 0, 0, 0]]\n ```\n "},{name:"SparseTensorSpec",path:"./tf/SparseTensorSpec.md",desc:'Type specification for a tf.sparse.SparseTensor.',type:"Classes",docs:"Type specification for a `tf.sparse.SparseTensor`."},{name:"Tensor",path:"./tf/Tensor.md",desc:'A tf.Tensor represents a multidimensional array of elements.',type:"Classes",docs:`A \`tf.Tensor\` represents a multidimensional array of elements. + `},{name:"RaggedTensor",path:"./tf/RaggedTensor.md",desc:"Represents a ragged tensor.",type:"Classes",docs:"Represents a ragged tensor.\n\n A `RaggedTensor` is a tensor with one or more *ragged dimensions*, which are\n dimensions whose slices may have different lengths. For example, the inner\n (column) dimension of `rt=[[3, 1, 4, 1], [], [5, 9, 2], [6], []]` is ragged,\n since the column slices (`rt[0, :]`, ..., `rt[4, :]`) have different lengths.\n Dimensions whose slices all have the same length are called *uniform\n dimensions*. The outermost dimension of a `RaggedTensor` is always uniform,\n since it consists of a single slice (and so there is no possibility for\n differing slice lengths).\n\n The total number of dimensions in a `RaggedTensor` is called its *rank*,\n and the number of ragged dimensions in a `RaggedTensor` is called its\n *ragged-rank*. A `RaggedTensor`'s ragged-rank is fixed at graph creation\n time: it can't depend on the runtime values of `Tensor`s, and can't vary\n dynamically for different session runs.\n\n Note that the `__init__` constructor is private. Please use one of the\n following methods to construct a `RaggedTensor`:\n\n * `tf.RaggedTensor.from_row_lengths`\n * `tf.RaggedTensor.from_value_rowids`\n * `tf.RaggedTensor.from_row_splits`\n * `tf.RaggedTensor.from_row_starts`\n * `tf.RaggedTensor.from_row_limits`\n * `tf.RaggedTensor.from_nested_row_splits`\n * `tf.RaggedTensor.from_nested_row_lengths`\n * `tf.RaggedTensor.from_nested_value_rowids`\n\n ### Potentially Ragged Tensors\n\n Many ops support both `Tensor`s and `RaggedTensor`s\n (see [tf.ragged](https://www.tensorflow.org/api_docs/python/tf/ragged) for a\n full listing). The term \"potentially ragged tensor\" may be used to refer to a\n tensor that might be either a `Tensor` or a `RaggedTensor`. The ragged-rank\n of a `Tensor` is zero.\n\n ### Documenting RaggedTensor Shapes\n\n When documenting the shape of a RaggedTensor, ragged dimensions can be\n indicated by enclosing them in parentheses. For example, the shape of\n a 3-D `RaggedTensor` that stores the fixed-size word embedding for each\n word in a sentence, for each sentence in a batch, could be written as\n `[num_sentences, (num_words), embedding_size]`. The parentheses around\n `(num_words)` indicate that dimension is ragged, and that the length\n of each element list in that dimension may vary for each item.\n\n ### Component Tensors\n\n Internally, a `RaggedTensor` consists of a concatenated list of values that\n are partitioned into variable-length rows. In particular, each `RaggedTensor`\n consists of:\n\n * A `values` tensor, which concatenates the variable-length rows into a\n flattened list. For example, the `values` tensor for\n `[[3, 1, 4, 1], [], [5, 9, 2], [6], []]` is `[3, 1, 4, 1, 5, 9, 2, 6]`.\n\n * A `row_splits` vector, which indicates how those flattened values are\n divided into rows. In particular, the values for row `rt[i]` are stored\n in the slice `rt.values[rt.row_splits[i]:rt.row_splits[i+1]]`.\n\n Example:\n\n ```>>> print(tf.RaggedTensor.from_row_splits(\n ... values=[3, 1, 4, 1, 5, 9, 2, 6],\n ... row_splits=[0, 4, 4, 7, 8, 8]))\n \n\n```\n ### Alternative Row-Partitioning Schemes\n\n In addition to `row_splits`, ragged tensors provide support for five other\n row-partitioning schemes:\n\n * `row_lengths`: a vector with shape `[nrows]`, which specifies the length\n of each row.\n\n * `value_rowids` and `nrows`: `value_rowids` is a vector with shape\n `[nvals]`, corresponding one-to-one with `values`, which specifies\n each value's row index. In particular, the row `rt[row]` consists of the\n values `rt.values[j]` where `value_rowids[j]==row`. `nrows` is an\n integer scalar that specifies the number of rows in the\n `RaggedTensor`. (`nrows` is used to indicate trailing empty rows.)\n\n * `row_starts`: a vector with shape `[nrows]`, which specifies the start\n offset of each row. Equivalent to `row_splits[:-1]`.\n\n * `row_limits`: a vector with shape `[nrows]`, which specifies the stop\n offset of each row. Equivalent to `row_splits[1:]`.\n\n * `uniform_row_length`: A scalar tensor, specifying the length of every\n row. This row-partitioning scheme may only be used if all rows have\n the same length.\n\n Example: The following ragged tensors are equivalent, and all represent the\n nested list `[[3, 1, 4, 1], [], [5, 9, 2], [6], []]`.\n\n ```>>> values = [3, 1, 4, 1, 5, 9, 2, 6]\n >>> RaggedTensor.from_row_splits(values, row_splits=[0, 4, 4, 7, 8, 8])\n \n >>> RaggedTensor.from_row_lengths(values, row_lengths=[4, 0, 3, 1, 0])\n \n >>> RaggedTensor.from_value_rowids(\n ... values, value_rowids=[0, 0, 0, 0, 2, 2, 2, 3], nrows=5)\n \n >>> RaggedTensor.from_row_starts(values, row_starts=[0, 4, 4, 7, 8])\n \n >>> RaggedTensor.from_row_limits(values, row_limits=[4, 4, 7, 8, 8])\n \n >>> RaggedTensor.from_uniform_row_length(values, uniform_row_length=2)\n \n\n```\n ### Multiple Ragged Dimensions\n\n `RaggedTensor`s with multiple ragged dimensions can be defined by using\n a nested `RaggedTensor` for the `values` tensor. Each nested `RaggedTensor`\n adds a single ragged dimension.\n\n ```>>> inner_rt = RaggedTensor.from_row_splits( # =rt1 from above\n ... values=[3, 1, 4, 1, 5, 9, 2, 6], row_splits=[0, 4, 4, 7, 8, 8])\n >>> outer_rt = RaggedTensor.from_row_splits(\n ... values=inner_rt, row_splits=[0, 3, 3, 5])\n >>> print(outer_rt.to_list())\n [[[3, 1, 4, 1], [], [5, 9, 2]], [], [[6], []]]\n >>> print(outer_rt.ragged_rank)\n 2\n\n```\n The factory function `RaggedTensor.from_nested_row_splits` may be used to\n construct a `RaggedTensor` with multiple ragged dimensions directly, by\n providing a list of `row_splits` tensors:\n\n ```>>> RaggedTensor.from_nested_row_splits(\n ... flat_values=[3, 1, 4, 1, 5, 9, 2, 6],\n ... nested_row_splits=([0, 3, 3, 5], [0, 4, 4, 7, 8, 8])).to_list()\n [[[3, 1, 4, 1], [], [5, 9, 2]], [], [[6], []]]\n\n```\n ### Uniform Inner Dimensions\n\n `RaggedTensor`s with uniform inner dimensions can be defined\n by using a multidimensional `Tensor` for `values`.\n\n ```>>> rt = RaggedTensor.from_row_splits(values=tf.ones([5, 3], tf.int32),\n ... row_splits=[0, 2, 5])\n >>> print(rt.to_list())\n [[[1, 1, 1], [1, 1, 1]],\n [[1, 1, 1], [1, 1, 1], [1, 1, 1]]]\n >>> print(rt.shape)\n (2, None, 3)\n\n```\n ### Uniform Outer Dimensions\n\n `RaggedTensor`s with uniform outer dimensions can be defined by using\n one or more `RaggedTensor` with a `uniform_row_length` row-partitioning\n tensor. For example, a `RaggedTensor` with shape `[2, 2, None]` can be\n constructed with this method from a `RaggedTensor` values with shape\n `[4, None]`:\n\n ```>>> values = tf.ragged.constant([[1, 2, 3], [4], [5, 6], [7, 8, 9, 10]])\n >>> print(values.shape)\n (4, None)\n >>> rt6 = tf.RaggedTensor.from_uniform_row_length(values, 2)\n >>> print(rt6)\n \n >>> print(rt6.shape)\n (2, 2, None)\n\n```\n Note that `rt6` only contains one ragged dimension (the innermost\n dimension). In contrast, if `from_row_splits` is used to construct a similar\n `RaggedTensor`, then that `RaggedTensor` will have two ragged dimensions:\n\n ```>>> rt7 = tf.RaggedTensor.from_row_splits(values, [0, 2, 4])\n >>> print(rt7.shape)\n (2, None, None)\n\n```\n Uniform and ragged outer dimensions may be interleaved, meaning that a\n tensor with any combination of ragged and uniform dimensions may be created.\n For example, a RaggedTensor `t4` with shape `[3, None, 4, 8, None, 2]` could\n be constructed as follows:\n\n ```python\n t0 = tf.zeros([1000, 2]) # Shape: [1000, 2]\n t1 = RaggedTensor.from_row_lengths(t0, [...]) # [160, None, 2]\n t2 = RaggedTensor.from_uniform_row_length(t1, 8) # [20, 8, None, 2]\n t3 = RaggedTensor.from_uniform_row_length(t2, 4) # [5, 4, 8, None, 2]\n t4 = RaggedTensor.from_row_lengths(t3, [...]) # [3, None, 4, 8, None, 2]\n ```\n\n "},{name:"RaggedTensorSpec",path:"./tf/RaggedTensorSpec.md",desc:'Type specification for a tf.RaggedTensor.',type:"Classes",docs:"Type specification for a `tf.RaggedTensor`."},{name:"RegisterGradient",path:"./tf/RegisterGradient.md",desc:"A decorator for registering the gradient function for an op type.",type:"Classes",docs:'A decorator for registering the gradient function for an op type.\n\n This decorator is only used when defining a new op type. For an op\n with `m` inputs and `n` outputs, the gradient function is a function\n that takes the original `Operation` and `n` `Tensor` objects\n (representing the gradients with respect to each output of the op),\n and returns `m` `Tensor` objects (representing the partial gradients\n with respect to each input of the op).\n\n For example, assuming that operations of type `"Sub"` take two\n inputs `x` and `y`, and return a single output `x - y`, the\n following gradient function would be registered:\n\n ```python\n @tf.RegisterGradient("Sub")\n def _sub_grad(unused_op, grad):\n return grad, tf.negative(grad)\n ```\n\n The decorator argument `op_type` is the string type of an\n operation. This corresponds to the `OpDef.name` field for the proto\n that defines the operation.\n '},{name:"SparseTensor",path:"./tf/sparse/SparseTensor.md",desc:"Represents a sparse tensor.",type:"Classes",docs:"Represents a sparse tensor.\n\n TensorFlow represents a sparse tensor as three separate dense tensors:\n `indices`, `values`, and `dense_shape`. In Python, the three tensors are\n collected into a `SparseTensor` class for ease of use. If you have separate\n `indices`, `values`, and `dense_shape` tensors, wrap them in a `SparseTensor`\n object before passing to the ops below.\n\n Concretely, the sparse tensor `SparseTensor(indices, values, dense_shape)`\n comprises the following components, where `N` and `ndims` are the number\n of values and number of dimensions in the `SparseTensor`, respectively:\n\n * `indices`: A 2-D int64 tensor of shape `[N, ndims]`, which specifies the\n indices of the elements in the sparse tensor that contain nonzero values\n (elements are zero-indexed). For example, `indices=[[1,3], [2,4]]` specifies\n that the elements with indexes of [1,3] and [2,4] have nonzero values.\n\n * `values`: A 1-D tensor of any type and shape `[N]`, which supplies the\n values for each element in `indices`. For example, given `indices=[[1,3],\n [2,4]]`, the parameter `values=[18, 3.6]` specifies that element [1,3] of\n the sparse tensor has a value of 18, and element [2,4] of the tensor has a\n value of 3.6.\n\n * `dense_shape`: A 1-D int64 tensor of shape `[ndims]`, which specifies the\n dense_shape of the sparse tensor. Takes a list indicating the number of\n elements in each dimension. For example, `dense_shape=[3,6]` specifies a\n two-dimensional 3x6 tensor, `dense_shape=[2,3,4]` specifies a\n three-dimensional 2x3x4 tensor, and `dense_shape=[9]` specifies a\n one-dimensional tensor with 9 elements.\n\n The corresponding dense tensor satisfies:\n\n ```python\n dense.shape = dense_shape\n dense[tuple(indices[i])] = values[i]\n ```\n\n By convention, `indices` should be sorted in row-major order (or equivalently\n lexicographic order on the tuples `indices[i]`). This is not enforced when\n `SparseTensor` objects are constructed, but most ops assume correct ordering.\n If the ordering of sparse tensor `st` is wrong, a fixed version can be\n obtained by calling `tf.sparse.reorder(st)`.\n\n Example: The sparse tensor\n\n ```python\n SparseTensor(indices=[[0, 0], [1, 2]], values=[1, 2], dense_shape=[3, 4])\n ```\n\n represents the dense tensor\n\n ```python\n [[1, 0, 0, 0]\n [0, 0, 2, 0]\n [0, 0, 0, 0]]\n ```\n "},{name:"SparseTensorSpec",path:"./tf/SparseTensorSpec.md",desc:'Type specification for a tf.sparse.SparseTensor.',type:"Classes",docs:"Type specification for a `tf.sparse.SparseTensor`."},{name:"Tensor",path:"./tf/Tensor.md",desc:'A tf.Tensor represents a multidimensional array of elements.',type:"Classes",docs:`A \`tf.Tensor\` represents a multidimensional array of elements. All elements are of a single known data type. @@ -1171,7 +984,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. TensorFlow defaults to eager execution. In the example below, the matrix multiplication results are calculated immediately. - >>> # Compute some values using a Tensor + \`\`\`>>> # Compute some values using a Tensor >>> c = tf.constant([[1.0, 2.0], [3.0, 4.0]]) >>> d = tf.constant([[1.0, 1.0], [0.0, 1.0]]) >>> e = tf.matmul(c, d) @@ -1180,16 +993,18 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. [[1. 3.] [3. 7.]], shape=(2, 2), dtype=float32) +\`\`\` Note that during eager execution, you may discover your \`Tensors\` are actually of type \`EagerTensor\`. This is an internal detail, but it does give you access to a useful function, \`numpy\`: - >>> type(e) + \`\`\`>>> type(e) >>> print(e.numpy()) [[1. 3.] [3. 7.]] +\`\`\` In TensorFlow, \`tf.function\`s are a common way to define graph execution. A Tensor's shape (that is, the rank of the Tensor and the size of @@ -1227,7 +1042,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. Example 1: Plain reading and writing. - >>> ta = tf.TensorArray(tf.float32, size=0, dynamic_size=True, clear_after_read=False) + \`\`\`>>> ta = tf.TensorArray(tf.float32, size=0, dynamic_size=True, clear_after_read=False) >>> ta = ta.write(0, 10) >>> ta = ta.write(1, 20) >>> ta = ta.write(2, 30) @@ -1242,9 +1057,10 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. +\`\`\` Example 2: Fibonacci sequence algorithm that writes in a loop then returns. - >>> @tf.function + \`\`\`>>> @tf.function ... def fibonacci(n): ... ta = tf.TensorArray(tf.float32, size=0, dynamic_size=True) ... ta = ta.unstack([0., 1.]) @@ -1258,6 +1074,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. +\`\`\` Example 3: A simple loop interacting with a \`tf.Variable\`. >>> v = tf.Variable(1) @@ -1318,24 +1135,26 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. and shape of the variable. After construction, the type and shape of the variable are fixed. The value can be changed using one of the assign methods. - >>> v = tf.Variable(1.) + \`\`\`>>> v = tf.Variable(1.) >>> v.assign(2.) >>> v.assign_add(0.5) +\`\`\` The \`shape\` argument to \`Variable\`'s constructor allows you to construct a variable with a less defined shape than its \`initial_value\`: - >>> v = tf.Variable(1., shape=tf.TensorShape(None)) + \`\`\`>>> v = tf.Variable(1., shape=tf.TensorShape(None)) >>> v.assign([[1.]]) dtype=float32, numpy=array([[1.]], ...)> +\`\`\` Just like any \`Tensor\`, variables created with \`Variable()\` can be used as inputs to operations. Additionally, all the operators overloaded for the \`Tensor\` class are carried over to variables. - >>> w = tf.Variable([[1.], [2.]]) + \`\`\`>>> w = tf.Variable([[1.], [2.]]) >>> x = tf.constant([[3., 4.]]) >>> tf.matmul(w, x) >> tf.sigmoid(w + x) +\`\`\` When building a machine learning model it is often convenient to distinguish between variables holding trainable model parameters and other variables such as a \`step\` variable used to count training steps. To make this easier, the variable constructor supports a \`trainable=\` parameter. \`tf.GradientTape\` watches trainable variables by default: - >>> with tf.GradientTape(persistent=True) as tape: + \`\`\`>>> with tf.GradientTape(persistent=True) as tape: ... trainable = tf.Variable(1.) ... non_trainable = tf.Variable(2., trainable=False) ... x1 = trainable * 2. @@ -1359,14 +1179,16 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. >>> assert tape.gradient(x2, non_trainable) is None # Unwatched +\`\`\` Variables are automatically tracked when assigned to attributes of types inheriting from \`tf.Module\`. - >>> m = tf.Module() + \`\`\`>>> m = tf.Module() >>> m.v = tf.Variable([1.]) >>> m.trainable_variables (,) +\`\`\` This tracking then allows saving variable values to [training checkpoints](https://www.tensorflow.org/guide/checkpoint), or to [SavedModels](https://www.tensorflow.org/guide/saved_model) which include @@ -1375,17 +1197,18 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. Variables are often captured and manipulated by \`tf.function\`s. This works the same way the un-decorated function would have: - >>> v = tf.Variable(0.) + \`\`\`>>> v = tf.Variable(0.) >>> read_and_decrement = tf.function(lambda: v.assign_sub(0.1)) >>> read_and_decrement() >>> read_and_decrement() +\`\`\` Variables created inside a \`tf.function\` must be owned outside the function and be created only once: - >>> class M(tf.Module): + \`\`\`>>> class M(tf.Module): ... @tf.function ... def __call__(self, x): ... if not hasattr(self, "v"): # Or set self.v to None in __init__ @@ -1399,6 +1222,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. >>> m.v +\`\`\` See the \`tf.function\` documentation for details. `},{name:"VariableAggregation",path:"./tf/VariableAggregation.md",desc:"Indicates how a distributed variable will be aggregated.",type:"Classes",docs:`Indicates how a distributed variable will be aggregated. @@ -1454,7 +1278,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. Examples: - >>> def make_variables(k, initializer): + \`\`\`>>> def make_variables(k, initializer): ... return (tf.Variable(initializer(shape=[k], dtype=tf.float32)), ... tf.Variable(initializer(shape=[k, k], dtype=tf.float32))) >>> v1, v2 = make_variables(3, tf.constant_initializer(2.)) @@ -1468,7 +1292,8 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. >>> make_variables(4, tf.random_uniform_initializer(minval=-1., maxval=1.)) (, >> value = [0, 1, 2, 3, 4, 5, 6, 7] +\`\`\` + \`\`\`>>> value = [0, 1, 2, 3, 4, 5, 6, 7] >>> init = tf.constant_initializer(value) >>> # Fitting shape >>> tf.Variable(init(shape=[2, 4], dtype=tf.float32)) @@ -1486,6 +1311,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. ... TypeError: ...value has 8 elements, shape is (2, 3) with 6 elements... +\`\`\` Args: value: A Python scalar, list or tuple of values, or a N-dimensional numpy array. All elements of the initialized variable will be set to the @@ -1522,7 +1348,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. Examples: - >>> def make_variables(k, initializer): + \`\`\`>>> def make_variables(k, initializer): ... return (tf.Variable(initializer(shape=[k], dtype=tf.float32)), ... tf.Variable(initializer(shape=[k, k], dtype=tf.float32))) >>> v1, v2 = make_variables(3, @@ -1535,6 +1361,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. >>> make_variables(4, tf.random_uniform_initializer(minval=-1., maxval=1.)) (, >> def make_variables(k, initializer): + \`\`\`>>> def make_variables(k, initializer): ... return (tf.Variable(initializer(shape=[k], dtype=tf.float32)), ... tf.Variable(initializer(shape=[k, k], dtype=tf.float32))) >>> v1, v2 = make_variables(3, tf.ones_initializer()) @@ -1565,6 +1392,7 @@ https://github.com/tensorflow/community/blob/master/rfcs/20200211-tf-types.md. >>> make_variables(4, tf.random_uniform_initializer(minval=-1., maxval=1.)) (, >> # real number\n >>> x = tf.constant([-2.25, 3.25])\n >>> tf.abs(x)\n \n\n >>> # complex number\n >>> x = tf.constant([[-2.25 + 4.75j], [-3.25 + 5.75j]])\n >>> tf.abs(x)\n \n\n Args:\n x: A `Tensor` or `SparseTensor` of type `float16`, `float32`, `float64`,\n `int32`, `int64`, `complex64` or `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` or `SparseTensor` of the same size, type and sparsity as `x`,\n with absolute values. Note, for `complex64` or `complex128` input, the\n returned `Tensor` will be of type `float32` or `float64`, respectively.\n\n If `x` is a `SparseTensor`, returns\n `SparseTensor(x.indices, tf.math.abs(x.values, ...), x.dense_shape)`"},{name:"acos",path:"./tf/math/acos.md",desc:"Computes acos of x element-wise.",type:"Functions",docs:"Computes acos of x element-wise.\n\n Provided an input tensor, the `tf.math.acos` operation\n returns the inverse cosine of each element of the tensor.\n If `y = tf.math.cos(x)` then, `x = tf.math.acos(y)`.\n\n Input range is `[-1, 1]` and the output has a range of `[0, pi]`.\n\n For example:\n\n >>> x = tf.constant([1.0, -0.5, 3.4, 0.2, 0.0, -2], dtype = tf.float32)\n >>> tf.math.acos(x)\n \n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`,\n `float32`, `float64`, `uint8`, `int8`, `int16`, `int32`, `int64`,\n `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as x.\n "},{name:"acosh",path:"./tf/math/acosh.md",desc:"Computes inverse hyperbolic cosine of x element-wise.",type:"Functions",docs:'Computes inverse hyperbolic cosine of x element-wise.\n\n Given an input tensor, the function computes inverse hyperbolic cosine of every element.\n Input range is `[1, inf]`. It returns `nan` if the input lies outside the range.\n\n ```python\n x = tf.constant([-2, -0.5, 1, 1.2, 200, 10000, float("inf")])\n tf.math.acosh(x) ==> [nan nan 0. 0.62236255 5.9914584 9.903487 inf]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"add",path:"./tf/math/add.md",desc:"Returns x + y element-wise.",type:"Functions",docs:`Returns x + y element-wise. +Note: The output of this function should be used. If it is not, a warning will be logged or an error may be raised. To mark the output as used, call its .mark_used() method.`},{name:"abs",path:"./tf/math/abs.md",desc:"Computes the absolute value of a tensor.",type:"Functions",docs:"Computes the absolute value of a tensor.\n\n Given a tensor of integer or floating-point values, this operation returns a\n tensor of the same type, where each element contains the absolute value of the\n corresponding element in the input.\n\n Given a tensor `x` of complex numbers, this operation returns a tensor of type\n `float32` or `float64` that is the absolute value of each element in `x`. For\n a complex number \\\\(a + bj\\\\), its absolute value is computed as\n \\\\(\\sqrt{a^2 + b^2}\\\\).\n\n For example:\n\n ```>>> # real number\n >>> x = tf.constant([-2.25, 3.25])\n >>> tf.abs(x)\n \n\n```\n ```>>> # complex number\n >>> x = tf.constant([[-2.25 + 4.75j], [-3.25 + 5.75j]])\n >>> tf.abs(x)\n \n\n```\n Args:\n x: A `Tensor` or `SparseTensor` of type `float16`, `float32`, `float64`,\n `int32`, `int64`, `complex64` or `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` or `SparseTensor` of the same size, type and sparsity as `x`,\n with absolute values. Note, for `complex64` or `complex128` input, the\n returned `Tensor` will be of type `float32` or `float64`, respectively.\n\n If `x` is a `SparseTensor`, returns\n `SparseTensor(x.indices, tf.math.abs(x.values, ...), x.dense_shape)`"},{name:"acos",path:"./tf/math/acos.md",desc:"Computes acos of x element-wise.",type:"Functions",docs:"Computes acos of x element-wise.\n\n Provided an input tensor, the `tf.math.acos` operation\n returns the inverse cosine of each element of the tensor.\n If `y = tf.math.cos(x)` then, `x = tf.math.acos(y)`.\n\n Input range is `[-1, 1]` and the output has a range of `[0, pi]`.\n\n For example:\n\n ```>>> x = tf.constant([1.0, -0.5, 3.4, 0.2, 0.0, -2], dtype = tf.float32)\n >>> tf.math.acos(x)\n \n\n```\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`,\n `float32`, `float64`, `uint8`, `int8`, `int16`, `int32`, `int64`,\n `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as x.\n "},{name:"acosh",path:"./tf/math/acosh.md",desc:"Computes inverse hyperbolic cosine of x element-wise.",type:"Functions",docs:'Computes inverse hyperbolic cosine of x element-wise.\n\n Given an input tensor, the function computes inverse hyperbolic cosine of every element.\n Input range is `[1, inf]`. It returns `nan` if the input lies outside the range.\n\n ```python\n x = tf.constant([-2, -0.5, 1, 1.2, 200, 10000, float("inf")])\n tf.math.acosh(x) ==> [nan nan 0. 0.62236255 5.9914584 9.903487 inf]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"add",path:"./tf/math/add.md",desc:"Returns x + y element-wise.",type:"Functions",docs:`Returns x + y element-wise. Example usages below. Add a scalar and a list: - >>> x = [1, 2, 3, 4, 5] + \`\`\`>>> x = [1, 2, 3, 4, 5] >>> y = 1 >>> tf.add(x, y) +\`\`\` Note that binary \`+\` operator can be used instead: - >>> x = tf.convert_to_tensor([1, 2, 3, 4, 5]) + \`\`\`>>> x = tf.convert_to_tensor([1, 2, 3, 4, 5]) >>> y = tf.convert_to_tensor(1) >>> x + y +\`\`\` Add a tensor and a list of same shape: - >>> x = [1, 2, 3, 4, 5] + \`\`\`>>> x = [1, 2, 3, 4, 5] >>> y = tf.constant([1, 2, 3, 4, 5]) >>> tf.add(x, y) +\`\`\` **Warning**: If one of the inputs (\`x\` or \`y\`) is a tensor and the other is a non-tensor, the non-tensor input will adopt (or get casted to) the data type of the tensor input. This can potentially cause unwanted overflow or underflow @@ -1661,11 +1492,12 @@ Note: The output of this function should be used. If it is not, a warning will b For example, - >>> x = tf.constant([1, 2], dtype=tf.int8) + \`\`\`>>> x = tf.constant([1, 2], dtype=tf.int8) >>> y = [2**7 + 1, 2**7 + 2] >>> tf.add(x, y) +\`\`\` When adding two input values of different shapes, \`Add\` follows NumPy broadcasting rules. The two input array shapes are compared element-wise. Starting with the trailing dimensions, the two dimensions either have to be @@ -1673,18 +1505,20 @@ Note: The output of this function should be used. If it is not, a warning will b For example, - >>> x = np.ones(6).reshape(1, 2, 1, 3) + \`\`\`>>> x = np.ones(6).reshape(1, 2, 1, 3) >>> y = np.ones(6).reshape(2, 1, 3, 1) >>> tf.add(x, y).shape.as_list() [2, 2, 3, 3] +\`\`\` Another example with two arrays of different dimension. - >>> x = np.ones([1, 2, 1, 4]) + \`\`\`>>> x = np.ones([1, 2, 1, 4]) >>> y = np.ones([3, 4]) >>> tf.add(x, y).shape.as_list() [1, 2, 3, 4] +\`\`\` The reduction version of this elementwise operation is \`tf.math.reduce_sum\` Args: @@ -1704,13 +1538,14 @@ Note: The output of this function should be used. If it is not, a warning will b For example: - >>> a = tf.constant([[3, 5], [4, 8]]) + \`\`\`>>> a = tf.constant([[3, 5], [4, 8]]) >>> b = tf.constant([[1, 6], [2, 9]]) >>> tf.math.add_n([a, b, a]) +\`\`\` Args: inputs: A list of \`tf.Tensor\` or \`tf.IndexedSlices\` objects, each with the same shape and type. \`tf.IndexedSlices\` objects will be converted into @@ -1729,7 +1564,7 @@ Note: The output of this function should be used. If it is not, a warning will b For example: - >>> A = tf.constant([2, 20, 30, 3, 6]) + \`\`\`>>> A = tf.constant([2, 20, 30, 3, 6]) >>> tf.math.argmax(A) # A[2] is maximum in tensor A >>> B = tf.constant([[2, 20, 30, 3, 6], [3, 11, 16, 1, 8], @@ -1742,6 +1577,7 @@ Note: The output of this function should be used. If it is not, a warning will b >>> tf.math.argmax(C) # Returns smallest index in case of ties +\`\`\` Args: input: A \`Tensor\`. axis: An integer, the axis to reduce across. Default to 0. @@ -1753,21 +1589,23 @@ Note: The output of this function should be used. If it is not, a warning will b A \`Tensor\` of type \`output_type\`. `},{name:"argmin",path:"./tf/math/argmin.md",desc:"Returns the index with the smallest value across axes of a tensor.",type:"Functions",docs:"Returns the index with the smallest value across axes of a tensor.\n\n Returns the smallest index in case of ties.\n\n Args:\n input: A `Tensor`. Must be one of the following types: `float32`, `float64`,\n `int32`, `uint8`, `int16`, `int8`, `complex64`, `int64`, `qint8`,\n `quint8`, `qint32`, `bfloat16`, `uint16`, `complex128`, `half`, `uint32`,\n `uint64`.\n axis: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n int32 or int64, must be in the range `-rank(input), rank(input))`.\n Describes which axis of the input Tensor to reduce across. For vectors,\n use axis = 0.\n output_type: An optional `tf.DType` from: `tf.int32, tf.int64`. Defaults to\n `tf.int64`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `output_type`.\n\n Usage:\n ```python\n import tensorflow as tf\n a = [1, 10, 26.9, 2.8, 166.32, 62.3]\n b = tf.math.argmin(input = a)\n c = tf.keras.backend.eval(b)\n # c = 0\n # here a[0] = 1 which is the smallest element of a across axis 0\n ```\n "},{name:"argsort",path:"./tf/argsort.md",desc:"Returns the indices of a tensor that give its sorted order along an axis.",type:"Functions",docs:`Returns the indices of a tensor that give its sorted order along an axis. - >>> values = [1, 10, 26.9, 2.8, 166.32, 62.3] + \`\`\`>>> values = [1, 10, 26.9, 2.8, 166.32, 62.3] >>> sort_order = tf.argsort(values) >>> sort_order.numpy() array([0, 3, 1, 2, 5, 4], dtype=int32) +\`\`\` For a 1D tensor: - >>> sorted = tf.gather(values, sort_order) + \`\`\`>>> sorted = tf.gather(values, sort_order) >>> assert tf.reduce_all(sorted == tf.sort(values)) +\`\`\` For higher dimensions, the output has the same shape as \`values\`, but along the given axis, values represent the index of the sorted element in that slice of the tensor at the given position. - >>> mat = [[30,20,10], + \`\`\`>>> mat = [[30,20,10], ... [20,10,30], ... [10,30,20]] >>> indices = tf.argsort(mat) @@ -1776,13 +1614,15 @@ Note: The output of this function should be used. If it is not, a warning will b [1, 0, 2], [0, 2, 1]], dtype=int32) +\`\`\` If \`axis=-1\` these indices can be used to apply a sort using \`tf.gather\`: - >>> tf.gather(mat, indices, batch_dims=-1).numpy() + \`\`\`>>> tf.gather(mat, indices, batch_dims=-1).numpy() array([[10, 20, 30], [10, 20, 30], [10, 20, 30]], dtype=int32) +\`\`\` See also: * \`tf.sort\`: Sort along an axis. @@ -1809,82 +1649,7 @@ Note: The output of this function should be used. If it is not, a warning will b ValueError: If axis is not a constant scalar, or the direction is invalid. tf.errors.InvalidArgumentError: If the \`values.dtype\` is not a \`float\` or \`int\` type. - `},{name:"as_dtype",path:"./tf/dtypes/as_dtype.md",desc:"Converts the given `type_value` to a `DType`.",type:"Functions",docs:"Converts the given `type_value` to a `DType`.\n\n Note: `DType` values are interned. When passed a new `DType` object,\n `as_dtype` always returns the interned value.\n\n Args:\n type_value: A value that can be converted to a `tf.DType` object. This may\n currently be a `tf.DType` object, a [`DataType`\n enum](https://www.tensorflow.org/code/tensorflow/core/framework/types.proto),\n a string type name, or a [`numpy.dtype`](https://numpy.org/doc/stable/reference/generated/numpy.dtype.html).\n\n Returns:\n A `DType` corresponding to `type_value`.\n\n Raises:\n TypeError: If `type_value` cannot be converted to a `DType`.\n "},{name:"as_string",path:"./tf/strings/as_string.md",desc:"Converts each entry in the given tensor to strings.",type:"Functions",docs:"Converts each entry in the given tensor to strings.\n\n Supports many numeric types and boolean.\n\n For Unicode, see the\n [https://www.tensorflow.org/tutorials/representation/unicode](Working with Unicode text)\n tutorial.\n\n Examples:\n\n >>> tf.strings.as_string([3, 2])\n \n >>> tf.strings.as_string([3.1415926, 2.71828], precision=2).numpy()\n array([b'3.14', b'2.72'], dtype=object)\n\n Args:\n input: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`, `complex64`, `complex128`, `bool`, `variant`.\n precision: An optional `int`. Defaults to `-1`.\n The post-decimal precision to use for floating point numbers.\n Only used if precision > -1.\n scientific: An optional `bool`. Defaults to `False`.\n Use scientific notation for floating point numbers.\n shortest: An optional `bool`. Defaults to `False`.\n Use shortest representation (either scientific or standard) for\n floating point numbers.\n width: An optional `int`. Defaults to `-1`.\n Pad pre-decimal numbers to this width.\n Applies to both floating point and integer numbers.\n Only used if width > -1.\n fill: An optional `string`. Defaults to `\"\"`.\n The value to pad if width > -1. If empty, pads with spaces.\n Another typical value is '0'. String cannot be longer than 1 character.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `string`.\n "},{name:"asin",path:"./tf/math/asin.md",desc:"Computes the trignometric inverse sine of x element-wise.",type:"Functions",docs:"Computes the trignometric inverse sine of x element-wise.\n\n The `tf.math.asin` operation returns the inverse of `tf.math.sin`, such that\n if `y = tf.math.sin(x)` then, `x = tf.math.asin(y)`.\n\n **Note**: The output of `tf.math.asin` will lie within the invertible range\n of sine, i.e [-pi/2, pi/2].\n\n For example:\n\n ```python\n # Note: [1.047, 0.785] ~= [(pi/3), (pi/4)]\n x = tf.constant([1.047, 0.785])\n y = tf.math.sin(x) # [0.8659266, 0.7068252]\n\n tf.math.asin(y) # [1.047, 0.785] = x\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `int16`, `int32`, `int64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"asinh",path:"./tf/math/asinh.md",desc:"Computes inverse hyperbolic sine of x element-wise.",type:"Functions",docs:'Computes inverse hyperbolic sine of x element-wise.\n\n Given an input tensor, this function computes inverse hyperbolic sine\n for every element in the tensor. Both input and output has a range of\n `[-inf, inf]`.\n\n ```python\n x = tf.constant([-float("inf"), -2, -0.5, 1, 1.2, 200, 10000, float("inf")])\n tf.math.asinh(x) ==> [-inf -1.4436355 -0.4812118 0.8813736 1.0159732 5.991471 9.903487 inf]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"assert_equal",path:"./tf/debugging/assert_equal.md",desc:"Assert the condition `x == y` holds element-wise.",type:"Functions",docs:'Assert the condition `x == y` holds element-wise.\n\n This Op checks that `x[i] == y[i]` holds for every pair of (possibly\n broadcast) elements of `x` and `y`. If both `x` and `y` are empty, this is\n trivially satisfied.\n\n If `x` and `y` are not equal, `message`, as well as the first `summarize`\n entries of `x` and `y` are printed, and `InvalidArgumentError` is raised.\n\n Args:\n x: Numeric `Tensor`.\n y: Numeric `Tensor`, same dtype as and broadcastable to `x`.\n message: A string to prefix to the default message.\n summarize: Print this many entries of each tensor.\n name: A name for this operation (optional). Defaults to "assert_equal".\n\n Returns:\n Op that raises `InvalidArgumentError` if `x == y` is False. This can be\n used with `tf.control_dependencies` inside of `tf.function`s to block\n followup computation until the check has executed.\n @compatibility(eager)\n returns None\n @end_compatibility\n\n Raises:\n InvalidArgumentError: if the check can be performed immediately and\n `x == y` is False. The check can be performed immediately during eager\n execution or if `x` and `y` are statically known.\n '},{name:"assert_greater",path:"./tf/debugging/assert_greater.md",desc:"Assert the condition `x > y` holds element-wise.",type:"Functions",docs:'Assert the condition `x > y` holds element-wise.\n\n This Op checks that `x[i] > y[i]` holds for every pair of (possibly\n broadcast) elements of `x` and `y`. If both `x` and `y` are empty, this is\n trivially satisfied.\n\n If `x` is not greater than `y` element-wise, `message`, as well as the first\n `summarize` entries of `x` and `y` are printed, and `InvalidArgumentError` is\n raised.\n\n Args:\n x: Numeric `Tensor`.\n y: Numeric `Tensor`, same dtype as and broadcastable to `x`.\n message: A string to prefix to the default message.\n summarize: Print this many entries of each tensor.\n name: A name for this operation (optional). Defaults to "assert_greater".\n\n Returns:\n Op that raises `InvalidArgumentError` if `x > y` is False. This can be\n used with `tf.control_dependencies` inside of `tf.function`s to block\n followup computation until the check has executed.\n @compatibility(eager)\n returns None\n @end_compatibility\n\n Raises:\n InvalidArgumentError: if the check can be performed immediately and\n `x > y` is False. The check can be performed immediately during eager\n execution or if `x` and `y` are statically known.\n '},{name:"assert_less",path:"./tf/debugging/assert_less.md",desc:"Assert the condition `x < y` holds element-wise.",type:"Functions",docs:'Assert the condition `x < y` holds element-wise.\n\n This Op checks that `x[i] < y[i]` holds for every pair of (possibly\n broadcast) elements of `x` and `y`. If both `x` and `y` are empty, this is\n trivially satisfied.\n\n If `x` is not less than `y` element-wise, `message`, as well as the first\n `summarize` entries of `x` and `y` are printed, and `InvalidArgumentError` is\n raised.\n\n Args:\n x: Numeric `Tensor`.\n y: Numeric `Tensor`, same dtype as and broadcastable to `x`.\n message: A string to prefix to the default message.\n summarize: Print this many entries of each tensor.\n name: A name for this operation (optional). Defaults to "assert_less".\n\n Returns:\n Op that raises `InvalidArgumentError` if `x < y` is False.\n This can be used with `tf.control_dependencies` inside of `tf.function`s\n to block followup computation until the check has executed.\n @compatibility(eager)\n returns None\n @end_compatibility\n\n Raises:\n InvalidArgumentError: if the check can be performed immediately and\n `x < y` is False. The check can be performed immediately during eager\n execution or if `x` and `y` are statically known.\n '},{name:"assert_rank",path:"./tf/debugging/assert_rank.md",desc:"Assert that `x` has rank equal to `rank`.",type:"Functions",docs:'Assert that `x` has rank equal to `rank`.\n\n This Op checks that the rank of `x` is equal to `rank`.\n\n If `x` has a different rank, `message`, as well as the shape of `x` are\n printed, and `InvalidArgumentError` is raised.\n\n Args:\n x: `Tensor`.\n rank: Scalar integer `Tensor`.\n message: A string to prefix to the default message.\n name: A name for this operation (optional). Defaults to\n "assert_rank".\n\n Returns:\n Op raising `InvalidArgumentError` unless `x` has specified rank.\n If static checks determine `x` has correct rank, a `no_op` is returned.\n This can be used with `tf.control_dependencies` inside of `tf.function`s\n to block followup computation until the check has executed.\n @compatibility(eager)\n returns None\n @end_compatibility\n\n Raises:\n InvalidArgumentError: if the check can be performed immediately and\n `x` does not have rank `rank`. The check can be performed immediately\n during eager execution or if the shape of `x` is statically known.\n '},{name:"atan",path:"./tf/math/atan.md",desc:"Computes the trignometric inverse tangent of x element-wise.",type:"Functions",docs:"Computes the trignometric inverse tangent of x element-wise.\n\n The `tf.math.atan` operation returns the inverse of `tf.math.tan`, such that\n if `y = tf.math.tan(x)` then, `x = tf.math.atan(y)`.\n\n **Note**: The output of `tf.math.atan` will lie within the invertible range\n of tan, i.e (-pi/2, pi/2).\n\n For example:\n\n ```python\n # Note: [1.047, 0.785] ~= [(pi/3), (pi/4)]\n x = tf.constant([1.047, 0.785])\n y = tf.math.tan(x) # [1.731261, 0.99920404]\n\n tf.math.atan(y) # [1.047, 0.785] = x\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `int16`, `int32`, `int64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"atan2",path:"./tf/math/atan2.md",desc:"Computes arctangent of `y/x` element-wise, respecting signs of the arguments.",type:"Functions",docs:`Computes arctangent of \`y/x\` element-wise, respecting signs of the arguments. - - This is the angle \\\\( \\theta \\in [-\\pi, \\pi] \\\\) such that - \\\\[ x = r \\cos(\\theta) \\\\] - and - \\\\[ y = r \\sin(\\theta) \\\\] - where \\\\(r = \\sqrt{x^2 + y^2} \\\\). - - For example: - - >>> x = [1., 1.] - >>> y = [1., -1.] - >>> print((tf.math.atan2(y,x) * (180 / np.pi)).numpy()) - [ 45. -45.] - - Args: - y: A \`Tensor\`. Must be one of the following types: \`bfloat16\`, \`half\`, \`float32\`, \`float64\`. - x: A \`Tensor\`. Must have the same type as \`y\`. - name: A name for the operation (optional). - - Returns: - A \`Tensor\`. Has the same type as \`y\`. - `},{name:"atanh",path:"./tf/math/atanh.md",desc:"Computes inverse hyperbolic tangent of x element-wise.",type:"Functions",docs:'Computes inverse hyperbolic tangent of x element-wise.\n\n Given an input tensor, this function computes inverse hyperbolic tangent\n for every element in the tensor. Input range is `[-1,1]` and output range is\n `[-inf, inf]`. If input is `-1`, output will be `-inf` and if the\n input is `1`, output will be `inf`. Values outside the range will have\n `nan` as output.\n\n ```python\n x = tf.constant([-float("inf"), -1, -0.5, 1, 0, 0.5, 10, float("inf")])\n tf.math.atanh(x) ==> [nan -inf -0.54930615 inf 0. 0.54930615 nan nan]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"batch_to_space",path:"./tf/batch_to_space.md",desc:"BatchToSpace for N-D tensors of type T.",type:"Functions",docs:'BatchToSpace for N-D tensors of type T.\n\n This operation reshapes the "batch" dimension 0 into `M + 1` dimensions of\n shape `block_shape + [batch]`, interleaves these blocks back into the grid\n defined by the spatial dimensions `[1, ..., M]`, to obtain a result with the\n same rank as the input. The spatial dimensions of this intermediate result\n are then optionally cropped according to `crops` to produce the output. This\n is the reverse of SpaceToBatch (see `tf.space_to_batch`).\n\n Args:\n input: A N-D `Tensor` with shape `input_shape = [batch] + spatial_shape +\n remaining_shape`, where `spatial_shape` has M dimensions.\n block_shape: A 1-D `Tensor` with shape [M]. Must be one of the following\n types: `int32`, `int64`. All values must be >= 1. For backwards\n compatibility with TF 1.0, this parameter may be an int, in which case it\n is converted to\n `numpy.array([block_shape, block_shape],\n dtype=numpy.int64)`.\n crops: A 2-D `Tensor` with shape `[M, 2]`. Must be one of the\n following types: `int32`, `int64`. All values must be >= 0.\n `crops[i] = [crop_start, crop_end]` specifies the amount to crop from\n input dimension `i + 1`, which corresponds to spatial dimension `i`.\n It is required that\n `crop_start[i] + crop_end[i] <= block_shape[i] * input_shape[i + 1]`.\n This operation is equivalent to the following steps:\n 1. Reshape `input` to `reshaped` of shape: [block_shape[0], ...,\n block_shape[M-1], batch / prod(block_shape), input_shape[1], ...,\n input_shape[N-1]]\n 2. Permute dimensions of `reshaped` to produce `permuted` of shape\n [batch / prod(block_shape), input_shape[1], block_shape[0], ...,\n input_shape[M], block_shape[M-1], input_shape[M+1],\n ..., input_shape[N-1]]\n 3. Reshape `permuted` to produce `reshaped_permuted` of shape\n [batch / prod(block_shape), input_shape[1] * block_shape[0], ...,\n input_shape[M] * block_shape[M-1], input_shape[M+1], ...,\n input_shape[N-1]]\n 4. Crop the start and end of dimensions `[1, ..., M]` of\n `reshaped_permuted` according to `crops` to produce the output\n of shape:\n [batch / prod(block_shape), input_shape[1] *\n block_shape[0] - crops[0,0] - crops[0,1], ..., input_shape[M] *\n block_shape[M-1] - crops[M-1,0] - crops[M-1,1], input_shape[M+1],\n ..., input_shape[N-1]]\n name: A name for the operation (optional).\n\n Examples:\n\n 1. For the following input of shape `[4, 1, 1, 1]`,\n `block_shape = [2, 2]`, and `crops = [[0, 0], [0, 0]]`:\n\n ```python\n [[[[1]]],\n [[[2]]],\n [[[3]]],\n [[[4]]]]\n ```\n\n The output tensor has shape `[1, 2, 2, 1]` and value:\n\n ```\n x = [[[[1], [2]],\n [[3], [4]]]]\n ```\n\n 2. For the following input of shape `[4, 1, 1, 3]`,\n `block_shape = [2, 2]`, and `crops = [[0, 0], [0, 0]]`:\n\n ```python\n [[[1, 2, 3]],\n [[4, 5, 6]],\n [[7, 8, 9]],\n [[10, 11, 12]]]\n ```\n\n The output tensor has shape `[1, 2, 2, 3]` and value:\n\n ```python\n x = [[[[1, 2, 3], [4, 5, 6 ]],\n [[7, 8, 9], [10, 11, 12]]]]\n ```\n\n 3. For the following\n input of shape `[4, 2, 2, 1]`,\n `block_shape = [2, 2]`, and `crops = [[0, 0], [0, 0]]`:\n\n ```python\n x = [[[[1], [3]], [[ 9], [11]]],\n [[[2], [4]], [[10], [12]]],\n [[[5], [7]], [[13], [15]]],\n [[[6], [8]], [[14], [16]]]]\n ```\n\n The output tensor has shape `[1, 4, 4, 1]` and value:\n\n ```python\n x = [[[1], [2], [ 3], [ 4]],\n [[5], [6], [ 7], [ 8]],\n [[9], [10], [11], [12]],\n [[13], [14], [15], [16]]]\n ```\n\n 4. For the following input of shape\n `[8, 1, 3, 1]`,\n `block_shape = [2, 2]`, and `crops = [[0, 0], [2, 0]]`:\n\n ```python\n x = [[[[0], [ 1], [ 3]]],\n [[[0], [ 9], [11]]],\n [[[0], [ 2], [ 4]]],\n [[[0], [10], [12]]],\n [[[0], [ 5], [ 7]]],\n [[[0], [13], [15]]],\n [[[0], [ 6], [ 8]]],\n [[[0], [14], [16]]]]\n ```\n\n The output tensor has shape `[2, 2, 4, 1]` and value:\n\n ```python\n x = [[[[ 1], [ 2], [ 3], [ 4]],\n [[ 5], [ 6], [ 7], [ 8]]],\n [[[ 9], [10], [11], [12]],\n [[13], [14], [15], [16]]]]\n ```\n\n Returns:\n A `Tensor`. Has the same type as `input`.\n '},{name:"bitcast",path:"./tf/bitcast.md",desc:"Bitcasts a tensor from one type to another without copying data.",type:"Functions",docs:"Bitcasts a tensor from one type to another without copying data.\n\n Given a tensor `input`, this operation returns a tensor that has the same buffer\n data as `input` with datatype `type`.\n\n If the input datatype `T` is larger than the output datatype `type` then the\n shape changes from [...] to [..., sizeof(`T`)/sizeof(`type`)].\n\n If `T` is smaller than `type`, the operator requires that the rightmost\n dimension be equal to sizeof(`type`)/sizeof(`T`). The shape then goes from\n [..., sizeof(`type`)/sizeof(`T`)] to [...].\n\n tf.bitcast() and tf.cast() work differently when real dtype is casted as a complex dtype\n (e.g. tf.complex64 or tf.complex128) as tf.cast() make imaginary part 0 while tf.bitcast()\n gives module error.\n For example,\n\n Example 1:\n\n >>> a = [1., 2., 3.]\n >>> equality_bitcast = tf.bitcast(a, tf.complex128)\n Traceback (most recent call last):\n ...\n InvalidArgumentError: Cannot bitcast from 1 to 18 [Op:Bitcast]\n >>> equality_cast = tf.cast(a, tf.complex128)\n >>> print(equality_cast)\n tf.Tensor([1.+0.j 2.+0.j 3.+0.j], shape=(3,), dtype=complex128)\n\n Example 2:\n\n >>> tf.bitcast(tf.constant(0xffffffff, dtype=tf.uint32), tf.uint8)\n \n\n Example 3:\n\n >>> x = [1., 2., 3.]\n >>> y = [0., 2., 3.]\n >>> equality= tf.equal(x,y)\n >>> equality_cast = tf.cast(equality,tf.float32)\n >>> equality_bitcast = tf.bitcast(equality_cast,tf.uint8)\n >>> print(equality)\n tf.Tensor([False True True], shape=(3,), dtype=bool)\n >>> print(equality_cast)\n tf.Tensor([0. 1. 1.], shape=(3,), dtype=float32)\n >>> print(equality_bitcast)\n tf.Tensor(\n [[ 0 0 0 0]\n [ 0 0 128 63]\n [ 0 0 128 63]], shape=(3, 4), dtype=uint8)\n\n *NOTE*: Bitcast is implemented as a low-level cast, so machines with different\n endian orderings will give different results.\n\n Args:\n input: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int64`, `int32`, `uint8`, `uint16`, `uint32`, `uint64`, `int8`, `int16`, `complex64`, `complex128`, `qint8`, `quint8`, `qint16`, `quint16`, `qint32`.\n type: A `tf.DType` from: `tf.bfloat16, tf.half, tf.float32, tf.float64, tf.int64, tf.int32, tf.uint8, tf.uint16, tf.uint32, tf.uint64, tf.int8, tf.int16, tf.complex64, tf.complex128, tf.qint8, tf.quint8, tf.qint16, tf.quint16, tf.qint32`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `type`.\n "},{name:"boolean_mask",path:"./tf/boolean_mask.md",desc:"Apply boolean mask to tensor.",type:"Functions",docs:`Apply boolean mask to tensor. - - Numpy equivalent is \`tensor[mask]\`. - - In general, \`0 < dim(mask) = K <= dim(tensor)\`, and \`mask\`'s shape must match - the first K dimensions of \`tensor\`'s shape. We then have: - \`boolean_mask(tensor, mask)[i, j1,...,jd] = tensor[i1,...,iK,j1,...,jd]\` - where \`(i1,...,iK)\` is the ith \`True\` entry of \`mask\` (row-major order). - The \`axis\` could be used with \`mask\` to indicate the axis to mask from. - In that case, \`axis + dim(mask) <= dim(tensor)\` and \`mask\`'s shape must match - the first \`axis + dim(mask)\` dimensions of \`tensor\`'s shape. - - See also: \`tf.ragged.boolean_mask\`, which can be applied to both dense and - ragged tensors, and can be used if you need to preserve the masked dimensions - of \`tensor\` (rather than flattening them, as \`tf.boolean_mask\` does). - - Examples: - - >>> tensor = [0, 1, 2, 3] # 1-D example - >>> mask = np.array([True, False, True, False]) - >>> tf.boolean_mask(tensor, mask) - - - >>> tensor = [[1, 2], [3, 4], [5, 6]] # 2-D example - >>> mask = np.array([True, False, True]) - >>> tf.boolean_mask(tensor, mask) - - - Args: - tensor: N-D Tensor. - mask: K-D boolean Tensor, K <= N and K must be known statically. - axis: A 0-D int Tensor representing the axis in \`tensor\` to mask from. By - default, axis is 0 which will mask from the first dimension. Otherwise K + - axis <= N. - name: A name for this operation (optional). - - Returns: - (N-K+1)-dimensional tensor populated by entries in \`tensor\` corresponding - to \`True\` values in \`mask\`. - - Raises: - ValueError: If shapes do not conform. - - Examples: - - \`\`\`python - # 2-D example - tensor = [[1, 2], [3, 4], [5, 6]] - mask = np.array([True, False, True]) - boolean_mask(tensor, mask) # [[1, 2], [5, 6]] - \`\`\` - `},{name:"broadcast_dynamic_shape",path:"./tf/broadcast_dynamic_shape.md",desc:"Computes the shape of a broadcast given symbolic shapes.",type:"Functions",docs:`Computes the shape of a broadcast given symbolic shapes. + `},{name:"as_dtype",path:"./tf/dtypes/as_dtype.md",desc:"Converts the given `type_value` to a `DType`.",type:"Functions",docs:"Converts the given `type_value` to a `DType`.\n\n Note: `DType` values are interned. When passed a new `DType` object,\n `as_dtype` always returns the interned value.\n\n Args:\n type_value: A value that can be converted to a `tf.DType` object. This may\n currently be a `tf.DType` object, a [`DataType`\n enum](https://www.tensorflow.org/code/tensorflow/core/framework/types.proto),\n a string type name, or a [`numpy.dtype`](https://numpy.org/doc/stable/reference/generated/numpy.dtype.html).\n\n Returns:\n A `DType` corresponding to `type_value`.\n\n Raises:\n TypeError: If `type_value` cannot be converted to a `DType`.\n "},{name:"as_string",path:"./tf/strings/as_string.md",desc:"Converts each entry in the given tensor to strings.",type:"Functions",docs:"Converts each entry in the given tensor to strings.\n\n Supports many numeric types and boolean.\n\n For Unicode, see the\n [https://www.tensorflow.org/tutorials/representation/unicode](Working with Unicode text)\n tutorial.\n\n Examples:\n\n ```>>> tf.strings.as_string([3, 2])\n \n >>> tf.strings.as_string([3.1415926, 2.71828], precision=2).numpy()\n array([b'3.14', b'2.72'], dtype=object)\n\n```\n Args:\n input: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`, `complex64`, `complex128`, `bool`, `variant`.\n precision: An optional `int`. Defaults to `-1`.\n The post-decimal precision to use for floating point numbers.\n Only used if precision > -1.\n scientific: An optional `bool`. Defaults to `False`.\n Use scientific notation for floating point numbers.\n shortest: An optional `bool`. Defaults to `False`.\n Use shortest representation (either scientific or standard) for\n floating point numbers.\n width: An optional `int`. Defaults to `-1`.\n Pad pre-decimal numbers to this width.\n Applies to both floating point and integer numbers.\n Only used if width > -1.\n fill: An optional `string`. Defaults to `\"\"`.\n The value to pad if width > -1. If empty, pads with spaces.\n Another typical value is '0'. String cannot be longer than 1 character.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `string`.\n "},{name:"asin",path:"./tf/math/asin.md",desc:"Computes the trignometric inverse sine of x element-wise.",type:"Functions",docs:"Computes the trignometric inverse sine of x element-wise.\n\n The `tf.math.asin` operation returns the inverse of `tf.math.sin`, such that\n if `y = tf.math.sin(x)` then, `x = tf.math.asin(y)`.\n\n **Note**: The output of `tf.math.asin` will lie within the invertible range\n of sine, i.e [-pi/2, pi/2].\n\n For example:\n\n ```python\n # Note: [1.047, 0.785] ~= [(pi/3), (pi/4)]\n x = tf.constant([1.047, 0.785])\n y = tf.math.sin(x) # [0.8659266, 0.7068252]\n\n tf.math.asin(y) # [1.047, 0.785] = x\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `int16`, `int32`, `int64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"asinh",path:"./tf/math/asinh.md",desc:"Computes inverse hyperbolic sine of x element-wise.",type:"Functions",docs:'Computes inverse hyperbolic sine of x element-wise.\n\n Given an input tensor, this function computes inverse hyperbolic sine\n for every element in the tensor. Both input and output has a range of\n `[-inf, inf]`.\n\n ```python\n x = tf.constant([-float("inf"), -2, -0.5, 1, 1.2, 200, 10000, float("inf")])\n tf.math.asinh(x) ==> [-inf -1.4436355 -0.4812118 0.8813736 1.0159732 5.991471 9.903487 inf]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"assert_equal",path:"./tf/debugging/assert_equal.md",desc:"Assert the condition `x == y` holds element-wise.",type:"Functions",docs:'Assert the condition `x == y` holds element-wise.\n\n This Op checks that `x[i] == y[i]` holds for every pair of (possibly\n broadcast) elements of `x` and `y`. If both `x` and `y` are empty, this is\n trivially satisfied.\n\n If `x` and `y` are not equal, `message`, as well as the first `summarize`\n entries of `x` and `y` are printed, and `InvalidArgumentError` is raised.\n\n Args:\n x: Numeric `Tensor`.\n y: Numeric `Tensor`, same dtype as and broadcastable to `x`.\n message: A string to prefix to the default message.\n summarize: Print this many entries of each tensor.\n name: A name for this operation (optional). Defaults to "assert_equal".\n\n Returns:\n Op that raises `InvalidArgumentError` if `x == y` is False. This can be\n used with `tf.control_dependencies` inside of `tf.function`s to block\n followup computation until the check has executed.\n @compatibility(eager)\n returns None\n @end_compatibility\n\n Raises:\n InvalidArgumentError: if the check can be performed immediately and\n `x == y` is False. The check can be performed immediately during eager\n execution or if `x` and `y` are statically known.\n '},{name:"assert_greater",path:"./tf/debugging/assert_greater.md",desc:"Assert the condition `x > y` holds element-wise.",type:"Functions",docs:'Assert the condition `x > y` holds element-wise.\n\n This Op checks that `x[i] > y[i]` holds for every pair of (possibly\n broadcast) elements of `x` and `y`. If both `x` and `y` are empty, this is\n trivially satisfied.\n\n If `x` is not greater than `y` element-wise, `message`, as well as the first\n `summarize` entries of `x` and `y` are printed, and `InvalidArgumentError` is\n raised.\n\n Args:\n x: Numeric `Tensor`.\n y: Numeric `Tensor`, same dtype as and broadcastable to `x`.\n message: A string to prefix to the default message.\n summarize: Print this many entries of each tensor.\n name: A name for this operation (optional). Defaults to "assert_greater".\n\n Returns:\n Op that raises `InvalidArgumentError` if `x > y` is False. This can be\n used with `tf.control_dependencies` inside of `tf.function`s to block\n followup computation until the check has executed.\n @compatibility(eager)\n returns None\n @end_compatibility\n\n Raises:\n InvalidArgumentError: if the check can be performed immediately and\n `x > y` is False. The check can be performed immediately during eager\n execution or if `x` and `y` are statically known.\n '},{name:"assert_less",path:"./tf/debugging/assert_less.md",desc:"Assert the condition `x < y` holds element-wise.",type:"Functions",docs:'Assert the condition `x < y` holds element-wise.\n\n This Op checks that `x[i] < y[i]` holds for every pair of (possibly\n broadcast) elements of `x` and `y`. If both `x` and `y` are empty, this is\n trivially satisfied.\n\n If `x` is not less than `y` element-wise, `message`, as well as the first\n `summarize` entries of `x` and `y` are printed, and `InvalidArgumentError` is\n raised.\n\n Args:\n x: Numeric `Tensor`.\n y: Numeric `Tensor`, same dtype as and broadcastable to `x`.\n message: A string to prefix to the default message.\n summarize: Print this many entries of each tensor.\n name: A name for this operation (optional). Defaults to "assert_less".\n\n Returns:\n Op that raises `InvalidArgumentError` if `x < y` is False.\n This can be used with `tf.control_dependencies` inside of `tf.function`s\n to block followup computation until the check has executed.\n @compatibility(eager)\n returns None\n @end_compatibility\n\n Raises:\n InvalidArgumentError: if the check can be performed immediately and\n `x < y` is False. The check can be performed immediately during eager\n execution or if `x` and `y` are statically known.\n '},{name:"assert_rank",path:"./tf/debugging/assert_rank.md",desc:"Assert that `x` has rank equal to `rank`.",type:"Functions",docs:'Assert that `x` has rank equal to `rank`.\n\n This Op checks that the rank of `x` is equal to `rank`.\n\n If `x` has a different rank, `message`, as well as the shape of `x` are\n printed, and `InvalidArgumentError` is raised.\n\n Args:\n x: `Tensor`.\n rank: Scalar integer `Tensor`.\n message: A string to prefix to the default message.\n name: A name for this operation (optional). Defaults to\n "assert_rank".\n\n Returns:\n Op raising `InvalidArgumentError` unless `x` has specified rank.\n If static checks determine `x` has correct rank, a `no_op` is returned.\n This can be used with `tf.control_dependencies` inside of `tf.function`s\n to block followup computation until the check has executed.\n @compatibility(eager)\n returns None\n @end_compatibility\n\n Raises:\n InvalidArgumentError: if the check can be performed immediately and\n `x` does not have rank `rank`. The check can be performed immediately\n during eager execution or if the shape of `x` is statically known.\n '},{name:"atan",path:"./tf/math/atan.md",desc:"Computes the trignometric inverse tangent of x element-wise.",type:"Functions",docs:"Computes the trignometric inverse tangent of x element-wise.\n\n The `tf.math.atan` operation returns the inverse of `tf.math.tan`, such that\n if `y = tf.math.tan(x)` then, `x = tf.math.atan(y)`.\n\n **Note**: The output of `tf.math.atan` will lie within the invertible range\n of tan, i.e (-pi/2, pi/2).\n\n For example:\n\n ```python\n # Note: [1.047, 0.785] ~= [(pi/3), (pi/4)]\n x = tf.constant([1.047, 0.785])\n y = tf.math.tan(x) # [1.731261, 0.99920404]\n\n tf.math.atan(y) # [1.047, 0.785] = x\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `int16`, `int32`, `int64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"atan2",path:"./tf/math/atan2.md",desc:"Computes arctangent of `y/x` element-wise, respecting signs of the arguments.",type:"Functions",docs:"Computes arctangent of `y/x` element-wise, respecting signs of the arguments.\n\n This is the angle \\\\( \\theta \\in [-\\pi, \\pi] \\\\) such that\n \\\\[ x = r \\cos(\\theta) \\\\]\n and\n \\\\[ y = r \\sin(\\theta) \\\\]\n where \\\\(r = \\sqrt{x^2 + y^2} \\\\).\n\n For example:\n\n ```>>> x = [1., 1.]\n >>> y = [1., -1.]\n >>> print((tf.math.atan2(y,x) * (180 / np.pi)).numpy())\n [ 45. -45.]\n\n```\n Args:\n y: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`.\n x: A `Tensor`. Must have the same type as `y`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `y`.\n "},{name:"atanh",path:"./tf/math/atanh.md",desc:"Computes inverse hyperbolic tangent of x element-wise.",type:"Functions",docs:'Computes inverse hyperbolic tangent of x element-wise.\n\n Given an input tensor, this function computes inverse hyperbolic tangent\n for every element in the tensor. Input range is `[-1,1]` and output range is\n `[-inf, inf]`. If input is `-1`, output will be `-inf` and if the\n input is `1`, output will be `inf`. Values outside the range will have\n `nan` as output.\n\n ```python\n x = tf.constant([-float("inf"), -1, -0.5, 1, 0, 0.5, 10, float("inf")])\n tf.math.atanh(x) ==> [nan -inf -0.54930615 inf 0. 0.54930615 nan nan]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"batch_to_space",path:"./tf/batch_to_space.md",desc:"BatchToSpace for N-D tensors of type T.",type:"Functions",docs:'BatchToSpace for N-D tensors of type T.\n\n This operation reshapes the "batch" dimension 0 into `M + 1` dimensions of\n shape `block_shape + [batch]`, interleaves these blocks back into the grid\n defined by the spatial dimensions `[1, ..., M]`, to obtain a result with the\n same rank as the input. The spatial dimensions of this intermediate result\n are then optionally cropped according to `crops` to produce the output. This\n is the reverse of SpaceToBatch (see `tf.space_to_batch`).\n\n Args:\n input: A N-D `Tensor` with shape `input_shape = [batch] + spatial_shape +\n remaining_shape`, where `spatial_shape` has M dimensions.\n block_shape: A 1-D `Tensor` with shape [M]. Must be one of the following\n types: `int32`, `int64`. All values must be >= 1. For backwards\n compatibility with TF 1.0, this parameter may be an int, in which case it\n is converted to\n `numpy.array([block_shape, block_shape],\n dtype=numpy.int64)`.\n crops: A 2-D `Tensor` with shape `[M, 2]`. Must be one of the\n following types: `int32`, `int64`. All values must be >= 0.\n `crops[i] = [crop_start, crop_end]` specifies the amount to crop from\n input dimension `i + 1`, which corresponds to spatial dimension `i`.\n It is required that\n `crop_start[i] + crop_end[i] <= block_shape[i] * input_shape[i + 1]`.\n This operation is equivalent to the following steps:\n 1. Reshape `input` to `reshaped` of shape: [block_shape[0], ...,\n block_shape[M-1], batch / prod(block_shape), input_shape[1], ...,\n input_shape[N-1]]\n 2. Permute dimensions of `reshaped` to produce `permuted` of shape\n [batch / prod(block_shape), input_shape[1], block_shape[0], ...,\n input_shape[M], block_shape[M-1], input_shape[M+1],\n ..., input_shape[N-1]]\n 3. Reshape `permuted` to produce `reshaped_permuted` of shape\n [batch / prod(block_shape), input_shape[1] * block_shape[0], ...,\n input_shape[M] * block_shape[M-1], input_shape[M+1], ...,\n input_shape[N-1]]\n 4. Crop the start and end of dimensions `[1, ..., M]` of\n `reshaped_permuted` according to `crops` to produce the output\n of shape:\n [batch / prod(block_shape), input_shape[1] *\n block_shape[0] - crops[0,0] - crops[0,1], ..., input_shape[M] *\n block_shape[M-1] - crops[M-1,0] - crops[M-1,1], input_shape[M+1],\n ..., input_shape[N-1]]\n name: A name for the operation (optional).\n\n Examples:\n\n 1. For the following input of shape `[4, 1, 1, 1]`,\n `block_shape = [2, 2]`, and `crops = [[0, 0], [0, 0]]`:\n\n ```python\n [[[[1]]],\n [[[2]]],\n [[[3]]],\n [[[4]]]]\n ```\n\n The output tensor has shape `[1, 2, 2, 1]` and value:\n\n ```\n x = [[[[1], [2]],\n [[3], [4]]]]\n ```\n\n 2. For the following input of shape `[4, 1, 1, 3]`,\n `block_shape = [2, 2]`, and `crops = [[0, 0], [0, 0]]`:\n\n ```python\n [[[1, 2, 3]],\n [[4, 5, 6]],\n [[7, 8, 9]],\n [[10, 11, 12]]]\n ```\n\n The output tensor has shape `[1, 2, 2, 3]` and value:\n\n ```python\n x = [[[[1, 2, 3], [4, 5, 6 ]],\n [[7, 8, 9], [10, 11, 12]]]]\n ```\n\n 3. For the following\n input of shape `[4, 2, 2, 1]`,\n `block_shape = [2, 2]`, and `crops = [[0, 0], [0, 0]]`:\n\n ```python\n x = [[[[1], [3]], [[ 9], [11]]],\n [[[2], [4]], [[10], [12]]],\n [[[5], [7]], [[13], [15]]],\n [[[6], [8]], [[14], [16]]]]\n ```\n\n The output tensor has shape `[1, 4, 4, 1]` and value:\n\n ```python\n x = [[[1], [2], [ 3], [ 4]],\n [[5], [6], [ 7], [ 8]],\n [[9], [10], [11], [12]],\n [[13], [14], [15], [16]]]\n ```\n\n 4. For the following input of shape\n `[8, 1, 3, 1]`,\n `block_shape = [2, 2]`, and `crops = [[0, 0], [2, 0]]`:\n\n ```python\n x = [[[[0], [ 1], [ 3]]],\n [[[0], [ 9], [11]]],\n [[[0], [ 2], [ 4]]],\n [[[0], [10], [12]]],\n [[[0], [ 5], [ 7]]],\n [[[0], [13], [15]]],\n [[[0], [ 6], [ 8]]],\n [[[0], [14], [16]]]]\n ```\n\n The output tensor has shape `[2, 2, 4, 1]` and value:\n\n ```python\n x = [[[[ 1], [ 2], [ 3], [ 4]],\n [[ 5], [ 6], [ 7], [ 8]]],\n [[[ 9], [10], [11], [12]],\n [[13], [14], [15], [16]]]]\n ```\n\n Returns:\n A `Tensor`. Has the same type as `input`.\n '},{name:"bitcast",path:"./tf/bitcast.md",desc:"Bitcasts a tensor from one type to another without copying data.",type:"Functions",docs:"Bitcasts a tensor from one type to another without copying data.\n\n Given a tensor `input`, this operation returns a tensor that has the same buffer\n data as `input` with datatype `type`.\n\n If the input datatype `T` is larger than the output datatype `type` then the\n shape changes from [...] to [..., sizeof(`T`)/sizeof(`type`)].\n\n If `T` is smaller than `type`, the operator requires that the rightmost\n dimension be equal to sizeof(`type`)/sizeof(`T`). The shape then goes from\n [..., sizeof(`type`)/sizeof(`T`)] to [...].\n\n tf.bitcast() and tf.cast() work differently when real dtype is casted as a complex dtype\n (e.g. tf.complex64 or tf.complex128) as tf.cast() make imaginary part 0 while tf.bitcast()\n gives module error.\n For example,\n\n Example 1:\n\n ```>>> a = [1., 2., 3.]\n >>> equality_bitcast = tf.bitcast(a, tf.complex128)\n Traceback (most recent call last):\n ...\n InvalidArgumentError: Cannot bitcast from 1 to 18 [Op:Bitcast]\n >>> equality_cast = tf.cast(a, tf.complex128)\n >>> print(equality_cast)\n tf.Tensor([1.+0.j 2.+0.j 3.+0.j], shape=(3,), dtype=complex128)\n\n```\n Example 2:\n\n ```>>> tf.bitcast(tf.constant(0xffffffff, dtype=tf.uint32), tf.uint8)\n \n\n```\n Example 3:\n\n ```>>> x = [1., 2., 3.]\n >>> y = [0., 2., 3.]\n >>> equality= tf.equal(x,y)\n >>> equality_cast = tf.cast(equality,tf.float32)\n >>> equality_bitcast = tf.bitcast(equality_cast,tf.uint8)\n >>> print(equality)\n tf.Tensor([False True True], shape=(3,), dtype=bool)\n >>> print(equality_cast)\n tf.Tensor([0. 1. 1.], shape=(3,), dtype=float32)\n >>> print(equality_bitcast)\n tf.Tensor(\n [[ 0 0 0 0]\n [ 0 0 128 63]\n [ 0 0 128 63]], shape=(3, 4), dtype=uint8)\n\n```\n *NOTE*: Bitcast is implemented as a low-level cast, so machines with different\n endian orderings will give different results.\n\n Args:\n input: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int64`, `int32`, `uint8`, `uint16`, `uint32`, `uint64`, `int8`, `int16`, `complex64`, `complex128`, `qint8`, `quint8`, `qint16`, `quint16`, `qint32`.\n type: A `tf.DType` from: `tf.bfloat16, tf.half, tf.float32, tf.float64, tf.int64, tf.int32, tf.uint8, tf.uint16, tf.uint32, tf.uint64, tf.int8, tf.int16, tf.complex64, tf.complex128, tf.qint8, tf.quint8, tf.qint16, tf.quint16, tf.qint32`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `type`.\n "},{name:"boolean_mask",path:"./tf/boolean_mask.md",desc:"Apply boolean mask to tensor.",type:"Functions",docs:"Apply boolean mask to tensor.\n\n Numpy equivalent is `tensor[mask]`.\n\n In general, `0 < dim(mask) = K <= dim(tensor)`, and `mask`'s shape must match\n the first K dimensions of `tensor`'s shape. We then have:\n `boolean_mask(tensor, mask)[i, j1,...,jd] = tensor[i1,...,iK,j1,...,jd]`\n where `(i1,...,iK)` is the ith `True` entry of `mask` (row-major order).\n The `axis` could be used with `mask` to indicate the axis to mask from.\n In that case, `axis + dim(mask) <= dim(tensor)` and `mask`'s shape must match\n the first `axis + dim(mask)` dimensions of `tensor`'s shape.\n\n See also: `tf.ragged.boolean_mask`, which can be applied to both dense and\n ragged tensors, and can be used if you need to preserve the masked dimensions\n of `tensor` (rather than flattening them, as `tf.boolean_mask` does).\n\n Examples:\n\n ```>>> tensor = [0, 1, 2, 3] # 1-D example\n >>> mask = np.array([True, False, True, False])\n >>> tf.boolean_mask(tensor, mask)\n \n\n```\n ```>>> tensor = [[1, 2], [3, 4], [5, 6]] # 2-D example\n >>> mask = np.array([True, False, True])\n >>> tf.boolean_mask(tensor, mask)\n \n\n```\n Args:\n tensor: N-D Tensor.\n mask: K-D boolean Tensor, K <= N and K must be known statically.\n axis: A 0-D int Tensor representing the axis in `tensor` to mask from. By\n default, axis is 0 which will mask from the first dimension. Otherwise K +\n axis <= N.\n name: A name for this operation (optional).\n\n Returns:\n (N-K+1)-dimensional tensor populated by entries in `tensor` corresponding\n to `True` values in `mask`.\n\n Raises:\n ValueError: If shapes do not conform.\n\n Examples:\n\n ```python\n # 2-D example\n tensor = [[1, 2], [3, 4], [5, 6]]\n mask = np.array([True, False, True])\n boolean_mask(tensor, mask) # [[1, 2], [5, 6]]\n ```\n "},{name:"broadcast_dynamic_shape",path:"./tf/broadcast_dynamic_shape.md",desc:"Computes the shape of a broadcast given symbolic shapes.",type:"Functions",docs:`Computes the shape of a broadcast given symbolic shapes. When \`shape_x\` and \`shape_y\` are Tensors representing shapes (i.e. the result of calling tf.shape on another Tensor) this computes a Tensor which is the @@ -1896,11 +1661,12 @@ Note: The output of this function should be used. If it is not, a warning will b Example: - >>> shape_x = (1, 2, 3) + \`\`\`>>> shape_x = (1, 2, 3) >>> shape_y = (5, 1, 3) >>> tf.broadcast_dynamic_shape(shape_x, shape_y) +\`\`\` Args: shape_x: A rank 1 integer \`Tensor\`, representing the shape of x. shape_y: A rank 1 integer \`Tensor\`, representing the shape of y. @@ -1911,36 +1677,7 @@ Note: The output of this function should be used. If it is not, a warning will b Raises: InvalidArgumentError: If the two shapes are incompatible for broadcasting. - `},{name:"broadcast_static_shape",path:"./tf/broadcast_static_shape.md",desc:"Computes the shape of a broadcast given known shapes.",type:"Functions",docs:`Computes the shape of a broadcast given known shapes. - - When \`shape_x\` and \`shape_y\` are fully known \`TensorShape\`s this computes a - \`TensorShape\` which is the shape of the result of a broadcasting op applied in - tensors of shapes \`shape_x\` and \`shape_y\`. - - For example, if shape_x is \`TensorShape([1, 2, 3])\` and shape_y is - \`TensorShape([5, 1, 3])\`, the result is a TensorShape whose value is - \`TensorShape([5, 2, 3])\`. - - This is useful when validating the result of a broadcasting operation when the - tensors have statically known shapes. - - Example: - - >>> shape_x = tf.TensorShape([1, 2, 3]) - >>> shape_y = tf.TensorShape([5, 1 ,3]) - >>> tf.broadcast_static_shape(shape_x, shape_y) - TensorShape([5, 2, 3]) - - Args: - shape_x: A \`TensorShape\` - shape_y: A \`TensorShape\` - - Returns: - A \`TensorShape\` representing the broadcasted shape. - - Raises: - ValueError: If the two shapes can not be broadcasted. - `},{name:"broadcast_to",path:"./tf/broadcast_to.md",desc:"Broadcast an array for a compatible shape.",type:"Functions",docs:`Broadcast an array for a compatible shape. + `},{name:"broadcast_static_shape",path:"./tf/broadcast_static_shape.md",desc:"Computes the shape of a broadcast given known shapes.",type:"Functions",docs:"Computes the shape of a broadcast given known shapes.\n\n When `shape_x` and `shape_y` are fully known `TensorShape`s this computes a\n `TensorShape` which is the shape of the result of a broadcasting op applied in\n tensors of shapes `shape_x` and `shape_y`.\n\n For example, if shape_x is `TensorShape([1, 2, 3])` and shape_y is\n `TensorShape([5, 1, 3])`, the result is a TensorShape whose value is\n `TensorShape([5, 2, 3])`.\n\n This is useful when validating the result of a broadcasting operation when the\n tensors have statically known shapes.\n\n Example:\n\n ```>>> shape_x = tf.TensorShape([1, 2, 3])\n >>> shape_y = tf.TensorShape([5, 1 ,3])\n >>> tf.broadcast_static_shape(shape_x, shape_y)\n TensorShape([5, 2, 3])\n\n```\n Args:\n shape_x: A `TensorShape`\n shape_y: A `TensorShape`\n\n Returns:\n A `TensorShape` representing the broadcasted shape.\n\n Raises:\n ValueError: If the two shapes can not be broadcasted.\n "},{name:"broadcast_to",path:"./tf/broadcast_to.md",desc:"Broadcast an array for a compatible shape.",type:"Functions",docs:`Broadcast an array for a compatible shape. Broadcasting is the process of making arrays to have compatible shapes for arithmetic operations. Two shapes are compatible if for each @@ -1950,7 +1687,7 @@ Note: The output of this function should be used. If it is not, a warning will b For example, - >>> x = tf.constant([1, 2, 3]) + \`\`\`>>> x = tf.constant([1, 2, 3]) >>> y = tf.broadcast_to(x, [3, 3]) >>> print(y) tf.Tensor( @@ -1958,6 +1695,7 @@ Note: The output of this function should be used. If it is not, a warning will b [1 2 3] [1 2 3]], shape=(3, 3), dtype=int32) +\`\`\` In the above example, the input Tensor with the shape of \`[1, 3]\` is broadcasted to output Tensor with shape of \`[3, 3]\`. @@ -2065,128 +1803,7 @@ Note: The output of this function should be used. If it is not, a warning will b TypeError: If \`pred_fn_pairs\` is a list but does not contain 2-tuples. TypeError: If \`fns[i]\` is not callable for any i, or \`default\` is not callable. - `},{name:"cast",path:"./tf/cast.md",desc:"Casts a tensor to a new type.",type:"Functions",docs:"Casts a tensor to a new type.\n\n The operation casts `x` (in case of `Tensor`) or `x.values`\n (in case of `SparseTensor` or `IndexedSlices`) to `dtype`.\n\n For example:\n\n >>> x = tf.constant([1.8, 2.2], dtype=tf.float32)\n >>> tf.cast(x, tf.int32)\n \n\n Notice `tf.cast` has an alias `tf.dtypes.cast`:\n\n >>> x = tf.constant([1.8, 2.2], dtype=tf.float32)\n >>> tf.dtypes.cast(x, tf.int32)\n \n\n The operation supports data types (for `x` and `dtype`) of\n `uint8`, `uint16`, `uint32`, `uint64`, `int8`, `int16`, `int32`, `int64`,\n `float16`, `float32`, `float64`, `complex64`, `complex128`, `bfloat16`.\n In case of casting from complex types (`complex64`, `complex128`) to real\n types, only the real part of `x` is returned. In case of casting from real\n types to complex types (`complex64`, `complex128`), the imaginary part of the\n returned value is set to `0`. The handling of complex types here matches the\n behavior of numpy.\n\n Note casting nan and inf values to integral types has undefined behavior.\n\n Args:\n x: A `Tensor` or `SparseTensor` or `IndexedSlices` of numeric type. It could\n be `uint8`, `uint16`, `uint32`, `uint64`, `int8`, `int16`, `int32`,\n `int64`, `float16`, `float32`, `float64`, `complex64`, `complex128`,\n `bfloat16`.\n dtype: The destination type. The list of supported dtypes is the same as\n `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` or `SparseTensor` or `IndexedSlices` with same shape as `x` and\n same type as `dtype`.\n\n Raises:\n TypeError: If `x` cannot be cast to the `dtype`.\n "},{name:"clip_by_global_norm",path:"./tf/clip_by_global_norm.md",desc:"Clips values of multiple tensors by the ratio of the sum of their norms.",type:"Functions",docs:"Clips values of multiple tensors by the ratio of the sum of their norms.\n\n Given a tuple or list of tensors `t_list`, and a clipping ratio `clip_norm`,\n this operation returns a list of clipped tensors `list_clipped`\n and the global norm (`global_norm`) of all tensors in `t_list`. Optionally,\n if you've already computed the global norm for `t_list`, you can specify\n the global norm with `use_norm`.\n\n To perform the clipping, the values `t_list[i]` are set to:\n\n t_list[i] * clip_norm / max(global_norm, clip_norm)\n\n where:\n\n global_norm = sqrt(sum([l2norm(t)**2 for t in t_list]))\n\n If `clip_norm > global_norm` then the entries in `t_list` remain as they are,\n otherwise they're all shrunk by the global ratio.\n\n If `global_norm == infinity` then the entries in `t_list` are all set to `NaN`\n to signal that an error occurred.\n\n Any of the entries of `t_list` that are of type `None` are ignored.\n\n This is the correct way to perform gradient clipping (Pascanu et al., 2012).\n\n However, it is slower than `clip_by_norm()` because all the parameters must be\n ready before the clipping operation can be performed.\n\n Args:\n t_list: A tuple or list of mixed `Tensors`, `IndexedSlices`, or None.\n clip_norm: A 0-D (scalar) `Tensor` > 0. The clipping ratio.\n use_norm: A 0-D (scalar) `Tensor` of type `float` (optional). The global\n norm to use. If not provided, `global_norm()` is used to compute the norm.\n name: A name for the operation (optional).\n\n Returns:\n list_clipped: A list of `Tensors` of the same type as `list_t`.\n global_norm: A 0-D (scalar) `Tensor` representing the global norm.\n\n Raises:\n TypeError: If `t_list` is not a sequence.\n\n References:\n On the difficulty of training Recurrent Neural Networks:\n [Pascanu et al., 2012](http://proceedings.mlr.press/v28/pascanu13.html)\n ([pdf](http://proceedings.mlr.press/v28/pascanu13.pdf))\n "},{name:"clip_by_norm",path:"./tf/clip_by_norm.md",desc:"Clips tensor values to a maximum L2-norm.",type:"Functions",docs:`Clips tensor values to a maximum L2-norm. - - Given a tensor \`t\`, and a maximum clip value \`clip_norm\`, this operation - normalizes \`t\` so that its L2-norm is less than or equal to \`clip_norm\`, - along the dimensions given in \`axes\`. Specifically, in the default case - where all dimensions are used for calculation, if the L2-norm of \`t\` is - already less than or equal to \`clip_norm\`, then \`t\` is not modified. If - the L2-norm is greater than \`clip_norm\`, then this operation returns a - tensor of the same type and shape as \`t\` with its values set to: - - \`t * clip_norm / l2norm(t)\` - - In this case, the L2-norm of the output tensor is \`clip_norm\`. - - As another example, if \`t\` is a matrix and \`axes == [1]\`, then each row - of the output will have L2-norm less than or equal to \`clip_norm\`. If - \`axes == [0]\` instead, each column of the output will be clipped. - - Code example: - - >>> some_nums = tf.constant([[1, 2, 3, 4, 5]], dtype=tf.float32) - >>> tf.clip_by_norm(some_nums, 2.0).numpy() - array([[0.26967996, 0.5393599 , 0.80903983, 1.0787199 , 1.3483998 ]], - dtype=float32) - - This operation is typically used to clip gradients before applying them with - an optimizer. Most gradient data is a collection of different shaped tensors - for different parts of the model. Thus, this is a common usage: - - \`\`\` - # Get your gradients after training - loss_value, grads = grad(model, features, labels) - - # Apply some clipping - grads = [tf.clip_by_norm(g, norm) - for g in grads] - - # Continue on with training - optimizer.apply_gradients(grads) - \`\`\` - - Args: - t: A \`Tensor\` or \`IndexedSlices\`. This must be a floating point type. - clip_norm: A 0-D (scalar) \`Tensor\` > 0. A maximum clipping value, also - floating point - axes: A 1-D (vector) \`Tensor\` of type int32 containing the dimensions - to use for computing the L2-norm. If \`None\` (the default), uses all - dimensions. - name: A name for the operation (optional). - - Returns: - A clipped \`Tensor\` or \`IndexedSlices\`. - - Raises: - ValueError: If the clip_norm tensor is not a 0-D scalar tensor. - TypeError: If dtype of the input is not a floating point or - complex type. - `},{name:"clip_by_value",path:"./tf/clip_by_value.md",desc:"Clips tensor values to a specified min and max.",type:"Functions",docs:`Clips tensor values to a specified min and max. - - Given a tensor \`t\`, this operation returns a tensor of the same type and - shape as \`t\` with its values clipped to \`clip_value_min\` and \`clip_value_max\`. - Any values less than \`clip_value_min\` are set to \`clip_value_min\`. Any values - greater than \`clip_value_max\` are set to \`clip_value_max\`. - - Note: \`clip_value_min\` needs to be smaller or equal to \`clip_value_max\` for - correct results. - - For example: - - Basic usage passes a scalar as the min and max value. - - >>> t = tf.constant([[-10., -1., 0.], [0., 2., 10.]]) - >>> t2 = tf.clip_by_value(t, clip_value_min=-1, clip_value_max=1) - >>> t2.numpy() - array([[-1., -1., 0.], - [ 0., 1., 1.]], dtype=float32) - - The min and max can be the same size as \`t\`, or broadcastable to that size. - - >>> t = tf.constant([[-1, 0., 10.], [-1, 0, 10]]) - >>> clip_min = [[2],[1]] - >>> t3 = tf.clip_by_value(t, clip_value_min=clip_min, clip_value_max=100) - >>> t3.numpy() - array([[ 2., 2., 10.], - [ 1., 1., 10.]], dtype=float32) - - Broadcasting fails, intentionally, if you would expand the dimensions of \`t\` - - >>> t = tf.constant([[-1, 0., 10.], [-1, 0, 10]]) - >>> clip_min = [[[2, 1]]] # Has a third axis - >>> t4 = tf.clip_by_value(t, clip_value_min=clip_min, clip_value_max=100) - Traceback (most recent call last): - ... - InvalidArgumentError: Incompatible shapes: [2,3] vs. [1,1,2] - - It throws a \`TypeError\` if you try to clip an \`int\` to a \`float\` value - (\`tf.cast\` the input to \`float\` first). - - >>> t = tf.constant([[1, 2], [3, 4]], dtype=tf.int32) - >>> t5 = tf.clip_by_value(t, clip_value_min=-3.1, clip_value_max=3.1) - Traceback (most recent call last): - ... - TypeError: Cannot convert ... - - - Args: - t: A \`Tensor\` or \`IndexedSlices\`. - clip_value_min: The minimum value to clip to. A scalar \`Tensor\` or one that - is broadcastable to the shape of \`t\`. - clip_value_max: The maximum value to clip to. A scalar \`Tensor\` or one that - is broadcastable to the shape of \`t\`. - name: A name for the operation (optional). - - Returns: - A clipped \`Tensor\` or \`IndexedSlices\`. - - Raises: - \`tf.errors.InvalidArgumentError\`: If the clip tensors would trigger array - broadcasting that would make the returned tensor larger than the input. - TypeError: If dtype of the input is \`int32\` and dtype of - the \`clip_value_min\` or \`clip_value_max\` is \`float32\` - `},{name:"complex",path:"./tf/dtypes/complex.md",desc:"Converts two real numbers to a complex number.",type:"Functions",docs:"Converts two real numbers to a complex number.\n\n Given a tensor `real` representing the real part of a complex number, and a\n tensor `imag` representing the imaginary part of a complex number, this\n operation returns complex numbers elementwise of the form \\\\(a + bj\\\\), where\n *a* represents the `real` part and *b* represents the `imag` part.\n\n The input tensors `real` and `imag` must have the same shape.\n\n For example:\n\n ```python\n real = tf.constant([2.25, 3.25])\n imag = tf.constant([4.75, 5.75])\n tf.complex(real, imag) # [[2.25 + 4.75j], [3.25 + 5.75j]]\n ```\n\n Args:\n real: A `Tensor`. Must be one of the following types: `float32`, `float64`.\n imag: A `Tensor`. Must have the same type as `real`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `complex64` or `complex128`.\n\n Raises:\n TypeError: Real and imag must be correct types\n "},{name:"concat",path:"./tf/concat.md",desc:"Concatenates tensors along one dimension.",type:"Functions",docs:`Concatenates tensors along one dimension. + `},{name:"cast",path:"./tf/cast.md",desc:"Casts a tensor to a new type.",type:"Functions",docs:"Casts a tensor to a new type.\n\n The operation casts `x` (in case of `Tensor`) or `x.values`\n (in case of `SparseTensor` or `IndexedSlices`) to `dtype`.\n\n For example:\n\n ```>>> x = tf.constant([1.8, 2.2], dtype=tf.float32)\n >>> tf.cast(x, tf.int32)\n \n\n```\n Notice `tf.cast` has an alias `tf.dtypes.cast`:\n\n ```>>> x = tf.constant([1.8, 2.2], dtype=tf.float32)\n >>> tf.dtypes.cast(x, tf.int32)\n \n\n```\n The operation supports data types (for `x` and `dtype`) of\n `uint8`, `uint16`, `uint32`, `uint64`, `int8`, `int16`, `int32`, `int64`,\n `float16`, `float32`, `float64`, `complex64`, `complex128`, `bfloat16`.\n In case of casting from complex types (`complex64`, `complex128`) to real\n types, only the real part of `x` is returned. In case of casting from real\n types to complex types (`complex64`, `complex128`), the imaginary part of the\n returned value is set to `0`. The handling of complex types here matches the\n behavior of numpy.\n\n Note casting nan and inf values to integral types has undefined behavior.\n\n Args:\n x: A `Tensor` or `SparseTensor` or `IndexedSlices` of numeric type. It could\n be `uint8`, `uint16`, `uint32`, `uint64`, `int8`, `int16`, `int32`,\n `int64`, `float16`, `float32`, `float64`, `complex64`, `complex128`,\n `bfloat16`.\n dtype: The destination type. The list of supported dtypes is the same as\n `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` or `SparseTensor` or `IndexedSlices` with same shape as `x` and\n same type as `dtype`.\n\n Raises:\n TypeError: If `x` cannot be cast to the `dtype`.\n "},{name:"clip_by_global_norm",path:"./tf/clip_by_global_norm.md",desc:"Clips values of multiple tensors by the ratio of the sum of their norms.",type:"Functions",docs:"Clips values of multiple tensors by the ratio of the sum of their norms.\n\n Given a tuple or list of tensors `t_list`, and a clipping ratio `clip_norm`,\n this operation returns a list of clipped tensors `list_clipped`\n and the global norm (`global_norm`) of all tensors in `t_list`. Optionally,\n if you've already computed the global norm for `t_list`, you can specify\n the global norm with `use_norm`.\n\n To perform the clipping, the values `t_list[i]` are set to:\n\n t_list[i] * clip_norm / max(global_norm, clip_norm)\n\n where:\n\n global_norm = sqrt(sum([l2norm(t)**2 for t in t_list]))\n\n If `clip_norm > global_norm` then the entries in `t_list` remain as they are,\n otherwise they're all shrunk by the global ratio.\n\n If `global_norm == infinity` then the entries in `t_list` are all set to `NaN`\n to signal that an error occurred.\n\n Any of the entries of `t_list` that are of type `None` are ignored.\n\n This is the correct way to perform gradient clipping (Pascanu et al., 2012).\n\n However, it is slower than `clip_by_norm()` because all the parameters must be\n ready before the clipping operation can be performed.\n\n Args:\n t_list: A tuple or list of mixed `Tensors`, `IndexedSlices`, or None.\n clip_norm: A 0-D (scalar) `Tensor` > 0. The clipping ratio.\n use_norm: A 0-D (scalar) `Tensor` of type `float` (optional). The global\n norm to use. If not provided, `global_norm()` is used to compute the norm.\n name: A name for the operation (optional).\n\n Returns:\n list_clipped: A list of `Tensors` of the same type as `list_t`.\n global_norm: A 0-D (scalar) `Tensor` representing the global norm.\n\n Raises:\n TypeError: If `t_list` is not a sequence.\n\n References:\n On the difficulty of training Recurrent Neural Networks:\n [Pascanu et al., 2012](http://proceedings.mlr.press/v28/pascanu13.html)\n ([pdf](http://proceedings.mlr.press/v28/pascanu13.pdf))\n "},{name:"clip_by_norm",path:"./tf/clip_by_norm.md",desc:"Clips tensor values to a maximum L2-norm.",type:"Functions",docs:"Clips tensor values to a maximum L2-norm.\n\n Given a tensor `t`, and a maximum clip value `clip_norm`, this operation\n normalizes `t` so that its L2-norm is less than or equal to `clip_norm`,\n along the dimensions given in `axes`. Specifically, in the default case\n where all dimensions are used for calculation, if the L2-norm of `t` is\n already less than or equal to `clip_norm`, then `t` is not modified. If\n the L2-norm is greater than `clip_norm`, then this operation returns a\n tensor of the same type and shape as `t` with its values set to:\n\n `t * clip_norm / l2norm(t)`\n\n In this case, the L2-norm of the output tensor is `clip_norm`.\n\n As another example, if `t` is a matrix and `axes == [1]`, then each row\n of the output will have L2-norm less than or equal to `clip_norm`. If\n `axes == [0]` instead, each column of the output will be clipped.\n\n Code example:\n\n ```>>> some_nums = tf.constant([[1, 2, 3, 4, 5]], dtype=tf.float32)\n >>> tf.clip_by_norm(some_nums, 2.0).numpy()\n array([[0.26967996, 0.5393599 , 0.80903983, 1.0787199 , 1.3483998 ]],\n dtype=float32)\n\n```\n This operation is typically used to clip gradients before applying them with\n an optimizer. Most gradient data is a collection of different shaped tensors\n for different parts of the model. Thus, this is a common usage:\n\n ```\n # Get your gradients after training\n loss_value, grads = grad(model, features, labels)\n\n # Apply some clipping\n grads = [tf.clip_by_norm(g, norm)\n for g in grads]\n\n # Continue on with training\n optimizer.apply_gradients(grads)\n ```\n\n Args:\n t: A `Tensor` or `IndexedSlices`. This must be a floating point type.\n clip_norm: A 0-D (scalar) `Tensor` > 0. A maximum clipping value, also\n floating point\n axes: A 1-D (vector) `Tensor` of type int32 containing the dimensions\n to use for computing the L2-norm. If `None` (the default), uses all\n dimensions.\n name: A name for the operation (optional).\n\n Returns:\n A clipped `Tensor` or `IndexedSlices`.\n\n Raises:\n ValueError: If the clip_norm tensor is not a 0-D scalar tensor.\n TypeError: If dtype of the input is not a floating point or\n complex type.\n "},{name:"clip_by_value",path:"./tf/clip_by_value.md",desc:"Clips tensor values to a specified min and max.",type:"Functions",docs:"Clips tensor values to a specified min and max.\n\n Given a tensor `t`, this operation returns a tensor of the same type and\n shape as `t` with its values clipped to `clip_value_min` and `clip_value_max`.\n Any values less than `clip_value_min` are set to `clip_value_min`. Any values\n greater than `clip_value_max` are set to `clip_value_max`.\n\n Note: `clip_value_min` needs to be smaller or equal to `clip_value_max` for\n correct results.\n\n For example:\n\n Basic usage passes a scalar as the min and max value.\n\n ```>>> t = tf.constant([[-10., -1., 0.], [0., 2., 10.]])\n >>> t2 = tf.clip_by_value(t, clip_value_min=-1, clip_value_max=1)\n >>> t2.numpy()\n array([[-1., -1., 0.],\n [ 0., 1., 1.]], dtype=float32)\n\n```\n The min and max can be the same size as `t`, or broadcastable to that size.\n\n ```>>> t = tf.constant([[-1, 0., 10.], [-1, 0, 10]])\n >>> clip_min = [[2],[1]]\n >>> t3 = tf.clip_by_value(t, clip_value_min=clip_min, clip_value_max=100)\n >>> t3.numpy()\n array([[ 2., 2., 10.],\n [ 1., 1., 10.]], dtype=float32)\n\n```\n Broadcasting fails, intentionally, if you would expand the dimensions of `t`\n\n ```>>> t = tf.constant([[-1, 0., 10.], [-1, 0, 10]])\n >>> clip_min = [[[2, 1]]] # Has a third axis\n >>> t4 = tf.clip_by_value(t, clip_value_min=clip_min, clip_value_max=100)\n Traceback (most recent call last):\n ...\n InvalidArgumentError: Incompatible shapes: [2,3] vs. [1,1,2]\n\n```\n It throws a `TypeError` if you try to clip an `int` to a `float` value\n (`tf.cast` the input to `float` first).\n\n ```>>> t = tf.constant([[1, 2], [3, 4]], dtype=tf.int32)\n >>> t5 = tf.clip_by_value(t, clip_value_min=-3.1, clip_value_max=3.1)\n Traceback (most recent call last):\n ...\n TypeError: Cannot convert ...\n\n```\n\n Args:\n t: A `Tensor` or `IndexedSlices`.\n clip_value_min: The minimum value to clip to. A scalar `Tensor` or one that\n is broadcastable to the shape of `t`.\n clip_value_max: The maximum value to clip to. A scalar `Tensor` or one that\n is broadcastable to the shape of `t`.\n name: A name for the operation (optional).\n\n Returns:\n A clipped `Tensor` or `IndexedSlices`.\n\n Raises:\n `tf.errors.InvalidArgumentError`: If the clip tensors would trigger array\n broadcasting that would make the returned tensor larger than the input.\n TypeError: If dtype of the input is `int32` and dtype of\n the `clip_value_min` or `clip_value_max` is `float32`\n "},{name:"complex",path:"./tf/dtypes/complex.md",desc:"Converts two real numbers to a complex number.",type:"Functions",docs:"Converts two real numbers to a complex number.\n\n Given a tensor `real` representing the real part of a complex number, and a\n tensor `imag` representing the imaginary part of a complex number, this\n operation returns complex numbers elementwise of the form \\\\(a + bj\\\\), where\n *a* represents the `real` part and *b* represents the `imag` part.\n\n The input tensors `real` and `imag` must have the same shape.\n\n For example:\n\n ```python\n real = tf.constant([2.25, 3.25])\n imag = tf.constant([4.75, 5.75])\n tf.complex(real, imag) # [[2.25 + 4.75j], [3.25 + 5.75j]]\n ```\n\n Args:\n real: A `Tensor`. Must be one of the following types: `float32`, `float64`.\n imag: A `Tensor`. Must have the same type as `real`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `complex64` or `complex128`.\n\n Raises:\n TypeError: Real and imag must be correct types\n "},{name:"concat",path:"./tf/concat.md",desc:"Concatenates tensors along one dimension.",type:"Functions",docs:`Concatenates tensors along one dimension. See also \`tf.tile\`, \`tf.stack\`, \`tf.repeat\`. @@ -2208,7 +1825,7 @@ Note: The output of this function should be used. If it is not, a warning will b For example: - >>> t1 = [[1, 2, 3], [4, 5, 6]] + \`\`\`>>> t1 = [[1, 2, 3], [4, 5, 6]] >>> t2 = [[7, 8, 9], [10, 11, 12]] >>> tf.concat([t1, t2], 0) - >>> tf.concat([t1, t2], 1) +\`\`\` + \`\`\`>>> tf.concat([t1, t2], 1) +\`\`\` As in Python, the \`axis\` could also be negative numbers. Negative \`axis\` are interpreted as counting from the end of the rank, i.e., \`axis + rank(values)\`-th dimension. For example: - >>> t1 = [[[1, 2], [2, 3]], [[4, 4], [5, 3]]] + \`\`\`>>> t1 = [[[1, 2], [2, 3]], [[4, 4], [5, 3]]] >>> t2 = [[[7, 4], [8, 4]], [[2, 10], [15, 11]]] >>> tf.concat([t1, t2], -1) +\`\`\` Note: If you are concatenating along a new axis consider using stack. E.g. @@ -2273,7 +1893,7 @@ Note: The output of this function should be used. If it is not, a warning will b If the argument \`dtype\` is not specified, then the type is inferred from the type of \`value\`. - >>> # Constant 1-D Tensor from a python list. + \`\`\`>>> # Constant 1-D Tensor from a python list. >>> tf.constant([1, 2, 3, 4, 5, 6]) @@ -2284,17 +1904,19 @@ Note: The output of this function should be used. If it is not, a warning will b array([[1, 2, 3], [4, 5, 6]])> +\`\`\` If \`dtype\` is specified, the resulting tensor values are cast to the requested \`dtype\`. - >>> tf.constant([1, 2, 3, 4, 5, 6], dtype=tf.float64) + \`\`\`>>> tf.constant([1, 2, 3, 4, 5, 6], dtype=tf.float64) +\`\`\` If \`shape\` is set, the \`value\` is reshaped to match. Scalars are expanded to fill the \`shape\`: - >>> tf.constant(0, shape=(2, 3)) + \`\`\`>>> tf.constant(0, shape=(2, 3)) @@ -2303,25 +1925,28 @@ Note: The output of this function should be used. If it is not, a warning will b array([[1, 2, 3], [4, 5, 6]], dtype=int32)> +\`\`\` \`tf.constant\` has no effect if an eager Tensor is passed as the \`value\`, it even transmits gradients: - >>> v = tf.Variable([0.0]) + \`\`\`>>> v = tf.Variable([0.0]) >>> with tf.GradientTape() as g: ... loss = tf.constant(v + v) >>> g.gradient(loss, v).numpy() array([2.], dtype=float32) +\`\`\` But, since \`tf.constant\` embeds the value in the \`tf.Graph\` this fails for symbolic tensors: - >>> with tf.compat.v1.Graph().as_default(): + \`\`\`>>> with tf.compat.v1.Graph().as_default(): ... i = tf.compat.v1.placeholder(shape=[None, None], dtype=tf.float32) ... t = tf.constant(i) Traceback (most recent call last): ... TypeError: ... +\`\`\` \`tf.constant\` will create tensors on the current device. Inputs which are already tensors maintain their placements unchanged. @@ -2331,10 +1956,11 @@ Note: The output of this function should be used. If it is not, a warning will b * It has no \`shape\` argument. * Symbolic tensors are allowed to pass through. - >>> with tf.compat.v1.Graph().as_default(): + \`\`\`>>> with tf.compat.v1.Graph().as_default(): ... i = tf.compat.v1.placeholder(shape=[None, None], dtype=tf.float32) ... t = tf.convert_to_tensor(i) +\`\`\` * \`tf.fill\`: differs in a few ways: * \`tf.constant\` supports arbitrary constants, not just uniform scalar Tensors like \`tf.fill\`. @@ -2385,12 +2011,13 @@ Note: The output of this function should be used. If it is not, a warning will b For example: - >>> import numpy as np + \`\`\`>>> import numpy as np >>> def my_func(arg): ... arg = tf.convert_to_tensor(arg, dtype=tf.float32) ... return arg - >>> # The following calls are equivalent. +\`\`\` + \`\`\`>>> # The following calls are equivalent. ... >>> value_1 = my_func(tf.constant([[1.0, 2.0], [3.0, 4.0]])) >>> print(value_1) @@ -2408,6 +2035,7 @@ Note: The output of this function should be used. If it is not, a warning will b [[1. 2.] [3. 4.]], shape=(2, 2), dtype=float32) +\`\`\` This function can be useful when composing a new operation in Python (such as \`my_func\` in the example above). All standard Python op constructors apply this function to each of their Tensor-valued @@ -2436,7 +2064,7 @@ Note: The output of this function should be used. If it is not, a warning will b TypeError: If no conversion function is registered for \`value\` to \`dtype\`. RuntimeError: If a registered conversion function returns an invalid value. ValueError: If the \`value\` is a tensor not of given \`dtype\` in graph mode. - `},{name:"cos",path:"./tf/math/cos.md",desc:"Computes cos of x element-wise.",type:"Functions",docs:'Computes cos of x element-wise.\n\n Given an input tensor, this function computes cosine of every\n element in the tensor. Input range is `(-inf, inf)` and\n output range is `[-1,1]`. If input lies outside the boundary, `nan`\n is returned.\n\n ```python\n x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10000, float("inf")])\n tf.math.cos(x) ==> [nan -0.91113025 0.87758255 0.5403023 0.36235774 0.48718765 -0.95215535 nan]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"cosh",path:"./tf/math/cosh.md",desc:"Computes hyperbolic cosine of x element-wise.",type:"Functions",docs:'Computes hyperbolic cosine of x element-wise.\n\n Given an input tensor, this function computes hyperbolic cosine of every\n element in the tensor. Input range is `[-inf, inf]` and output range\n is `[1, inf]`.\n\n ```python\n x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 2, 10, float("inf")])\n tf.math.cosh(x) ==> [inf 4.0515420e+03 1.1276259e+00 1.5430807e+00 1.8106556e+00 3.7621956e+00 1.1013233e+04 inf]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"cumsum",path:"./tf/math/cumsum.md",desc:"Compute the cumulative sum of the tensor `x` along `axis`.",type:"Functions",docs:"Compute the cumulative sum of the tensor `x` along `axis`.\n\n By default, this op performs an inclusive cumsum, which means that the first\n element of the input is identical to the first element of the output:\n For example:\n\n >>> # tf.cumsum([a, b, c]) # [a, a + b, a + b + c]\n >>> x = tf.constant([2, 4, 6, 8])\n >>> tf.cumsum(x)\n \n\n >>> # using varying `axis` values\n >>> y = tf.constant([[2, 4, 6, 8], [1,3,5,7]])\n >>> tf.cumsum(y, axis=0)\n \n >>> tf.cumsum(y, axis=1)\n \n\n By setting the `exclusive` kwarg to `True`, an exclusive cumsum is performed\n instead:\n\n >>> # tf.cumsum([a, b, c], exclusive=True) => [0, a, a + b]\n >>> x = tf.constant([2, 4, 6, 8])\n >>> tf.cumsum(x, exclusive=True)\n \n\n By setting the `reverse` kwarg to `True`, the cumsum is performed in the\n opposite direction:\n\n >>> # tf.cumsum([a, b, c], reverse=True) # [a + b + c, b + c, c]\n >>> x = tf.constant([2, 4, 6, 8])\n >>> tf.cumsum(x, reverse=True)\n \n\n This is more efficient than using separate `tf.reverse` ops.\n The `reverse` and `exclusive` kwargs can also be combined:\n\n >>> # tf.cumsum([a, b, c], exclusive=True, reverse=True) # [b + c, c, 0]\n >>> x = tf.constant([2, 4, 6, 8])\n >>> tf.cumsum(x, exclusive=True, reverse=True)\n \n\n Args:\n x: A `Tensor`. Must be one of the following types: `float32`, `float64`,\n `int64`, `int32`, `uint8`, `uint16`, `int16`, `int8`, `complex64`,\n `complex128`, `qint8`, `quint8`, `qint32`, `half`.\n axis: A `Tensor` of type `int32` (default: 0). Must be in the range\n `[-rank(x), rank(x))`.\n exclusive: If `True`, perform exclusive cumsum.\n reverse: A `bool` (default: False).\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"custom_gradient",path:"./tf/custom_gradient.md",desc:"Decorator to define a function with a custom gradient.",type:"Functions",docs:`Decorator to define a function with a custom gradient. + `},{name:"cos",path:"./tf/math/cos.md",desc:"Computes cos of x element-wise.",type:"Functions",docs:'Computes cos of x element-wise.\n\n Given an input tensor, this function computes cosine of every\n element in the tensor. Input range is `(-inf, inf)` and\n output range is `[-1,1]`. If input lies outside the boundary, `nan`\n is returned.\n\n ```python\n x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10000, float("inf")])\n tf.math.cos(x) ==> [nan -0.91113025 0.87758255 0.5403023 0.36235774 0.48718765 -0.95215535 nan]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"cosh",path:"./tf/math/cosh.md",desc:"Computes hyperbolic cosine of x element-wise.",type:"Functions",docs:'Computes hyperbolic cosine of x element-wise.\n\n Given an input tensor, this function computes hyperbolic cosine of every\n element in the tensor. Input range is `[-inf, inf]` and output range\n is `[1, inf]`.\n\n ```python\n x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 2, 10, float("inf")])\n tf.math.cosh(x) ==> [inf 4.0515420e+03 1.1276259e+00 1.5430807e+00 1.8106556e+00 3.7621956e+00 1.1013233e+04 inf]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"cumsum",path:"./tf/math/cumsum.md",desc:"Compute the cumulative sum of the tensor `x` along `axis`.",type:"Functions",docs:"Compute the cumulative sum of the tensor `x` along `axis`.\n\n By default, this op performs an inclusive cumsum, which means that the first\n element of the input is identical to the first element of the output:\n For example:\n\n ```>>> # tf.cumsum([a, b, c]) # [a, a + b, a + b + c]\n >>> x = tf.constant([2, 4, 6, 8])\n >>> tf.cumsum(x)\n \n\n```\n ```>>> # using varying `axis` values\n >>> y = tf.constant([[2, 4, 6, 8], [1,3,5,7]])\n >>> tf.cumsum(y, axis=0)\n \n >>> tf.cumsum(y, axis=1)\n \n\n```\n By setting the `exclusive` kwarg to `True`, an exclusive cumsum is performed\n instead:\n\n ```>>> # tf.cumsum([a, b, c], exclusive=True) => [0, a, a + b]\n >>> x = tf.constant([2, 4, 6, 8])\n >>> tf.cumsum(x, exclusive=True)\n \n\n```\n By setting the `reverse` kwarg to `True`, the cumsum is performed in the\n opposite direction:\n\n ```>>> # tf.cumsum([a, b, c], reverse=True) # [a + b + c, b + c, c]\n >>> x = tf.constant([2, 4, 6, 8])\n >>> tf.cumsum(x, reverse=True)\n \n\n```\n This is more efficient than using separate `tf.reverse` ops.\n The `reverse` and `exclusive` kwargs can also be combined:\n\n ```>>> # tf.cumsum([a, b, c], exclusive=True, reverse=True) # [b + c, c, 0]\n >>> x = tf.constant([2, 4, 6, 8])\n >>> tf.cumsum(x, exclusive=True, reverse=True)\n \n\n```\n Args:\n x: A `Tensor`. Must be one of the following types: `float32`, `float64`,\n `int64`, `int32`, `uint8`, `uint16`, `int16`, `int8`, `complex64`,\n `complex128`, `qint8`, `quint8`, `qint32`, `half`.\n axis: A `Tensor` of type `int32` (default: 0). Must be in the range\n `[-rank(x), rank(x))`.\n exclusive: If `True`, perform exclusive cumsum.\n reverse: A `bool` (default: False).\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"custom_gradient",path:"./tf/custom_gradient.md",desc:"Decorator to define a function with a custom gradient.",type:"Functions",docs:`Decorator to define a function with a custom gradient. This decorator allows fine grained control over the gradients of a sequence for operations. This may be useful for multiple reasons, including providing @@ -2492,7 +2120,7 @@ Note: The output of this function should be used. If it is not, a warning will b function must also return the same number of variables. We take the function \`z = x * y\` as an example. - >>> @tf.custom_gradient + \`\`\`>>> @tf.custom_gradient ... def bar(x, y): ... def grad(upstream): ... dz_dx = y @@ -2513,6 +2141,7 @@ Note: The output of this function should be used. If it is not, a warning will b >>> tape.gradient(z, y) +\`\`\` Nesting custom gradients can lead to unintuitive results. The default behavior does not correspond to n-th order derivatives. For example @@ -2558,7 +2187,7 @@ Note: The output of this function should be used. If it is not, a warning will b require special handling because they are effectively inputs of the forward function. - >>> weights = tf.Variable(tf.ones([2])) # Trainable variable weights + \`\`\`>>> weights = tf.Variable(tf.ones([2])) # Trainable variable weights >>> @tf.custom_gradient ... def linear_poly(x): ... # Creating polynomial @@ -2594,6 +2223,7 @@ Note: The output of this function should be used. If it is not, a warning will b >>> tape.gradient(poly, weights) +\`\`\` Above example illustrates usage of trainable variable \`weights\`. In the example, the inner \`grad_fn\` accepts an extra \`variables\` input parameter and also returns an extra \`grad_vars\` output. That extra argument @@ -2710,12 +2340,13 @@ Note: The output of this function should be used. If it is not, a warning will b For example: - >>> x = tf.constant([16, 12, 11]) + \`\`\`>>> x = tf.constant([16, 12, 11]) >>> y = tf.constant([4, 6, 2]) >>> tf.divide(x,y) +\`\`\` Args: x: A \`Tensor\` y: A \`Tensor\` @@ -2808,7 +2439,7 @@ Note: The output of this function should be used. If it is not, a warning will b * \`hypothesis\` is a \`tf.SparseTensor\` of shape \`[2, 1, 1]\` * \`truth\` is a \`tf.SparseTensor\` of shape \`[2, 2, 2]\` - >>> hypothesis = tf.SparseTensor( + \`\`\`>>> hypothesis = tf.SparseTensor( ... [[0, 0, 0], ... [1, 0, 0]], ... ["a", "b"], @@ -2825,6 +2456,7 @@ Note: The output of this function should be used. If it is not, a warning will b array([[inf, 1. ], [0.5, 1. ]], dtype=float32)> +\`\`\` The operation returns a dense Tensor of shape \`[2, 2]\` with edit distances normalized by \`truth\` lengths. @@ -2948,67 +2580,75 @@ Note: The output of this function should be used. If it is not, a warning will b **Matrix multiplication** - >>> m0 = tf.random.normal(shape=[2, 3]) + \`\`\`>>> m0 = tf.random.normal(shape=[2, 3]) >>> m1 = tf.random.normal(shape=[3, 5]) >>> e = tf.einsum('ij,jk->ik', m0, m1) >>> # output[i,k] = sum_j m0[i,j] * m1[j, k] >>> print(e.shape) (2, 5) +\`\`\` Repeated indices are summed if the output indices are not specified. - >>> e = tf.einsum('ij,jk', m0, m1) # output[i,k] = sum_j m0[i,j] * m1[j, k] + \`\`\`>>> e = tf.einsum('ij,jk', m0, m1) # output[i,k] = sum_j m0[i,j] * m1[j, k] >>> print(e.shape) (2, 5) +\`\`\` **Dot product** - >>> u = tf.random.normal(shape=[5]) + \`\`\`>>> u = tf.random.normal(shape=[5]) >>> v = tf.random.normal(shape=[5]) >>> e = tf.einsum('i,i->', u, v) # output = sum_i u[i]*v[i] >>> print(e.shape) () +\`\`\` **Outer product** - >>> u = tf.random.normal(shape=[3]) + \`\`\`>>> u = tf.random.normal(shape=[3]) >>> v = tf.random.normal(shape=[5]) >>> e = tf.einsum('i,j->ij', u, v) # output[i,j] = u[i]*v[j] >>> print(e.shape) (3, 5) +\`\`\` **Transpose** - >>> m = tf.ones(2,3) + \`\`\`>>> m = tf.ones(2,3) >>> e = tf.einsum('ij->ji', m0) # output[j,i] = m0[i,j] >>> print(e.shape) (3, 2) +\`\`\` **Diag** - >>> m = tf.reshape(tf.range(9), [3,3]) + \`\`\`>>> m = tf.reshape(tf.range(9), [3,3]) >>> diag = tf.einsum('ii->i', m) >>> print(diag.shape) (3,) +\`\`\` **Trace** - >>> # Repeated indices are summed. + \`\`\`>>> # Repeated indices are summed. >>> trace = tf.einsum('ii', m) # output[j,i] = trace(m) = sum_i m[i, i] >>> assert trace == sum(diag) >>> print(trace.shape) () +\`\`\` **Batch matrix multiplication** - >>> s = tf.random.normal(shape=[7,5,3]) + \`\`\`>>> s = tf.random.normal(shape=[7,5,3]) >>> t = tf.random.normal(shape=[7,3,2]) >>> e = tf.einsum('bij,bjk->bik', s, t) >>> # output[a,i,k] = sum_j s[a,i,j] * t[a, j, k] >>> print(e.shape) (7, 5, 2) +\`\`\` This method does not support broadcasting on named-axes. All axes with matching labels should have the same length. If you have length-1 axes, use \`tf.squeeze\` or \`tf.reshape\` to eliminate them. @@ -3020,20 +2660,22 @@ Note: The output of this function should be used. If it is not, a warning will b For example, to perform a NumPy-style broadcasting-batch-matrix multiplication where the matrix multiply acts on the last two axes of the input, use: - >>> s = tf.random.normal(shape=[11, 7, 5, 3]) + \`\`\`>>> s = tf.random.normal(shape=[11, 7, 5, 3]) >>> t = tf.random.normal(shape=[11, 7, 3, 2]) >>> e = tf.einsum('...ij,...jk->...ik', s, t) >>> print(e.shape) (11, 7, 5, 2) +\`\`\` Einsum **will** broadcast over axes covered by the ellipsis. - >>> s = tf.random.normal(shape=[11, 1, 5, 3]) + \`\`\`>>> s = tf.random.normal(shape=[11, 1, 5, 3]) >>> t = tf.random.normal(shape=[1, 7, 3, 2]) >>> e = tf.einsum('...ij,...jk->...ik', s, t) >>> print(e.shape) (11, 7, 5, 2) +\`\`\` Args: equation: a \`str\` describing the contraction, in the same format as \`numpy.einsum\`. @@ -3058,24 +2700,27 @@ Note: The output of this function should be used. If it is not, a warning will b is compatible with the \`shape\` argument. See \`tf.TensorShape.is_compatible_with\` for details. - >>> x = tf.constant([[1, 2, 3], + \`\`\`>>> x = tf.constant([[1, 2, 3], ... [4, 5, 6]]) >>> x = tf.ensure_shape(x, [2, 3]) +\`\`\` Use \`None\` for unknown dimensions: - >>> x = tf.ensure_shape(x, [None, 3]) + \`\`\`>>> x = tf.ensure_shape(x, [None, 3]) >>> x = tf.ensure_shape(x, [2, None]) +\`\`\` If the tensor's shape is not compatible with the \`shape\` argument, an error is raised: - >>> x = tf.ensure_shape(x, [5]) + \`\`\`>>> x = tf.ensure_shape(x, [5]) Traceback (most recent call last): ... tf.errors.InvalidArgumentError: Shape of tensor dummy_input [3] is not compatible with expected shape [5]. [Op:EnsureShape] +\`\`\` During graph construction (typically tracing a \`tf.function\`), \`tf.ensure_shape\` updates the static-shape of the **result** tensor by merging the two shapes. See \`tf.TensorShape.merge_with\` for details. @@ -3086,24 +2731,27 @@ Note: The output of this function should be used. If it is not, a warning will b The following trivial \`tf.function\` prints the input tensor's static-shape before and after \`ensure_shape\` is applied. - >>> @tf.function + \`\`\`>>> @tf.function ... def f(tensor): ... print("Static-shape before:", tensor.shape) ... tensor = tf.ensure_shape(tensor, [None, 3]) ... print("Static-shape after:", tensor.shape) ... return tensor +\`\`\` This lets you see the effect of \`tf.ensure_shape\` when the function is traced: - >>> cf = f.get_concrete_function(tf.TensorSpec([None, None])) + \`\`\`>>> cf = f.get_concrete_function(tf.TensorSpec([None, None])) Static-shape before: (None, None) Static-shape after: (None, 3) - >>> cf(tf.zeros([3, 3])) # Passes +\`\`\` + \`\`\`>>> cf(tf.zeros([3, 3])) # Passes >>> cf(tf.constant([1, 2, 3])) # fails Traceback (most recent call last): ... InvalidArgumentError: Shape of tensor x [3] is not compatible with expected shape [3,3]. +\`\`\` The above example raises \`tf.errors.InvalidArgumentError\`, because \`x\`'s shape, \`(3,)\`, is not compatible with the \`shape\` argument, \`(None, 3)\` @@ -3120,7 +2768,7 @@ Note: The output of this function should be used. If it is not, a warning will b For example, of loading images of a known size: - >>> @tf.function + \`\`\`>>> @tf.function ... def decode_image(png): ... image = tf.image.decode_png(png, channels=3) ... # the \`print\` executes during tracing. @@ -3129,23 +2777,26 @@ Note: The output of this function should be used. If it is not, a warning will b ... print("Final shape: ", image.shape) ... return image +\`\`\` When tracing a function, no ops are being executed, shapes may be unknown. See the [Concrete Functions Guide](https://www.tensorflow.org/guide/concrete_function) for details. - >>> concrete_decode = decode_image.get_concrete_function( + \`\`\`>>> concrete_decode = decode_image.get_concrete_function( ... tf.TensorSpec([], dtype=tf.string)) Initial shape: (None, None, 3) Final shape: (28, 28, 3) - >>> image = tf.random.uniform(maxval=255, shape=[28, 28, 3], dtype=tf.int32) +\`\`\` + \`\`\`>>> image = tf.random.uniform(maxval=255, shape=[28, 28, 3], dtype=tf.int32) >>> image = tf.cast(image,tf.uint8) >>> png = tf.image.encode_png(image) >>> image2 = concrete_decode(png) >>> print(image2.shape) (28, 28, 3) - >>> image = tf.concat([image,image], axis=0) +\`\`\` + \`\`\`>>> image = tf.concat([image,image], axis=0) >>> print(image.shape) (56, 28, 3) >>> png = tf.image.encode_png(image) @@ -3155,10 +2806,11 @@ Note: The output of this function should be used. If it is not, a warning will b tf.errors.InvalidArgumentError: Shape of tensor DecodePng [56,28,3] is not compatible with expected shape [28,28,3]. +\`\`\` Caution: if you don't use the result of \`tf.ensure_shape\` the check may not run. - >>> @tf.function + \`\`\`>>> @tf.function ... def bad_decode_image(png): ... image = tf.image.decode_png(png, channels=3) ... # the \`print\` executes during tracing. @@ -3168,12 +2820,14 @@ Note: The output of this function should be used. If it is not, a warning will b ... print("Final shape: ", image.shape) ... return image - >>> image = bad_decode_image(png) +\`\`\` + \`\`\`>>> image = bad_decode_image(png) Initial shape: (None, None, 3) Final shape: (None, None, 3) >>> print(image.shape) (56, 28, 3) +\`\`\` Args: x: A \`Tensor\`. shape: A \`TensorShape\` representing the shape of this tensor, a @@ -3195,16 +2849,18 @@ Note: The output of this function should be used. If it is not, a warning will b For example: - >>> x = tf.constant([2, 4]) + \`\`\`>>> x = tf.constant([2, 4]) >>> y = tf.constant(2) >>> tf.math.equal(x, y) - >>> x = tf.constant([2, 4]) +\`\`\` + \`\`\`>>> x = tf.constant([2, 4]) >>> y = tf.constant([2, 4]) >>> tf.math.equal(x, y) +\`\`\` Args: x: A \`tf.Tensor\` or \`tf.sparse.SparseTensor\` or \`tf.IndexedSlices\`. y: A \`tf.Tensor\` or \`tf.sparse.SparseTensor\` or \`tf.IndexedSlices\`. @@ -3228,12 +2884,13 @@ Note: The output of this function should be used. If it is not, a warning will b General case: - >>> print(tf.executing_eagerly()) + \`\`\`>>> print(tf.executing_eagerly()) True +\`\`\` Inside \`tf.function\`: - >>> @tf.function + \`\`\`>>> @tf.function ... def fn(): ... with tf.init_scope(): ... print(tf.executing_eagerly()) @@ -3242,9 +2899,10 @@ Note: The output of this function should be used. If it is not, a warning will b True False +\`\`\` Inside \`tf.function\` after \`tf.config.run_functions_eagerly(True)\` is called: - >>> tf.config.run_functions_eagerly(True) + \`\`\`>>> tf.config.run_functions_eagerly(True) >>> @tf.function ... def fn(): ... with tf.init_scope(): @@ -3255,15 +2913,17 @@ Note: The output of this function should be used. If it is not, a warning will b True >>> tf.config.run_functions_eagerly(False) +\`\`\` Inside a transformation function for \`tf.dataset\`: - >>> def data_fn(x): + \`\`\`>>> def data_fn(x): ... print(tf.executing_eagerly()) ... return x >>> dataset = tf.data.Dataset.range(100) >>> dataset = dataset.map(data_fn) False +\`\`\` Returns: \`True\` if the current thread has eager execution enabled. `},{name:"exp",path:"./tf/math/exp.md",desc:"Computes exponential of x element-wise. \\\\(y = e^x\\\\",type:"Functions",docs:`Computes exponential of x element-wise. \\\\(y = e^x\\\\). @@ -3273,15 +2933,17 @@ Note: The output of this function should be used. If it is not, a warning will b \\\\(e\\\\) denotes Euler's number and is approximately equal to 2.718281. Output is positive for any real input. - >>> x = tf.constant(2.0) + \`\`\`>>> x = tf.constant(2.0) >>> tf.math.exp(x) - >>> x = tf.constant([2.0, 8.0]) +\`\`\` + \`\`\`>>> x = tf.constant([2.0, 8.0]) >>> tf.math.exp(x) +\`\`\` For complex numbers, the exponential value is calculated as $$ e^{x+iy} = {e^x} {e^{iy}} = {e^x} ({\\cos (y) + i \\sin (y)}) @@ -3292,11 +2954,12 @@ Note: The output of this function should be used. If it is not, a warning will b e^1 (\\cos (1) + i \\sin (1)) = 2.7182817 \\times (0.5403023+0.84147096j) $$ - >>> x = tf.constant(1 + 1j) + \`\`\`>>> x = tf.constant(1 + 1j) >>> tf.math.exp(x) +\`\`\` Args: x: A \`tf.Tensor\`. Must be one of the following types: \`bfloat16\`, \`half\`, \`float32\`, \`float64\`, \`complex64\`, \`complex128\`. @@ -3308,88 +2971,7 @@ Note: The output of this function should be used. If it is not, a warning will b @compatibility(numpy) Equivalent to np.exp @end_compatibility - `},{name:"expand_dims",path:"./tf/expand_dims.md",desc:"Returns a tensor with a length 1 axis inserted at index `axis`.",type:"Functions",docs:`Returns a tensor with a length 1 axis inserted at index \`axis\`. - - Given a tensor \`input\`, this operation inserts a dimension of length 1 at the - dimension index \`axis\` of \`input\`'s shape. The dimension index follows Python - indexing rules: It's zero-based, a negative index it is counted backward - from the end. - - This operation is useful to: - - * Add an outer "batch" dimension to a single element. - * Align axes for broadcasting. - * To add an inner vector length axis to a tensor of scalars. - - For example: - - If you have a single image of shape \`[height, width, channels]\`: - - >>> image = tf.zeros([10,10,3]) - - You can add an outer \`batch\` axis by passing \`axis=0\`: - - >>> tf.expand_dims(image, axis=0).shape.as_list() - [1, 10, 10, 3] - - The new axis location matches Python \`list.insert(axis, 1)\`: - - >>> tf.expand_dims(image, axis=1).shape.as_list() - [10, 1, 10, 3] - - Following standard Python indexing rules, a negative \`axis\` counts from the - end so \`axis=-1\` adds an inner most dimension: - - >>> tf.expand_dims(image, -1).shape.as_list() - [10, 10, 3, 1] - - This operation requires that \`axis\` is a valid index for \`input.shape\`, - following Python indexing rules: - - \`\`\` - -1-tf.rank(input) <= axis <= tf.rank(input) - \`\`\` - - This operation is related to: - - * \`tf.squeeze\`, which removes dimensions of size 1. - * \`tf.reshape\`, which provides more flexible reshaping capability. - * \`tf.sparse.expand_dims\`, which provides this functionality for - \`tf.SparseTensor\` - - Args: - input: A \`Tensor\`. - axis: Integer specifying the dimension index at which to expand the - shape of \`input\`. Given an input of D dimensions, \`axis\` must be in range - \`[-(D+1), D]\` (inclusive). - name: Optional string. The name of the output \`Tensor\`. - - Returns: - A tensor with the same data as \`input\`, with an additional dimension - inserted at the index specified by \`axis\`. - - Raises: - TypeError: If \`axis\` is not specified. - InvalidArgumentError: If \`axis\` is out of range \`[-(D+1), D]\`. - `},{name:"extract_volume_patches",path:"./tf/extract_volume_patches.md",desc:'Extract `patches` from `input` and put them in the `"depth"` output dimension. 3D extension of `extract_image_patches`.',type:"Functions",docs:'Extract `patches` from `input` and put them in the `"depth"` output dimension. 3D extension of `extract_image_patches`.\n\n Args:\n input: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`.\n 5-D Tensor with shape `[batch, in_planes, in_rows, in_cols, depth]`.\n ksizes: A list of `ints` that has length `>= 5`.\n The size of the sliding window for each dimension of `input`.\n strides: A list of `ints` that has length `>= 5`.\n 1-D of length 5. How far the centers of two consecutive patches are in\n `input`. Must be: `[1, stride_planes, stride_rows, stride_cols, 1]`.\n padding: A `string` from: `"SAME", "VALID"`.\n The type of padding algorithm to use.\n\n The size-related attributes are specified as follows:\n\n ```python\n ksizes = [1, ksize_planes, ksize_rows, ksize_cols, 1]\n strides = [1, stride_planes, strides_rows, strides_cols, 1]\n ```\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `input`.\n '},{name:"eye",path:"./tf/eye.md",desc:"Construct an identity matrix, or a batch of matrices.",type:"Functions",docs:'Construct an identity matrix, or a batch of matrices.\n\n See also `tf.ones`, `tf.zeros`, `tf.fill`, `tf.one_hot`.\n\n ```python\n # Construct one identity matrix.\n tf.eye(2)\n ==> [[1., 0.],\n [0., 1.]]\n\n # Construct a batch of 3 identity matrices, each 2 x 2.\n # batch_identity[i, :, :] is a 2 x 2 identity matrix, i = 0, 1, 2.\n batch_identity = tf.eye(2, batch_shape=[3])\n\n # Construct one 2 x 3 "identity" matrix\n tf.eye(2, num_columns=3)\n ==> [[ 1., 0., 0.],\n [ 0., 1., 0.]]\n ```\n\n Args:\n num_rows: Non-negative `int32` scalar `Tensor` giving the number of rows\n in each batch matrix.\n num_columns: Optional non-negative `int32` scalar `Tensor` giving the number\n of columns in each batch matrix. Defaults to `num_rows`.\n batch_shape: A list or tuple of Python integers or a 1-D `int32` `Tensor`.\n If provided, the returned `Tensor` will have leading batch dimensions of\n this shape.\n dtype: The type of an element in the resulting `Tensor`\n name: A name for this `Op`. Defaults to "eye".\n\n Returns:\n A `Tensor` of shape `batch_shape + [num_rows, num_columns]`\n '},{name:"fill",path:"./tf/fill.md",desc:"Creates a tensor filled with a scalar value.",type:"Functions",docs:"Creates a tensor filled with a scalar value.\n\n See also `tf.ones`, `tf.zeros`, `tf.one_hot`, `tf.eye`.\n\n This operation creates a tensor of shape `dims` and fills it with `value`.\n\n For example:\n\n >>> tf.fill([2, 3], 9)\n \n\n `tf.fill` evaluates at graph runtime and supports dynamic shapes based on\n other runtime `tf.Tensors`, unlike `tf.constant(value, shape=dims)`, which\n embeds the value as a `Const` node.\n\n Args:\n dims: A 1-D sequence of non-negative numbers. Represents the shape of the\n output `tf.Tensor`. Entries should be of type: `int32`, `int64`.\n value: A value to fill the returned `tf.Tensor`.\n name: Optional string. The name of the output `tf.Tensor`.\n\n Returns:\n A `tf.Tensor` with shape `dims` and the same dtype as `value`.\n\n Raises:\n InvalidArgumentError: `dims` contains negative entries.\n NotFoundError: `dims` contains non-integer entries.\n\n @compatibility(numpy)\n Similar to `np.full`. In `numpy`, more parameters are supported. Passing a\n number argument as the shape (`np.full(5, value)`) is valid in `numpy` for\n specifying a 1-D shaped result, while TensorFlow does not support this syntax.\n @end_compatibility\n "},{name:"fingerprint",path:"./tf/fingerprint.md",desc:"Generates fingerprint values.",type:"Functions",docs:"Generates fingerprint values.\n\n Generates fingerprint values of `data`.\n\n Fingerprint op considers the first dimension of `data` as the batch dimension,\n and `output[i]` contains the fingerprint value generated from contents in\n `data[i, ...]` for all `i`.\n\n Fingerprint op writes fingerprint values as byte arrays. For example, the\n default method `farmhash64` generates a 64-bit fingerprint value at a time.\n This 8-byte value is written out as an `tf.uint8` array of size 8, in\n little-endian order.\n\n For example, suppose that `data` has data type `tf.int32` and shape (2, 3, 4),\n and that the fingerprint method is `farmhash64`. In this case, the output\n shape is (2, 8), where 2 is the batch dimension size of `data`, and 8 is the\n size of each fingerprint value in bytes. `output[0, :]` is generated from\n 12 integers in `data[0, :, :]` and similarly `output[1, :]` is generated from\n other 12 integers in `data[1, :, :]`.\n\n Note that this op fingerprints the raw underlying buffer, and it does not\n fingerprint Tensor's metadata such as data type and/or shape. For example, the\n fingerprint values are invariant under reshapes and bitcasts as long as the\n batch dimension remain the same:\n\n ```python\n tf.fingerprint(data) == tf.fingerprint(tf.reshape(data, ...))\n tf.fingerprint(data) == tf.fingerprint(tf.bitcast(data, ...))\n ```\n\n For string data, one should expect `tf.fingerprint(data) !=\n tf.fingerprint(tf.string.reduce_join(data))` in general.\n\n Args:\n data: A `Tensor`. Must have rank 1 or higher.\n method: A `Tensor` of type `tf.string`. Fingerprint method used by this op.\n Currently available method is `farmhash64`.\n name: A name for the operation (optional).\n\n Returns:\n A two-dimensional `Tensor` of type `tf.uint8`. The first dimension equals to\n `data`'s first dimension, and the second dimension size depends on the\n fingerprint algorithm.\n "},{name:"floor",path:"./tf/math/floor.md",desc:"Returns element-wise largest integer not greater than x.",type:"Functions",docs:`Returns element-wise largest integer not greater than x. - - Both input range is \`(-inf, inf)\` and the - output range consists of all integer values. - - For example: - - >>> x = tf.constant([1.3324, -1.5, 5.555, -2.532, 0.99, float("inf")]) - >>> tf.floor(x).numpy() - array([ 1., -2., 5., -3., 0., inf], dtype=float32) - - Args: - x: A \`Tensor\`. Must be one of the following types: \`bfloat16\`, \`half\`, - \`float32\`, \`float64\`. - name: A name for the operation (optional). - - Returns: - A \`Tensor\`. Has the same type as x. - `},{name:"foldl",path:"./tf/foldl.md",desc:"foldl on the list of tensors unpacked from `elems` on dimension 0. (deprecated argument values",type:"Functions",docs:`foldl on the list of tensors unpacked from \`elems\` on dimension 0. (deprecated argument values) + `},{name:"expand_dims",path:"./tf/expand_dims.md",desc:"Returns a tensor with a length 1 axis inserted at index `axis`.",type:"Functions",docs:"Returns a tensor with a length 1 axis inserted at index `axis`.\n\n Given a tensor `input`, this operation inserts a dimension of length 1 at the\n dimension index `axis` of `input`'s shape. The dimension index follows Python\n indexing rules: It's zero-based, a negative index it is counted backward\n from the end.\n\n This operation is useful to:\n\n * Add an outer \"batch\" dimension to a single element.\n * Align axes for broadcasting.\n * To add an inner vector length axis to a tensor of scalars.\n\n For example:\n\n If you have a single image of shape `[height, width, channels]`:\n\n ```>>> image = tf.zeros([10,10,3])\n\n```\n You can add an outer `batch` axis by passing `axis=0`:\n\n ```>>> tf.expand_dims(image, axis=0).shape.as_list()\n [1, 10, 10, 3]\n\n```\n The new axis location matches Python `list.insert(axis, 1)`:\n\n ```>>> tf.expand_dims(image, axis=1).shape.as_list()\n [10, 1, 10, 3]\n\n```\n Following standard Python indexing rules, a negative `axis` counts from the\n end so `axis=-1` adds an inner most dimension:\n\n ```>>> tf.expand_dims(image, -1).shape.as_list()\n [10, 10, 3, 1]\n\n```\n This operation requires that `axis` is a valid index for `input.shape`,\n following Python indexing rules:\n\n ```\n -1-tf.rank(input) <= axis <= tf.rank(input)\n ```\n\n This operation is related to:\n\n * `tf.squeeze`, which removes dimensions of size 1.\n * `tf.reshape`, which provides more flexible reshaping capability.\n * `tf.sparse.expand_dims`, which provides this functionality for\n `tf.SparseTensor`\n\n Args:\n input: A `Tensor`.\n axis: Integer specifying the dimension index at which to expand the\n shape of `input`. Given an input of D dimensions, `axis` must be in range\n `[-(D+1), D]` (inclusive).\n name: Optional string. The name of the output `Tensor`.\n\n Returns:\n A tensor with the same data as `input`, with an additional dimension\n inserted at the index specified by `axis`.\n\n Raises:\n TypeError: If `axis` is not specified.\n InvalidArgumentError: If `axis` is out of range `[-(D+1), D]`.\n "},{name:"extract_volume_patches",path:"./tf/extract_volume_patches.md",desc:'Extract `patches` from `input` and put them in the `"depth"` output dimension. 3D extension of `extract_image_patches`.',type:"Functions",docs:'Extract `patches` from `input` and put them in the `"depth"` output dimension. 3D extension of `extract_image_patches`.\n\n Args:\n input: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`.\n 5-D Tensor with shape `[batch, in_planes, in_rows, in_cols, depth]`.\n ksizes: A list of `ints` that has length `>= 5`.\n The size of the sliding window for each dimension of `input`.\n strides: A list of `ints` that has length `>= 5`.\n 1-D of length 5. How far the centers of two consecutive patches are in\n `input`. Must be: `[1, stride_planes, stride_rows, stride_cols, 1]`.\n padding: A `string` from: `"SAME", "VALID"`.\n The type of padding algorithm to use.\n\n The size-related attributes are specified as follows:\n\n ```python\n ksizes = [1, ksize_planes, ksize_rows, ksize_cols, 1]\n strides = [1, stride_planes, strides_rows, strides_cols, 1]\n ```\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `input`.\n '},{name:"eye",path:"./tf/eye.md",desc:"Construct an identity matrix, or a batch of matrices.",type:"Functions",docs:'Construct an identity matrix, or a batch of matrices.\n\n See also `tf.ones`, `tf.zeros`, `tf.fill`, `tf.one_hot`.\n\n ```python\n # Construct one identity matrix.\n tf.eye(2)\n ==> [[1., 0.],\n [0., 1.]]\n\n # Construct a batch of 3 identity matrices, each 2 x 2.\n # batch_identity[i, :, :] is a 2 x 2 identity matrix, i = 0, 1, 2.\n batch_identity = tf.eye(2, batch_shape=[3])\n\n # Construct one 2 x 3 "identity" matrix\n tf.eye(2, num_columns=3)\n ==> [[ 1., 0., 0.],\n [ 0., 1., 0.]]\n ```\n\n Args:\n num_rows: Non-negative `int32` scalar `Tensor` giving the number of rows\n in each batch matrix.\n num_columns: Optional non-negative `int32` scalar `Tensor` giving the number\n of columns in each batch matrix. Defaults to `num_rows`.\n batch_shape: A list or tuple of Python integers or a 1-D `int32` `Tensor`.\n If provided, the returned `Tensor` will have leading batch dimensions of\n this shape.\n dtype: The type of an element in the resulting `Tensor`\n name: A name for this `Op`. Defaults to "eye".\n\n Returns:\n A `Tensor` of shape `batch_shape + [num_rows, num_columns]`\n '},{name:"fill",path:"./tf/fill.md",desc:"Creates a tensor filled with a scalar value.",type:"Functions",docs:"Creates a tensor filled with a scalar value.\n\n See also `tf.ones`, `tf.zeros`, `tf.one_hot`, `tf.eye`.\n\n This operation creates a tensor of shape `dims` and fills it with `value`.\n\n For example:\n\n ```>>> tf.fill([2, 3], 9)\n \n\n```\n `tf.fill` evaluates at graph runtime and supports dynamic shapes based on\n other runtime `tf.Tensors`, unlike `tf.constant(value, shape=dims)`, which\n embeds the value as a `Const` node.\n\n Args:\n dims: A 1-D sequence of non-negative numbers. Represents the shape of the\n output `tf.Tensor`. Entries should be of type: `int32`, `int64`.\n value: A value to fill the returned `tf.Tensor`.\n name: Optional string. The name of the output `tf.Tensor`.\n\n Returns:\n A `tf.Tensor` with shape `dims` and the same dtype as `value`.\n\n Raises:\n InvalidArgumentError: `dims` contains negative entries.\n NotFoundError: `dims` contains non-integer entries.\n\n @compatibility(numpy)\n Similar to `np.full`. In `numpy`, more parameters are supported. Passing a\n number argument as the shape (`np.full(5, value)`) is valid in `numpy` for\n specifying a 1-D shaped result, while TensorFlow does not support this syntax.\n @end_compatibility\n "},{name:"fingerprint",path:"./tf/fingerprint.md",desc:"Generates fingerprint values.",type:"Functions",docs:"Generates fingerprint values.\n\n Generates fingerprint values of `data`.\n\n Fingerprint op considers the first dimension of `data` as the batch dimension,\n and `output[i]` contains the fingerprint value generated from contents in\n `data[i, ...]` for all `i`.\n\n Fingerprint op writes fingerprint values as byte arrays. For example, the\n default method `farmhash64` generates a 64-bit fingerprint value at a time.\n This 8-byte value is written out as an `tf.uint8` array of size 8, in\n little-endian order.\n\n For example, suppose that `data` has data type `tf.int32` and shape (2, 3, 4),\n and that the fingerprint method is `farmhash64`. In this case, the output\n shape is (2, 8), where 2 is the batch dimension size of `data`, and 8 is the\n size of each fingerprint value in bytes. `output[0, :]` is generated from\n 12 integers in `data[0, :, :]` and similarly `output[1, :]` is generated from\n other 12 integers in `data[1, :, :]`.\n\n Note that this op fingerprints the raw underlying buffer, and it does not\n fingerprint Tensor's metadata such as data type and/or shape. For example, the\n fingerprint values are invariant under reshapes and bitcasts as long as the\n batch dimension remain the same:\n\n ```python\n tf.fingerprint(data) == tf.fingerprint(tf.reshape(data, ...))\n tf.fingerprint(data) == tf.fingerprint(tf.bitcast(data, ...))\n ```\n\n For string data, one should expect `tf.fingerprint(data) !=\n tf.fingerprint(tf.string.reduce_join(data))` in general.\n\n Args:\n data: A `Tensor`. Must have rank 1 or higher.\n method: A `Tensor` of type `tf.string`. Fingerprint method used by this op.\n Currently available method is `farmhash64`.\n name: A name for the operation (optional).\n\n Returns:\n A two-dimensional `Tensor` of type `tf.uint8`. The first dimension equals to\n `data`'s first dimension, and the second dimension size depends on the\n fingerprint algorithm.\n "},{name:"floor",path:"./tf/math/floor.md",desc:"Returns element-wise largest integer not greater than x.",type:"Functions",docs:'Returns element-wise largest integer not greater than x.\n\n Both input range is `(-inf, inf)` and the\n output range consists of all integer values.\n\n For example:\n\n ```>>> x = tf.constant([1.3324, -1.5, 5.555, -2.532, 0.99, float("inf")])\n >>> tf.floor(x).numpy()\n array([ 1., -2., 5., -3., 0., inf], dtype=float32)\n\n```\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`,\n `float32`, `float64`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as x.\n '},{name:"foldl",path:"./tf/foldl.md",desc:"foldl on the list of tensors unpacked from `elems` on dimension 0. (deprecated argument values",type:"Functions",docs:`foldl on the list of tensors unpacked from \`elems\` on dimension 0. (deprecated argument values) Deprecated: SOME ARGUMENT VALUES ARE DEPRECATED: \`(back_prop=False)\`. They will be removed in a future version. Instructions for updating: @@ -3521,7 +3103,7 @@ known limitations. Example usage: ->>> @tf.function +\`\`\`>>> @tf.function ... def f(x, y): ... return x ** 2 + y >>> x = tf.constant([2, 3]) @@ -3529,6 +3111,7 @@ Example usage: >>> f(x, y) +\`\`\` The trace-compilation allows non-TensorFlow operations to execute, but under special conditions. In general, only TensorFlow operations are guaranteed to run and create fresh results whenever the \`GenericFunction\` is called. @@ -3538,7 +3121,7 @@ run and create fresh results whenever the \`GenericFunction\` is called. \`func\` may use data-dependent Python control flow statements, including \`if\`, \`for\`, \`while\` \`break\`, \`continue\` and \`return\`: ->>> @tf.function +\`\`\`>>> @tf.function ... def f(x): ... if tf.reduce_sum(x) > 0: ... return x * x @@ -3547,9 +3130,10 @@ run and create fresh results whenever the \`GenericFunction\` is called. >>> f(tf.constant(-2)) +\`\`\` \`func\`'s closure may include \`tf.Tensor\` and \`tf.Variable\` objects: ->>> @tf.function +\`\`\`>>> @tf.function ... def f(): ... return x ** 2 + y >>> x = tf.constant([-2, -3]) @@ -3557,10 +3141,11 @@ run and create fresh results whenever the \`GenericFunction\` is called. >>> f() +\`\`\` \`func\` may also use ops with side effects, such as \`tf.print\`, \`tf.Variable\` and others: ->>> v = tf.Variable(1) +\`\`\`>>> v = tf.Variable(1) >>> @tf.function ... def f(x): ... for i in tf.range(x): @@ -3569,12 +3154,13 @@ and others: >>> v +\`\`\` Important: Any Python side-effects (appending to a list, printing with \`print\`, etc) will only happen once, when \`func\` is traced. To have side-effects executed into your \`tf.function\` they need to be written as TF ops: ->>> l = [] +\`\`\`>>> l = [] >>> @tf.function ... def f(x): ... for i in x: @@ -3583,9 +3169,10 @@ as TF ops: >>> l [] +\`\`\` Instead, use TensorFlow collections like \`tf.TensorArray\`: ->>> @tf.function +\`\`\`>>> @tf.function ... def f(x): ... ta = tf.TensorArray(dtype=tf.int32, size=0, dynamic_size=True) ... for i in range(len(x)): @@ -3594,6 +3181,7 @@ Instead, use TensorFlow collections like \`tf.TensorArray\`: >>> f(tf.constant([1, 2, 3])) +\`\`\` ## \`tf.function\` creates polymorphic callables Internally, \`tf.types.experimental.GenericFunction\` may contain multiple @@ -3615,12 +3203,13 @@ same arguments as \`func\` and returns a \`tf.types.experimental.ConcreteFunction\`. \`ConcreteFunction\`s are backed by a single \`tf.Graph\`: ->>> @tf.function +\`\`\`>>> @tf.function ... def f(x): ... return x + 1 >>> isinstance(f.get_concrete_function(1).graph, tf.Graph) True +\`\`\` \`ConcreteFunction\`s can be executed just like \`GenericFunction\`s, but their input is resticted to the types to which they're specialized. @@ -3637,7 +3226,7 @@ Caution: Passing python scalars or lists as arguments to \`tf.function\` will usually retrace. To avoid this, pass numeric arguments as Tensors whenever possible: ->>> @tf.function +\`\`\`>>> @tf.function ... def f(x): ... return tf.abs(x) >>> f1 = f.get_concrete_function(1) @@ -3649,6 +3238,7 @@ False >>> f1 is f2 True +\`\`\` Python numerical arguments should only be used when they take few distinct values, such as hyperparameters like the number of layers in a neural network. @@ -3658,7 +3248,7 @@ For Tensor arguments, \`GenericFunction\`creates a new \`ConcreteFunction\` for every unique set of input shapes and datatypes. The example below creates two separate \`ConcreteFunction\`s, each specialized to a different shape: ->>> @tf.function +\`\`\`>>> @tf.function ... def f(x): ... return x + 1 >>> vector = tf.constant([1.0, 1.0]) @@ -3666,6 +3256,7 @@ separate \`ConcreteFunction\`s, each specialized to a different shape: >>> f.get_concrete_function(vector) is f.get_concrete_function(matrix) False +\`\`\` An "input signature" can be optionally provided to \`tf.function\` to control this process. The input signature specifies the shape and type of each Tensor argument to the function using a \`tf.TensorSpec\` object. More general @@ -3673,7 +3264,7 @@ shapes can be used. This ensures only one \`ConcreteFunction\` is created, and restricts the \`GenericFunction\` to the specified shapes and types. It is an effective way to limit retracing when Tensors have dynamic shapes. ->>> @tf.function( +\`\`\`>>> @tf.function( ... input_signature=[tf.TensorSpec(shape=None, dtype=tf.float32)]) ... def f(x): ... return x + 1 @@ -3682,12 +3273,13 @@ an effective way to limit retracing when Tensors have dynamic shapes. >>> f.get_concrete_function(vector) is f.get_concrete_function(matrix) True +\`\`\` ## Variables may only be created once \`tf.function\` only allows creating new \`tf.Variable\` objects when it is called for the first time: ->>> class MyModule(tf.Module): +\`\`\`>>> class MyModule(tf.Module): ... def __init__(self): ... self.v = None ... @@ -3697,6 +3289,7 @@ for the first time: ... self.v = tf.Variable(tf.ones_like(x)) ... return self.v * x +\`\`\` In general, it is recommended to create \`tf.Variable\`s outside of \`tf.function\`. In simple cases, persisting state across \`tf.function\` boundaries may be @@ -3705,7 +3298,7 @@ implemented using a pure functional style in which state is represented by Contrast the two styles below: ->>> state = tf.Variable(1) +\`\`\`>>> state = tf.Variable(1) >>> @tf.function ... def f(x): ... state.assign_add(x) @@ -3713,7 +3306,8 @@ Contrast the two styles below: >>> state ->>> state = tf.constant(1) +\`\`\` +\`\`\`>>> state = tf.constant(1) >>> @tf.function ... def f(state, x): ... state += x @@ -3722,6 +3316,7 @@ Contrast the two styles below: >>> state +\`\`\` ## Python operations execute only once per trace \`func\` may contain TensorFlow operations mixed with pure Python operations. @@ -3730,7 +3325,7 @@ run. The Python operations run only once, at trace time. If TensorFlow operations depend on results from Pyhton operations, those results will be frozen into the graph. ->>> @tf.function +\`\`\`>>> @tf.function ... def f(a, b): ... print('this runs at trace time; a is', a, 'and b is', b) ... return b @@ -3738,23 +3333,27 @@ frozen into the graph. this runs at trace time; a is 1 and b is Tensor("...", shape=(), dtype=int32) ->>> f(1, tf.constant(2)) +\`\`\` +\`\`\`>>> f(1, tf.constant(2)) ->>> f(2, tf.constant(1)) +\`\`\` +\`\`\`>>> f(2, tf.constant(1)) this runs at trace time; a is 2 and b is Tensor("...", shape=(), dtype=int32) ->>> f(2, tf.constant(2)) +\`\`\` +\`\`\`>>> f(2, tf.constant(2)) +\`\`\` ## Using type annotations to improve performance 'experimental_follow_type_hints\` can be used along with type annotations to reduce retracing by automatically casting any Python values to \`tf.Tensor\` (something that is not done by default, unless you use input signatures). ->>> @tf.function(experimental_follow_type_hints=True) +\`\`\`>>> @tf.function(experimental_follow_type_hints=True) ... def f_with_hints(x: tf.Tensor): ... print('Tracing') ... return x @@ -3774,6 +3373,7 @@ Tracing >>> f_with_hints(2) +\`\`\` Args: func: the function to be compiled. If \`func\` is None, \`tf.function\` returns a decorator that can be invoked with a single argument - \`func\`. In other @@ -3861,19 +3461,21 @@ must be an integer tensor of any dimension (often 1-D). In the simplest case it's identical to scalar indexing: ->>> params = tf.constant(['p0', 'p1', 'p2', 'p3', 'p4', 'p5']) +\`\`\`>>> params = tf.constant(['p0', 'p1', 'p2', 'p3', 'p4', 'p5']) >>> params[3].numpy() b'p3' >>> tf.gather(params, 3).numpy() b'p3' +\`\`\` The most common case is to pass a single axis tensor of indices (this can't be expressed as a python slice because the indices are not sequential): ->>> indices = [2, 0, 2, 5] +\`\`\`>>> indices = [2, 0, 2, 5] >>> tf.gather(params, indices).numpy() array([b'p2', b'p0', b'p2', b'p5'], dtype=object) +\`\`\`
@@ -3882,15 +3484,16 @@ alt> The indices can have any shape. When the \`params\` has 1 axis, the output shape is equal to the input shape: ->>> tf.gather(params, [[2, 0], [2, 5]]).numpy() +\`\`\`>>> tf.gather(params, [[2, 0], [2, 5]]).numpy() array([[b'p2', b'p0'], [b'p2', b'p5']], dtype=object) +\`\`\` The \`params\` may also have any shape. \`gather\` can select slices across any axis depending on the \`axis\` argument (which defaults to 0). Below it is used to gather first rows, then columns from a matrix: ->>> params = tf.constant([[0, 1.0, 2.0], +\`\`\`>>> params = tf.constant([[0, 1.0, 2.0], ... [10.0, 11.0, 12.0], ... [20.0, 21.0, 22.0], ... [30.0, 31.0, 32.0]]) @@ -3903,10 +3506,11 @@ array([[ 2., 1.], [22., 21.], [32., 31.]], dtype=float32) +\`\`\` More generally: The output shape has the same shape as the input, with the indexed-axis replaced by the shape of the indices. ->>> def result_shape(p_shape, i_shape, axis=0): +\`\`\`>>> def result_shape(p_shape, i_shape, axis=0): ... return p_shape[:axis] + i_shape + p_shape[axis+1:] >>> >>> result_shape([1, 2, 3], [], axis=1) @@ -3916,9 +3520,10 @@ indexed-axis replaced by the shape of the indices. >>> result_shape([1, 2, 3], [7, 5], axis=1) [1, 7, 5, 3] +\`\`\` Here are some examples: ->>> params.shape.as_list() +\`\`\`>>> params.shape.as_list() [4, 3] >>> indices = tf.constant([[0, 2]]) >>> tf.gather(params, indices=indices, axis=0).shape.as_list() @@ -3926,16 +3531,18 @@ Here are some examples: >>> tf.gather(params, indices=indices, axis=1).shape.as_list() [4, 1, 2] ->>> params = tf.random.normal(shape=(5, 6, 7, 8)) +\`\`\` +\`\`\`>>> params = tf.random.normal(shape=(5, 6, 7, 8)) >>> indices = tf.random.uniform(shape=(10, 11), maxval=7, dtype=tf.int32) >>> result = tf.gather(params, indices, axis=2) >>> result.shape.as_list() [5, 6, 10, 11, 8] +\`\`\` This is because each index takes a slice from \`params\`, and places it at the corresponding location in the output. For the above example ->>> # For any location in indices +\`\`\`>>> # For any location in indices >>> a, b = 0, 1 >>> tf.reduce_all( ... # the corresponding slice of the result @@ -3945,6 +3552,7 @@ places it at the corresponding location in the output. For the above example ... ).numpy() True +\`\`\` ### Batching: The \`batch_dims\` argument lets you gather different items from each element @@ -3953,7 +3561,7 @@ of a batch. Using \`batch_dims=1\` is equivalent to having an outer loop over the first axis of \`params\` and \`indices\`: ->>> params = tf.constant([ +\`\`\`>>> params = tf.constant([ ... [0, 0, 1, 0, 2], ... [3, 0, 0, 0, 4], ... [0, 5, 0, 6, 0]]) @@ -3962,14 +3570,16 @@ axis of \`params\` and \`indices\`: ... [0, 4], ... [1, 3]]) ->>> tf.gather(params, indices, axis=1, batch_dims=1).numpy() +\`\`\` +\`\`\`>>> tf.gather(params, indices, axis=1, batch_dims=1).numpy() array([[1, 2], [3, 4], [5, 6]], dtype=int32) +\`\`\` This is equivalent to: ->>> def manually_batched_gather(params, indices, axis): +\`\`\`>>> def manually_batched_gather(params, indices, axis): ... batch_dims=1 ... result = [] ... for p,i in zip(params, indices): @@ -3981,10 +3591,11 @@ array([[1, 2], [3, 4], [5, 6]], dtype=int32) +\`\`\` Higher values of \`batch_dims\` are equivalent to multiple nested loops over the outer axes of \`params\` and \`indices\`. So the overall shape function is ->>> def batched_result_shape(p_shape, i_shape, axis=0, batch_dims=0): +\`\`\`>>> def batched_result_shape(p_shape, i_shape, axis=0, batch_dims=0): ... return p_shape[:axis] + i_shape[batch_dims:] + p_shape[axis+1:] >>> >>> batched_result_shape( @@ -3994,9 +3605,11 @@ the outer axes of \`params\` and \`indices\`. So the overall shape function is ... batch_dims=1) [3, 2] ->>> tf.gather(params, indices, axis=1, batch_dims=1).shape.as_list() +\`\`\` +\`\`\`>>> tf.gather(params, indices, axis=1, batch_dims=1).shape.as_list() [3, 2] +\`\`\` This comes up naturally if you need to use the indices of an operation like \`tf.argsort\`, or \`tf.math.top_k\` where the last dimension of the indices indexes into the last dimension of input, at the corresponding location. @@ -4052,13 +3665,14 @@ Returns: In the simplest case the vectors in \`indices\` index the full rank of \`params\`: - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... indices=[[0, 0], ... [1, 1]], ... params = [['a', 'b'], ... ['c', 'd']]).numpy() array([b'a', b'd'], dtype=object) +\`\`\` In this case the result has 1-axis fewer than \`indices\`, and each index vector is replaced by the scalar indexed from \`params\`. @@ -4079,7 +3693,7 @@ Returns: in the result contains a slice of params. This example collects rows from a matrix: - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... indices = [[1], ... [0]], ... params = [['a', 'b', 'c'], @@ -4087,6 +3701,7 @@ Returns: array([[b'd', b'e', b'f'], [b'a', b'b', b'c']], dtype=object) +\`\`\` Here \`indices\` contains \`[2]\` index vectors, each with a length of \`1\`. The index vectors each refer to rows of the \`params\` matrix. Each row has a shape of \`[3]\` so the output shape is \`[2, 3]\`. @@ -4114,7 +3729,7 @@ Returns: set the leading elements of the index vectors to be their location in the batch: - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... indices = [[0, 1], ... [1, 0], ... [2, 4], @@ -4123,10 +3738,11 @@ Returns: ... params=tf.zeros([5, 7, 3])).shape.as_list() [5, 3] +\`\`\` The \`batch_dims\` argument lets you omit those leading location dimensions from the index: - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... batch_dims=1, ... indices = [[1], ... [0], @@ -4136,11 +3752,12 @@ Returns: ... params=tf.zeros([5, 7, 3])).shape.as_list() [5, 3] +\`\`\` This is equivalent to caling a separate \`gather_nd\` for each location in the batch dimensions. - >>> params=tf.zeros([5, 7, 3]) + \`\`\`>>> params=tf.zeros([5, 7, 3]) >>> indices=tf.zeros([5, 1]) >>> batch_dims = 1 >>> @@ -4154,59 +3771,65 @@ Returns: >>> output_shape.as_list() [5, 3] +\`\`\` ### More examples Indexing into a 3-tensor: - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... indices = [[1]], ... params = [[['a0', 'b0'], ['c0', 'd0']], ... [['a1', 'b1'], ['c1', 'd1']]]).numpy() array([[[b'a1', b'b1'], [b'c1', b'd1']]], dtype=object) +\`\`\` - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... indices = [[0, 1], [1, 0]], ... params = [[['a0', 'b0'], ['c0', 'd0']], ... [['a1', 'b1'], ['c1', 'd1']]]).numpy() array([[b'c0', b'd0'], [b'a1', b'b1']], dtype=object) +\`\`\` - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... indices = [[0, 0, 1], [1, 0, 1]], ... params = [[['a0', 'b0'], ['c0', 'd0']], ... [['a1', 'b1'], ['c1', 'd1']]]).numpy() array([b'b0', b'b1'], dtype=object) +\`\`\` The examples below are for the case when only indices have leading extra dimensions. If both 'params' and 'indices' have leading batch dimensions, use the 'batch_dims' parameter to run gather_nd in batch mode. Batched indexing into a matrix: - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... indices = [[[0, 0]], [[0, 1]]], ... params = [['a', 'b'], ['c', 'd']]).numpy() array([[b'a'], [b'b']], dtype=object) +\`\`\` Batched slice indexing into a matrix: - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... indices = [[[1]], [[0]]], ... params = [['a', 'b'], ['c', 'd']]).numpy() array([[[b'c', b'd']], [[b'a', b'b']]], dtype=object) +\`\`\` Batched indexing into a 3-tensor: - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... indices = [[[1]], [[0]]], ... params = [[['a0', 'b0'], ['c0', 'd0']], ... [['a1', 'b1'], ['c1', 'd1']]]).numpy() @@ -4215,8 +3838,9 @@ Returns: [[[b'a0', b'b0'], [b'c0', b'd0']]]], dtype=object) +\`\`\` - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... indices = [[[0, 1], [1, 0]], [[0, 0], [1, 1]]], ... params = [[['a0', 'b0'], ['c0', 'd0']], ... [['a1', 'b1'], ['c1', 'd1']]]).numpy() @@ -4225,17 +3849,19 @@ Returns: [[b'a0', b'b0'], [b'c1', b'd1']]], dtype=object) - >>> tf.gather_nd( +\`\`\` + \`\`\`>>> tf.gather_nd( ... indices = [[[0, 0, 1], [1, 0, 1]], [[0, 1, 1], [1, 1, 0]]], ... params = [[['a0', 'b0'], ['c0', 'd0']], ... [['a1', 'b1'], ['c1', 'd1']]]).numpy() array([[b'b0', b'b1'], [b'd0', b'c1']], dtype=object) +\`\`\` Examples with batched 'params' and 'indices': - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... batch_dims = 1, ... indices = [[1], ... [0]], @@ -4246,8 +3872,9 @@ Returns: array([[b'c0', b'd0'], [b'a1', b'b1']], dtype=object) +\`\`\` - >>> tf.gather_nd( + \`\`\`>>> tf.gather_nd( ... batch_dims = 1, ... indices = [[[1]], [[0]]], ... params = [[['a0', 'b0'], ['c0', 'd0']], @@ -4255,7 +3882,8 @@ Returns: array([[[b'c0', b'd0']], [[b'a1', b'b1']]], dtype=object) - >>> tf.gather_nd( +\`\`\` + \`\`\`>>> tf.gather_nd( ... batch_dims = 1, ... indices = [[[1, 0]], [[0, 1]]], ... params = [[['a0', 'b0'], ['c0', 'd0']], @@ -4263,6 +3891,7 @@ Returns: array([[b'c0'], [b'b1']], dtype=object) +\`\`\` See also \`tf.gather\`. @@ -4306,18 +3935,20 @@ Returns: Example usage: - >>> a = tf.constant(10) + \`\`\`>>> a = tf.constant(10) >>> tf.get_static_value(a) 10 >>> b = tf.constant(20) >>> tf.get_static_value(tf.add(a, b)) 30 - >>> # \`tf.Variable\` is not supported. +\`\`\` + \`\`\`>>> # \`tf.Variable\` is not supported. >>> c = tf.Variable(30) >>> print(tf.get_static_value(c)) None +\`\`\` Using \`partial\` option is most relevant when calling \`get_static_value\` inside a \`tf.function\`. Setting it to \`True\` will return the results but for the values that cannot be evaluated will be \`None\`. For example: @@ -4393,7 +4024,7 @@ Returns: Returns: A function \`h(x)\` which returns the same values as \`f(x)\` and whose gradients are the same as those of an identity function. - `},{name:"gradients",path:"./tf/gradients.md",desc:"Constructs symbolic derivatives of sum of `ys` w.r.t. x in `xs`.",type:"Functions",docs:"Constructs symbolic derivatives of sum of `ys` w.r.t. x in `xs`.\n\n `tf.gradients` is only valid in a graph context. In particular,\n it is valid in the context of a `tf.function` wrapper, where code\n is executing as a graph.\n\n `ys` and `xs` are each a `Tensor` or a list of tensors. `grad_ys`\n is a list of `Tensor`, holding the gradients received by the\n `ys`. The list must be the same length as `ys`.\n\n `gradients()` adds ops to the graph to output the derivatives of `ys` with\n respect to `xs`. It returns a list of `Tensor` of length `len(xs)` where\n each tensor is the `sum(dy/dx)` for y in `ys` and for x in `xs`.\n\n `grad_ys` is a list of tensors of the same length as `ys` that holds\n the initial gradients for each y in `ys`. When `grad_ys` is None,\n we fill in a tensor of '1's of the shape of y for each y in `ys`. A\n user can provide their own initial `grad_ys` to compute the\n derivatives using a different initial gradient for each y (e.g., if\n one wanted to weight the gradient differently for each value in\n each y).\n\n `stop_gradients` is a `Tensor` or a list of tensors to be considered constant\n with respect to all `xs`. These tensors will not be backpropagated through,\n as though they had been explicitly disconnected using `stop_gradient`. Among\n other things, this allows computation of partial derivatives as opposed to\n total derivatives. For example:\n\n >>> @tf.function\n ... def example():\n ... a = tf.constant(0.)\n ... b = 2 * a\n ... return tf.gradients(a + b, [a, b], stop_gradients=[a, b])\n >>> example()\n [,\n ]\n\n Here the partial derivatives `g` evaluate to `[1.0, 1.0]`, compared to the\n total derivatives `tf.gradients(a + b, [a, b])`, which take into account the\n influence of `a` on `b` and evaluate to `[3.0, 1.0]`. Note that the above is\n equivalent to:\n\n >>> @tf.function\n ... def example():\n ... a = tf.stop_gradient(tf.constant(0.))\n ... b = tf.stop_gradient(2 * a)\n ... return tf.gradients(a + b, [a, b])\n >>> example()\n [,\n ]\n\n `stop_gradients` provides a way of stopping gradient after the graph has\n already been constructed, as compared to `tf.stop_gradient` which is used\n during graph construction. When the two approaches are combined,\n backpropagation stops at both `tf.stop_gradient` nodes and nodes in\n `stop_gradients`, whichever is encountered first.\n\n All integer tensors are considered constant with respect to all `xs`, as if\n they were included in `stop_gradients`.\n\n `unconnected_gradients` determines the value returned for each x in xs if it\n is unconnected in the graph to ys. By default this is None to safeguard\n against errors. Mathematically these gradients are zero which can be requested\n using the `'zero'` option. `tf.UnconnectedGradients` provides the\n following options and behaviors:\n\n >>> @tf.function\n ... def example(use_zero):\n ... a = tf.ones([1, 2])\n ... b = tf.ones([3, 1])\n ... if use_zero:\n ... return tf.gradients([b], [a], unconnected_gradients='zero')\n ... else:\n ... return tf.gradients([b], [a], unconnected_gradients='none')\n >>> example(False)\n [None]\n >>> example(True)\n []\n\n Let us take one practical example which comes during the back propogation\n phase. This function is used to evaluate the derivatives of the cost function\n with respect to Weights `Ws` and Biases `bs`. Below sample implementation\n provides the exaplantion of what it is actually used for :\n\n >>> @tf.function\n ... def example():\n ... Ws = tf.constant(0.)\n ... bs = 2 * Ws\n ... cost = Ws + bs # This is just an example. Please ignore the formulas.\n ... g = tf.gradients(cost, [Ws, bs])\n ... dCost_dW, dCost_db = g\n ... return dCost_dW, dCost_db\n >>> example()\n (,\n )\n\n Args:\n ys: A `Tensor` or list of tensors to be differentiated.\n xs: A `Tensor` or list of tensors to be used for differentiation.\n grad_ys: Optional. A `Tensor` or list of tensors the same size as\n `ys` and holding the gradients computed for each y in `ys`.\n name: Optional name to use for grouping all the gradient ops together.\n defaults to 'gradients'.\n gate_gradients: If True, add a tuple around the gradients returned\n for an operations. This avoids some race conditions.\n aggregation_method: Specifies the method used to combine gradient terms.\n Accepted values are constants defined in the class `AggregationMethod`.\n stop_gradients: Optional. A `Tensor` or list of tensors not to differentiate\n through.\n unconnected_gradients: Optional. Specifies the gradient value returned when\n the given input tensors are unconnected. Accepted values are constants\n defined in the class `tf.UnconnectedGradients` and the default value is\n `none`.\n\n Returns:\n A list of `Tensor` of length `len(xs)` where each tensor is the `sum(dy/dx)`\n for y in `ys` and for x in `xs`.\n\n Raises:\n LookupError: if one of the operations between `x` and `y` does not\n have a registered gradient function.\n ValueError: if the arguments are invalid.\n RuntimeError: if called in Eager mode.\n\n "},{name:"greater",path:"./tf/math/greater.md",desc:"Returns the truth value of (x > y",type:"Functions",docs:"Returns the truth value of (x > y) element-wise.\n\n *NOTE*: `math.greater` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Example:\n\n ```python\n x = tf.constant([5, 4, 6])\n y = tf.constant([5, 2, 5])\n tf.math.greater(x, y) ==> [False, True, True]\n\n x = tf.constant([5, 4, 6])\n y = tf.constant([5])\n tf.math.greater(x, y) ==> [False, False, True]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"greater_equal",path:"./tf/math/greater_equal.md",desc:"Returns the truth value of (x >= y",type:"Functions",docs:"Returns the truth value of (x >= y) element-wise.\n\n *NOTE*: `math.greater_equal` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Example:\n\n ```python\n x = tf.constant([5, 4, 6, 7])\n y = tf.constant([5, 2, 5, 10])\n tf.math.greater_equal(x, y) ==> [True, True, True, False]\n\n x = tf.constant([5, 4, 6, 7])\n y = tf.constant([5])\n tf.math.greater_equal(x, y) ==> [True, False, True, True]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"group",path:"./tf/group.md",desc:"Create an op that groups multiple operations.",type:"Functions",docs:`Create an op that groups multiple operations. + `},{name:"gradients",path:"./tf/gradients.md",desc:"Constructs symbolic derivatives of sum of `ys` w.r.t. x in `xs`.",type:"Functions",docs:"Constructs symbolic derivatives of sum of `ys` w.r.t. x in `xs`.\n\n `tf.gradients` is only valid in a graph context. In particular,\n it is valid in the context of a `tf.function` wrapper, where code\n is executing as a graph.\n\n `ys` and `xs` are each a `Tensor` or a list of tensors. `grad_ys`\n is a list of `Tensor`, holding the gradients received by the\n `ys`. The list must be the same length as `ys`.\n\n `gradients()` adds ops to the graph to output the derivatives of `ys` with\n respect to `xs`. It returns a list of `Tensor` of length `len(xs)` where\n each tensor is the `sum(dy/dx)` for y in `ys` and for x in `xs`.\n\n `grad_ys` is a list of tensors of the same length as `ys` that holds\n the initial gradients for each y in `ys`. When `grad_ys` is None,\n we fill in a tensor of '1's of the shape of y for each y in `ys`. A\n user can provide their own initial `grad_ys` to compute the\n derivatives using a different initial gradient for each y (e.g., if\n one wanted to weight the gradient differently for each value in\n each y).\n\n `stop_gradients` is a `Tensor` or a list of tensors to be considered constant\n with respect to all `xs`. These tensors will not be backpropagated through,\n as though they had been explicitly disconnected using `stop_gradient`. Among\n other things, this allows computation of partial derivatives as opposed to\n total derivatives. For example:\n\n ```>>> @tf.function\n ... def example():\n ... a = tf.constant(0.)\n ... b = 2 * a\n ... return tf.gradients(a + b, [a, b], stop_gradients=[a, b])\n >>> example()\n [,\n ]\n\n```\n Here the partial derivatives `g` evaluate to `[1.0, 1.0]`, compared to the\n total derivatives `tf.gradients(a + b, [a, b])`, which take into account the\n influence of `a` on `b` and evaluate to `[3.0, 1.0]`. Note that the above is\n equivalent to:\n\n ```>>> @tf.function\n ... def example():\n ... a = tf.stop_gradient(tf.constant(0.))\n ... b = tf.stop_gradient(2 * a)\n ... return tf.gradients(a + b, [a, b])\n >>> example()\n [,\n ]\n\n```\n `stop_gradients` provides a way of stopping gradient after the graph has\n already been constructed, as compared to `tf.stop_gradient` which is used\n during graph construction. When the two approaches are combined,\n backpropagation stops at both `tf.stop_gradient` nodes and nodes in\n `stop_gradients`, whichever is encountered first.\n\n All integer tensors are considered constant with respect to all `xs`, as if\n they were included in `stop_gradients`.\n\n `unconnected_gradients` determines the value returned for each x in xs if it\n is unconnected in the graph to ys. By default this is None to safeguard\n against errors. Mathematically these gradients are zero which can be requested\n using the `'zero'` option. `tf.UnconnectedGradients` provides the\n following options and behaviors:\n\n ```>>> @tf.function\n ... def example(use_zero):\n ... a = tf.ones([1, 2])\n ... b = tf.ones([3, 1])\n ... if use_zero:\n ... return tf.gradients([b], [a], unconnected_gradients='zero')\n ... else:\n ... return tf.gradients([b], [a], unconnected_gradients='none')\n >>> example(False)\n [None]\n >>> example(True)\n []\n\n```\n Let us take one practical example which comes during the back propogation\n phase. This function is used to evaluate the derivatives of the cost function\n with respect to Weights `Ws` and Biases `bs`. Below sample implementation\n provides the exaplantion of what it is actually used for :\n\n ```>>> @tf.function\n ... def example():\n ... Ws = tf.constant(0.)\n ... bs = 2 * Ws\n ... cost = Ws + bs # This is just an example. Please ignore the formulas.\n ... g = tf.gradients(cost, [Ws, bs])\n ... dCost_dW, dCost_db = g\n ... return dCost_dW, dCost_db\n >>> example()\n (,\n )\n\n```\n Args:\n ys: A `Tensor` or list of tensors to be differentiated.\n xs: A `Tensor` or list of tensors to be used for differentiation.\n grad_ys: Optional. A `Tensor` or list of tensors the same size as\n `ys` and holding the gradients computed for each y in `ys`.\n name: Optional name to use for grouping all the gradient ops together.\n defaults to 'gradients'.\n gate_gradients: If True, add a tuple around the gradients returned\n for an operations. This avoids some race conditions.\n aggregation_method: Specifies the method used to combine gradient terms.\n Accepted values are constants defined in the class `AggregationMethod`.\n stop_gradients: Optional. A `Tensor` or list of tensors not to differentiate\n through.\n unconnected_gradients: Optional. Specifies the gradient value returned when\n the given input tensors are unconnected. Accepted values are constants\n defined in the class `tf.UnconnectedGradients` and the default value is\n `none`.\n\n Returns:\n A list of `Tensor` of length `len(xs)` where each tensor is the `sum(dy/dx)`\n for y in `ys` and for x in `xs`.\n\n Raises:\n LookupError: if one of the operations between `x` and `y` does not\n have a registered gradient function.\n ValueError: if the arguments are invalid.\n RuntimeError: if called in Eager mode.\n\n "},{name:"greater",path:"./tf/math/greater.md",desc:"Returns the truth value of (x > y",type:"Functions",docs:"Returns the truth value of (x > y) element-wise.\n\n *NOTE*: `math.greater` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Example:\n\n ```python\n x = tf.constant([5, 4, 6])\n y = tf.constant([5, 2, 5])\n tf.math.greater(x, y) ==> [False, True, True]\n\n x = tf.constant([5, 4, 6])\n y = tf.constant([5])\n tf.math.greater(x, y) ==> [False, False, True]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"greater_equal",path:"./tf/math/greater_equal.md",desc:"Returns the truth value of (x >= y",type:"Functions",docs:"Returns the truth value of (x >= y) element-wise.\n\n *NOTE*: `math.greater_equal` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Example:\n\n ```python\n x = tf.constant([5, 4, 6, 7])\n y = tf.constant([5, 2, 5, 10])\n tf.math.greater_equal(x, y) ==> [True, True, True, False]\n\n x = tf.constant([5, 4, 6, 7])\n y = tf.constant([5])\n tf.math.greater_equal(x, y) ==> [True, False, True, True]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"group",path:"./tf/group.md",desc:"Create an op that groups multiple operations.",type:"Functions",docs:`Create an op that groups multiple operations. When this op finishes, all ops in \`inputs\` have finished. This op has no output. @@ -4518,18 +4149,19 @@ Returns: For example: - >>> a = tf.constant([0.78]) + \`\`\`>>> a = tf.constant([0.78]) >>> a_identity = tf.identity(a) >>> a.numpy() array([0.78], dtype=float32) >>> a_identity.numpy() array([0.78], dtype=float32) +\`\`\` Calling \`tf.identity\` on a variable will make a Tensor that represents the value of that variable at the time it is called. This is equivalent to calling \`.read_value()\`. - >>> a = tf.Variable(5) + \`\`\`>>> a = tf.Variable(5) >>> a_identity = tf.identity(a) >>> a.assign_add(1) @@ -4538,6 +4170,7 @@ Returns: >>> a_identity.numpy() 5 +\`\`\` Args: input: A \`Tensor\`, a \`Variable\`, a \`CompositeTensor\` or anything that can be converted to a tensor using \`tf.convert_to_tensor\`. @@ -4629,7 +4262,7 @@ Returns: ... print(tf.inside_function()) >>> f() True - `},{name:"is_tensor",path:"./tf/is_tensor.md",desc:"Checks whether `x` is a TF-native type that can be passed to many TF ops.",type:"Functions",docs:"Checks whether `x` is a TF-native type that can be passed to many TF ops.\n\n Use `is_tensor` to differentiate types that can ingested by TensorFlow ops\n without any conversion (e.g., `tf.Tensor`, `tf.SparseTensor`, and\n `tf.RaggedTensor`) from types that need to be converted into tensors before\n they are ingested (e.g., numpy `ndarray` and Python scalars).\n\n For example, in the following code block:\n\n ```python\n if not tf.is_tensor(t):\n t = tf.convert_to_tensor(t)\n return t.shape, t.dtype\n ```\n\n we check to make sure that `t` is a tensor (and convert it if not) before\n accessing its `shape` and `dtype`. (But note that not all TensorFlow native\n types have shapes or dtypes; `tf.data.Dataset` is an example of a TensorFlow\n native type that has neither shape nor dtype.)\n\n Args:\n x: A python object to check.\n\n Returns:\n `True` if `x` is a TensorFlow-native type.\n "},{name:"less",path:"./tf/math/less.md",desc:"Returns the truth value of (x < y",type:"Functions",docs:"Returns the truth value of (x < y) element-wise.\n\n *NOTE*: `math.less` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Example:\n\n ```python\n x = tf.constant([5, 4, 6])\n y = tf.constant([5])\n tf.math.less(x, y) ==> [False, True, False]\n\n x = tf.constant([5, 4, 6])\n y = tf.constant([5, 6, 7])\n tf.math.less(x, y) ==> [False, True, True]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"less_equal",path:"./tf/math/less_equal.md",desc:"Returns the truth value of (x <= y",type:"Functions",docs:"Returns the truth value of (x <= y) element-wise.\n\n *NOTE*: `math.less_equal` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Example:\n\n ```python\n x = tf.constant([5, 4, 6])\n y = tf.constant([5])\n tf.math.less_equal(x, y) ==> [True, True, False]\n\n x = tf.constant([5, 4, 6])\n y = tf.constant([5, 6, 6])\n tf.math.less_equal(x, y) ==> [True, True, True]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"linspace",path:"./tf/linspace.md",desc:"Generates evenly-spaced values in an interval along a given axis.",type:"Functions",docs:'Generates evenly-spaced values in an interval along a given axis.\n\n A sequence of `num` evenly-spaced values are generated beginning at `start`\n along a given `axis`.\n If `num > 1`, the values in the sequence increase by\n `(stop - start) / (num - 1)`, so that the last one is exactly `stop`.\n If `num <= 0`, `ValueError` is raised.\n\n Matches\n [np.linspace](https://docs.scipy.org/doc/numpy/reference/generated/numpy.linspace.html)\'s\n behaviour\n except when `num == 0`.\n\n For example:\n\n ```\n tf.linspace(10.0, 12.0, 3, name="linspace") => [ 10.0 11.0 12.0]\n ```\n\n `Start` and `stop` can be tensors of arbitrary size:\n\n >>> tf.linspace([0., 5.], [10., 40.], 5, axis=0)\n \n\n `Axis` is where the values will be generated (the dimension in the\n returned tensor which corresponds to the axis will be equal to `num`)\n\n >>> tf.linspace([0., 5.], [10., 40.], 5, axis=-1)\n \n\n\n\n Args:\n start: A `Tensor`. Must be one of the following types: `bfloat16`,\n `float32`, `float64`. N-D tensor. First entry in the range.\n stop: A `Tensor`. Must have the same type and shape as `start`. N-D tensor.\n Last entry in the range.\n num: A `Tensor`. Must be one of the following types: `int32`, `int64`. 0-D\n tensor. Number of values to generate.\n name: A name for the operation (optional).\n axis: Axis along which the operation is performed (used only when N-D\n tensors are provided).\n\n Returns:\n A `Tensor`. Has the same type as `start`.\n '},{name:"load_library",path:"./tf/load_library.md",desc:"Loads a TensorFlow plugin.",type:"Functions",docs:`Loads a TensorFlow plugin. + `},{name:"is_tensor",path:"./tf/is_tensor.md",desc:"Checks whether `x` is a TF-native type that can be passed to many TF ops.",type:"Functions",docs:"Checks whether `x` is a TF-native type that can be passed to many TF ops.\n\n Use `is_tensor` to differentiate types that can ingested by TensorFlow ops\n without any conversion (e.g., `tf.Tensor`, `tf.SparseTensor`, and\n `tf.RaggedTensor`) from types that need to be converted into tensors before\n they are ingested (e.g., numpy `ndarray` and Python scalars).\n\n For example, in the following code block:\n\n ```python\n if not tf.is_tensor(t):\n t = tf.convert_to_tensor(t)\n return t.shape, t.dtype\n ```\n\n we check to make sure that `t` is a tensor (and convert it if not) before\n accessing its `shape` and `dtype`. (But note that not all TensorFlow native\n types have shapes or dtypes; `tf.data.Dataset` is an example of a TensorFlow\n native type that has neither shape nor dtype.)\n\n Args:\n x: A python object to check.\n\n Returns:\n `True` if `x` is a TensorFlow-native type.\n "},{name:"less",path:"./tf/math/less.md",desc:"Returns the truth value of (x < y",type:"Functions",docs:"Returns the truth value of (x < y) element-wise.\n\n *NOTE*: `math.less` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Example:\n\n ```python\n x = tf.constant([5, 4, 6])\n y = tf.constant([5])\n tf.math.less(x, y) ==> [False, True, False]\n\n x = tf.constant([5, 4, 6])\n y = tf.constant([5, 6, 7])\n tf.math.less(x, y) ==> [False, True, True]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"less_equal",path:"./tf/math/less_equal.md",desc:"Returns the truth value of (x <= y",type:"Functions",docs:"Returns the truth value of (x <= y) element-wise.\n\n *NOTE*: `math.less_equal` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Example:\n\n ```python\n x = tf.constant([5, 4, 6])\n y = tf.constant([5])\n tf.math.less_equal(x, y) ==> [True, True, False]\n\n x = tf.constant([5, 4, 6])\n y = tf.constant([5, 6, 6])\n tf.math.less_equal(x, y) ==> [True, True, True]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"linspace",path:"./tf/linspace.md",desc:"Generates evenly-spaced values in an interval along a given axis.",type:"Functions",docs:'Generates evenly-spaced values in an interval along a given axis.\n\n A sequence of `num` evenly-spaced values are generated beginning at `start`\n along a given `axis`.\n If `num > 1`, the values in the sequence increase by\n `(stop - start) / (num - 1)`, so that the last one is exactly `stop`.\n If `num <= 0`, `ValueError` is raised.\n\n Matches\n [np.linspace](https://docs.scipy.org/doc/numpy/reference/generated/numpy.linspace.html)\'s\n behaviour\n except when `num == 0`.\n\n For example:\n\n ```\n tf.linspace(10.0, 12.0, 3, name="linspace") => [ 10.0 11.0 12.0]\n ```\n\n `Start` and `stop` can be tensors of arbitrary size:\n\n ```>>> tf.linspace([0., 5.], [10., 40.], 5, axis=0)\n \n\n```\n `Axis` is where the values will be generated (the dimension in the\n returned tensor which corresponds to the axis will be equal to `num`)\n\n ```>>> tf.linspace([0., 5.], [10., 40.], 5, axis=-1)\n \n\n```\n\n\n Args:\n start: A `Tensor`. Must be one of the following types: `bfloat16`,\n `float32`, `float64`. N-D tensor. First entry in the range.\n stop: A `Tensor`. Must have the same type and shape as `start`. N-D tensor.\n Last entry in the range.\n num: A `Tensor`. Must be one of the following types: `int32`, `int64`. 0-D\n tensor. Number of values to generate.\n name: A name for the operation (optional).\n axis: Axis along which the operation is performed (used only when N-D\n tensors are provided).\n\n Returns:\n A `Tensor`. Has the same type as `start`.\n '},{name:"load_library",path:"./tf/load_library.md",desc:"Loads a TensorFlow plugin.",type:"Functions",docs:`Loads a TensorFlow plugin. "library_location" can be a path to a specific shared object, or a folder. If it is a folder, all shared objects that are named "libtfkernel*" will be @@ -4666,135 +4299,7 @@ Returns: Raises: RuntimeError: when unable to load the library or get the python wrappers. - `},{name:"logical_and",path:"./tf/math/logical_and.md",desc:"Returns the truth value of x AND y element-wise.",type:"Functions",docs:`Returns the truth value of x AND y element-wise. - - Logical AND function. - - Requires that \`x\` and \`y\` have the same shape or have - [broadcast-compatible](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) - shapes. For example, \`x\` and \`y\` can be: - - - Two single elements of type \`bool\`. - - One \`tf.Tensor\` of type \`bool\` and one single \`bool\`, where the result will - be calculated by applying logical AND with the single element to each - element in the larger Tensor. - - Two \`tf.Tensor\` objects of type \`bool\` of the same shape. In this case, - the result will be the element-wise logical AND of the two input tensors. - - You can also use the \`&\` operator instead. - - Usage: - - >>> a = tf.constant([True]) - >>> b = tf.constant([False]) - >>> tf.math.logical_and(a, b) - - >>> a & b - - - >>> c = tf.constant([True]) - >>> x = tf.constant([False, True, True, False]) - >>> tf.math.logical_and(c, x) - - >>> c & x - - - >>> y = tf.constant([False, False, True, True]) - >>> z = tf.constant([False, True, False, True]) - >>> tf.math.logical_and(y, z) - - >>> y & z - - - This op also supports broadcasting - - >>> tf.logical_and([[True, False]], [[True], [False]]) - - - The reduction version of this elementwise operation is \`tf.math.reduce_all\`. - - Args: - x: A \`tf.Tensor\` of type bool. - y: A \`tf.Tensor\` of type bool. - name: A name for the operation (optional). - - Returns: - A \`tf.Tensor\` of type bool with the shape that \`x\` and \`y\` broadcast to. - - Args: - x: A \`Tensor\` of type \`bool\`. - y: A \`Tensor\` of type \`bool\`. - name: A name for the operation (optional). - - Returns: - A \`Tensor\` of type \`bool\`. - `},{name:"logical_not",path:"./tf/math/logical_not.md",desc:"Returns the truth value of `NOT x` element-wise.",type:"Functions",docs:"Returns the truth value of `NOT x` element-wise.\n\n Example:\n\n >>> tf.math.logical_not(tf.constant([True, False]))\n \n\n Args:\n x: A `Tensor` of type `bool`. A `Tensor` of type `bool`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"logical_or",path:"./tf/math/logical_or.md",desc:"Returns the truth value of x OR y element-wise.",type:"Functions",docs:`Returns the truth value of x OR y element-wise. - - Logical OR function. - - Requires that \`x\` and \`y\` have the same shape or have - [broadcast-compatible](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) - shapes. For example, \`x\` and \`y\` can be: - - - Two single elements of type \`bool\`. - - One \`tf.Tensor\` of type \`bool\` and one single \`bool\`, where the result will - be calculated by applying logical OR with the single element to each - element in the larger Tensor. - - Two \`tf.Tensor\` objects of type \`bool\` of the same shape. In this case, - the result will be the element-wise logical OR of the two input tensors. - - You can also use the \`|\` operator instead. - - Usage: - - >>> a = tf.constant([True]) - >>> b = tf.constant([False]) - >>> tf.math.logical_or(a, b) - - >>> a | b - - - >>> c = tf.constant([False]) - >>> x = tf.constant([False, True, True, False]) - >>> tf.math.logical_or(c, x) - - >>> c | x - - - >>> y = tf.constant([False, False, True, True]) - >>> z = tf.constant([False, True, False, True]) - >>> tf.math.logical_or(y, z) - - >>> y | z - - - This op also supports broadcasting - - >>> tf.logical_or([[True, False]], [[True], [False]]) - - - The reduction version of this elementwise operation is \`tf.math.reduce_any\`. - - Args: - x: A \`tf.Tensor\` of type bool. - y: A \`tf.Tensor\` of type bool. - name: A name for the operation (optional). - - Returns: - A \`tf.Tensor\` of type bool with the shape that \`x\` and \`y\` broadcast to. - - Args: - x: A \`Tensor\` of type \`bool\`. - y: A \`Tensor\` of type \`bool\`. - name: A name for the operation (optional). - - Returns: - A \`Tensor\` of type \`bool\`. - `},{name:"make_ndarray",path:"./tf/make_ndarray.md",desc:"Create a numpy ndarray from a tensor.",type:"Functions",docs:`Create a numpy ndarray from a tensor. + `},{name:"logical_and",path:"./tf/math/logical_and.md",desc:"Returns the truth value of x AND y element-wise.",type:"Functions",docs:"Returns the truth value of x AND y element-wise.\n\n Logical AND function.\n\n Requires that `x` and `y` have the same shape or have\n [broadcast-compatible](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n shapes. For example, `x` and `y` can be:\n\n - Two single elements of type `bool`.\n - One `tf.Tensor` of type `bool` and one single `bool`, where the result will\n be calculated by applying logical AND with the single element to each\n element in the larger Tensor.\n - Two `tf.Tensor` objects of type `bool` of the same shape. In this case,\n the result will be the element-wise logical AND of the two input tensors.\n\n You can also use the `&` operator instead.\n\n Usage:\n\n ```>>> a = tf.constant([True])\n >>> b = tf.constant([False])\n >>> tf.math.logical_and(a, b)\n \n >>> a & b\n \n\n```\n ```>>> c = tf.constant([True])\n >>> x = tf.constant([False, True, True, False])\n >>> tf.math.logical_and(c, x)\n \n >>> c & x\n \n\n```\n ```>>> y = tf.constant([False, False, True, True])\n >>> z = tf.constant([False, True, False, True])\n >>> tf.math.logical_and(y, z)\n \n >>> y & z\n \n\n```\n This op also supports broadcasting\n\n ```>>> tf.logical_and([[True, False]], [[True], [False]])\n \n\n```\n The reduction version of this elementwise operation is `tf.math.reduce_all`.\n\n Args:\n x: A `tf.Tensor` of type bool.\n y: A `tf.Tensor` of type bool.\n name: A name for the operation (optional).\n\n Returns:\n A `tf.Tensor` of type bool with the shape that `x` and `y` broadcast to.\n\n Args:\n x: A `Tensor` of type `bool`.\n y: A `Tensor` of type `bool`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"logical_not",path:"./tf/math/logical_not.md",desc:"Returns the truth value of `NOT x` element-wise.",type:"Functions",docs:"Returns the truth value of `NOT x` element-wise.\n\n Example:\n\n ```>>> tf.math.logical_not(tf.constant([True, False]))\n \n\n```\n Args:\n x: A `Tensor` of type `bool`. A `Tensor` of type `bool`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"logical_or",path:"./tf/math/logical_or.md",desc:"Returns the truth value of x OR y element-wise.",type:"Functions",docs:"Returns the truth value of x OR y element-wise.\n\n Logical OR function.\n\n Requires that `x` and `y` have the same shape or have\n [broadcast-compatible](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n shapes. For example, `x` and `y` can be:\n\n - Two single elements of type `bool`.\n - One `tf.Tensor` of type `bool` and one single `bool`, where the result will\n be calculated by applying logical OR with the single element to each\n element in the larger Tensor.\n - Two `tf.Tensor` objects of type `bool` of the same shape. In this case,\n the result will be the element-wise logical OR of the two input tensors.\n\n You can also use the `|` operator instead.\n\n Usage:\n\n ```>>> a = tf.constant([True])\n >>> b = tf.constant([False])\n >>> tf.math.logical_or(a, b)\n \n >>> a | b\n \n\n```\n ```>>> c = tf.constant([False])\n >>> x = tf.constant([False, True, True, False])\n >>> tf.math.logical_or(c, x)\n \n >>> c | x\n \n\n```\n ```>>> y = tf.constant([False, False, True, True])\n >>> z = tf.constant([False, True, False, True])\n >>> tf.math.logical_or(y, z)\n \n >>> y | z\n \n\n```\n This op also supports broadcasting\n\n ```>>> tf.logical_or([[True, False]], [[True], [False]])\n \n\n```\n The reduction version of this elementwise operation is `tf.math.reduce_any`.\n\n Args:\n x: A `tf.Tensor` of type bool.\n y: A `tf.Tensor` of type bool.\n name: A name for the operation (optional).\n\n Returns:\n A `tf.Tensor` of type bool with the shape that `x` and `y` broadcast to.\n\n Args:\n x: A `Tensor` of type `bool`.\n y: A `Tensor` of type `bool`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `bool`.\n "},{name:"make_ndarray",path:"./tf/make_ndarray.md",desc:"Create a numpy ndarray from a tensor.",type:"Functions",docs:`Create a numpy ndarray from a tensor. Create a numpy ndarray with the same shape and data as the tensor. @@ -4873,270 +4378,7 @@ Returns: ValueError: if arguments have inappropriate values or if verify_shape is True and shape of values is not equals to a shape from the argument. - `},{name:"map_fn",path:"./tf/map_fn.md",desc:"Transforms `elems` by applying `fn` to each element unstacked on axis 0. (deprecated arguments",type:"Functions",docs:`Transforms \`elems\` by applying \`fn\` to each element unstacked on axis 0. (deprecated arguments) - -Deprecated: SOME ARGUMENTS ARE DEPRECATED: \`(dtype)\`. They will be removed in a future version. -Instructions for updating: -Use fn_output_signature instead - -See also \`tf.scan\`. - -\`map_fn\` unstacks \`elems\` on axis 0 to obtain a sequence of elements; -calls \`fn\` to transform each element; and then stacks the transformed -values back together. - -#### Mapping functions with single-Tensor inputs and outputs - -If \`elems\` is a single tensor and \`fn\`'s signature is \`tf.Tensor->tf.Tensor\`, -then \`map_fn(fn, elems)\` is equivalent to -\`tf.stack([fn(elem) for elem in tf.unstack(elems)])\`. E.g.: - ->>> tf.map_fn(fn=lambda t: tf.range(t, t + 3), elems=tf.constant([3, 5, 2])) - - -\`map_fn(fn, elems).shape = [elems.shape[0]] + fn(elems[0]).shape\`. - -#### Mapping functions with multi-arity inputs and outputs - -\`map_fn\` also supports functions with multi-arity inputs and outputs: - -* If \`elems\` is a tuple (or nested structure) of tensors, then those tensors - must all have the same outer-dimension size (\`num_elems\`); and \`fn\` is - used to transform each tuple (or structure) of corresponding slices from - \`elems\`. E.g., if \`elems\` is a tuple \`(t1, t2, t3)\`, then \`fn\` is used to - transform each tuple of slices \`(t1[i], t2[i], t3[i])\` - (where \`0 <= i < num_elems\`). - -* If \`fn\` returns a tuple (or nested structure) of tensors, then the - result is formed by stacking corresponding elements from those structures. - -#### Specifying \`fn\`'s output signature - -If \`fn\`'s input and output signatures are different, then the output -signature must be specified using \`fn_output_signature\`. (The input and -output signatures are differ if their structures, dtypes, or tensor types do -not match). E.g.: - ->>> tf.map_fn(fn=tf.strings.length, # input & output have different dtypes -... elems=tf.constant(["hello", "moon"]), -... fn_output_signature=tf.int32) - ->>> tf.map_fn(fn=tf.strings.join, # input & output have different structures -... elems=[tf.constant(['The', 'A']), tf.constant(['Dog', 'Cat'])], -... fn_output_signature=tf.string) - - -\`fn_output_signature\` can be specified using any of the following: - -* A \`tf.DType\` or \`tf.TensorSpec\` (to describe a \`tf.Tensor\`) -* A \`tf.RaggedTensorSpec\` (to describe a \`tf.RaggedTensor\`) -* A \`tf.SparseTensorSpec\` (to describe a \`tf.sparse.SparseTensor\`) -* A (possibly nested) tuple, list, or dict containing the above types. - -#### RaggedTensors - -\`map_fn\` supports \`tf.RaggedTensor\` inputs and outputs. In particular: - -* If \`elems\` is a \`RaggedTensor\`, then \`fn\` will be called with each - row of that ragged tensor. - * If \`elems\` has only one ragged dimension, then the values passed to - \`fn\` will be \`tf.Tensor\`s. - * If \`elems\` has multiple ragged dimensions, then the values passed to - \`fn\` will be \`tf.RaggedTensor\`s with one fewer ragged dimension. - -* If the result of \`map_fn\` should be a \`RaggedTensor\`, then use a - \`tf.RaggedTensorSpec\` to specify \`fn_output_signature\`. - * If \`fn\` returns \`tf.Tensor\`s with varying sizes, then use a - \`tf.RaggedTensorSpec\` with \`ragged_rank=0\` to combine them into a - single ragged tensor (which will have ragged_rank=1). - * If \`fn\` returns \`tf.RaggedTensor\`s, then use a \`tf.RaggedTensorSpec\` - with the same \`ragged_rank\`. - ->>> # Example: RaggedTensor input ->>> rt = tf.ragged.constant([[1, 2, 3], [], [4, 5], [6]]) ->>> tf.map_fn(tf.reduce_sum, rt, fn_output_signature=tf.int32) - - ->>> # Example: RaggedTensor output ->>> elems = tf.constant([3, 5, 0, 2]) ->>> tf.map_fn(tf.range, elems, -... fn_output_signature=tf.RaggedTensorSpec(shape=[None], -... dtype=tf.int32)) - - -Note: \`map_fn\` should only be used if you need to map a function over the -*rows* of a \`RaggedTensor\`. If you wish to map a function over the -individual values, then you should use: - -* \`tf.ragged.map_flat_values(fn, rt)\` - (if fn is expressible as TensorFlow ops) -* \`rt.with_flat_values(map_fn(fn, rt.flat_values))\` - (otherwise) - -E.g.: - ->>> rt = tf.ragged.constant([[1, 2, 3], [], [4, 5], [6]]) ->>> tf.ragged.map_flat_values(lambda x: x + 2, rt) - - -#### SparseTensors - -\`map_fn\` supports \`tf.sparse.SparseTensor\` inputs and outputs. In particular: - -* If \`elems\` is a \`SparseTensor\`, then \`fn\` will be called with each row - of that sparse tensor. In particular, the value passed to \`fn\` will be a - \`tf.sparse.SparseTensor\` with one fewer dimension than \`elems\`. - -* If the result of \`map_fn\` should be a \`SparseTensor\`, then use a - \`tf.SparseTensorSpec\` to specify \`fn_output_signature\`. The individual - \`SparseTensor\`s returned by \`fn\` will be stacked into a single - \`SparseTensor\` with one more dimension. - ->>> # Example: SparseTensor input ->>> st = tf.sparse.SparseTensor([[0, 0], [2, 0], [2, 1]], [2, 3, 4], [4, 4]) ->>> tf.map_fn(tf.sparse.reduce_sum, st, fn_output_signature=tf.int32) - - ->>> # Example: SparseTensor output ->>> tf.sparse.to_dense( -... tf.map_fn(tf.sparse.eye, tf.constant([2, 3]), -... fn_output_signature=tf.SparseTensorSpec(None, tf.float32))) - - -Note: \`map_fn\` should only be used if you need to map a function over the -*rows* of a \`SparseTensor\`. If you wish to map a function over the nonzero -values, then you should use: - -* If the function is expressible as TensorFlow ops, use: - \`\`\`python - tf.sparse.SparseTensor(st.indices, fn(st.values), st.dense_shape) - \`\`\` -* Otherwise, use: - \`\`\`python - tf.sparse.SparseTensor(st.indices, tf.map_fn(fn, st.values), - st.dense_shape) - \`\`\` - -#### \`map_fn\` vs. vectorized operations - -\`map_fn\` will apply the operations used by \`fn\` to each element of \`elems\`, -resulting in \`O(elems.shape[0])\` total operations. This is somewhat -mitigated by the fact that \`map_fn\` can process elements in parallel. -However, a transform expressed using \`map_fn\` is still typically less -efficient than an equivalent transform expressed using vectorized operations. - -\`map_fn\` should typically only be used if one of the following is true: - -* It is difficult or expensive to express the desired transform with - vectorized operations. -* \`fn\` creates large intermediate values, so an equivalent vectorized - transform would take too much memory. -* Processing elements in parallel is more efficient than an equivalent - vectorized transform. -* Efficiency of the transform is not critical, and using \`map_fn\` is - more readable. - -E.g., the example given above that maps \`fn=lambda t: tf.range(t, t + 3)\` -across \`elems\` could be rewritten more efficiently using vectorized ops: - ->>> elems = tf.constant([3, 5, 2]) ->>> tf.range(3) + tf.expand_dims(elems, 1) - - -In some cases, \`tf.vectorized_map\` can be used to automatically convert a -function to a vectorized equivalent. - -#### Eager execution - -When executing eagerly, \`map_fn\` does not execute in parallel even if -\`parallel_iterations\` is set to a value > 1. You can still get the -performance benefits of running a function in parallel by using the -\`tf.function\` decorator: - ->>> fn=lambda t: tf.range(t, t + 3) ->>> @tf.function -... def func(elems): -... return tf.map_fn(fn, elems, parallel_iterations=3) ->>> func(tf.constant([3, 5, 2])) - - - -Note: if you use the \`tf.function\` decorator, any non-TensorFlow Python -code that you may have written in your function won't get executed. See -\`tf.function\` for more details. The recommendation would be to debug without -\`tf.function\` but switch to it to get performance benefits of running \`map_fn\` -in parallel. - -Args: - fn: The callable to be performed. It accepts one argument, which will have - the same (possibly nested) structure as \`elems\`. Its output must have the - same structure as \`fn_output_signature\` if one is provided; otherwise it - must have the same structure as \`elems\`. - elems: A tensor or (possibly nested) sequence of tensors, each of which will - be unstacked along their first dimension. \`fn\` will be applied to the - nested sequence of the resulting slices. \`elems\` may include ragged and - sparse tensors. \`elems\` must consist of at least one tensor. - dtype: Deprecated: Equivalent to \`fn_output_signature\`. - parallel_iterations: (optional) The number of iterations allowed to run in - parallel. When graph building, the default value is 10. While executing - eagerly, the default value is set to 1. - back_prop: (optional) Deprecated: prefer using \`tf.stop_gradient\` instead. False disables support for back propagation. - swap_memory: (optional) True enables GPU-CPU memory swapping. - infer_shape: (optional) False disables tests for consistent output shapes. - name: (optional) Name prefix for the returned tensors. - fn_output_signature: The output signature of \`fn\`. Must be specified if - \`fn\`'s input and output signatures are different (i.e., if their - structures, dtypes, or tensor types do not match). - \`fn_output_signature\` can be specified using any of the following: - - * A \`tf.DType\` or \`tf.TensorSpec\` (to describe a \`tf.Tensor\`) - * A \`tf.RaggedTensorSpec\` (to describe a \`tf.RaggedTensor\`) - * A \`tf.SparseTensorSpec\` (to describe a \`tf.sparse.SparseTensor\`) - * A (possibly nested) tuple, list, or dict containing the above types. - -Returns: - A tensor or (possibly nested) sequence of tensors. Each tensor stacks the - results of applying \`fn\` to tensors unstacked from \`elems\` along the first - dimension, from first to last. The result may include ragged and sparse - tensors. - -Raises: - TypeError: if \`fn\` is not callable or the structure of the output of - \`fn\` and \`fn_output_signature\` do not match. - ValueError: if the lengths of the output of \`fn\` and \`fn_output_signature\` - do not match, or if the \`elems\` does not contain any tensor. - -Examples: - - >>> elems = np.array([1, 2, 3, 4, 5, 6]) - >>> tf.map_fn(lambda x: x * x, elems) - - - >>> elems = (np.array([1, 2, 3]), np.array([-1, 1, -1])) - >>> tf.map_fn(lambda x: x[0] * x[1], elems, fn_output_signature=tf.int64) - - - >>> elems = np.array([1, 2, 3]) - >>> tf.map_fn(lambda x: (x, -x), elems, - ... fn_output_signature=(tf.int64, tf.int64)) - (, - )`},{name:"matmul",path:"./tf/linalg/matmul.md",desc:"Multiplies matrix `a` by matrix `b`, producing `a` * `b`.",type:"Functions",docs:"Multiplies matrix `a` by matrix `b`, producing `a` * `b`.\n\n The inputs must, following any transpositions, be tensors of rank >= 2\n where the inner 2 dimensions specify valid matrix multiplication dimensions,\n and any further outer dimensions specify matching batch size.\n\n Both matrices must be of the same type. The supported types are:\n `bfloat16`, `float16`, `float32`, `float64`, `int32`, `int64`,\n `complex64`, `complex128`.\n\n Either matrix can be transposed or adjointed (conjugated and transposed) on\n the fly by setting one of the corresponding flag to `True`. These are `False`\n by default.\n\n If one or both of the matrices contain a lot of zeros, a more efficient\n multiplication algorithm can be used by setting the corresponding\n `a_is_sparse` or `b_is_sparse` flag to `True`. These are `False` by default.\n This optimization is only available for plain matrices (rank-2 tensors) with\n datatypes `bfloat16` or `float32`.\n\n A simple 2-D tensor matrix multiplication:\n\n >>> a = tf.constant([1, 2, 3, 4, 5, 6], shape=[2, 3])\n >>> a # 2-D tensor\n \n >>> b = tf.constant([7, 8, 9, 10, 11, 12], shape=[3, 2])\n >>> b # 2-D tensor\n \n >>> c = tf.matmul(a, b)\n >>> c # `a` * `b`\n \n\n A batch matrix multiplication with batch shape [2]:\n\n >>> a = tf.constant(np.arange(1, 13, dtype=np.int32), shape=[2, 2, 3])\n >>> a # 3-D tensor\n \n >>> b = tf.constant(np.arange(13, 25, dtype=np.int32), shape=[2, 3, 2])\n >>> b # 3-D tensor\n \n >>> c = tf.matmul(a, b)\n >>> c # `a` * `b`\n \n\n Since python >= 3.5 the @ operator is supported\n (see [PEP 465](https://www.python.org/dev/peps/pep-0465/)). In TensorFlow,\n it simply calls the `tf.matmul()` function, so the following lines are\n equivalent:\n\n >>> d = a @ b @ [[10], [11]]\n >>> d = tf.matmul(tf.matmul(a, b), [[10], [11]])\n\n Args:\n a: `tf.Tensor` of type `float16`, `float32`, `float64`, `int32`,\n `complex64`, `complex128` and rank > 1.\n b: `tf.Tensor` with same type and rank as `a`.\n transpose_a: If `True`, `a` is transposed before multiplication.\n transpose_b: If `True`, `b` is transposed before multiplication.\n adjoint_a: If `True`, `a` is conjugated and transposed before\n multiplication.\n adjoint_b: If `True`, `b` is conjugated and transposed before\n multiplication.\n a_is_sparse: If `True`, `a` is treated as a sparse matrix. Notice, this\n **does not support `tf.sparse.SparseTensor`**, it just makes optimizations\n that assume most values in `a` are zero.\n See `tf.sparse.sparse_dense_matmul`\n for some support for `tf.sparse.SparseTensor` multiplication.\n b_is_sparse: If `True`, `b` is treated as a sparse matrix. Notice, this\n **does not support `tf.sparse.SparseTensor`**, it just makes optimizations\n that assume most values in `a` are zero.\n See `tf.sparse.sparse_dense_matmul`\n for some support for `tf.sparse.SparseTensor` multiplication.\n output_type: The output datatype if needed. Defaults to None in which case\n the output_type is the same as input type. Currently only works when input\n tensors are type (u)int8 and output_type can be int32.\n name: Name for the operation (optional).\n\n Returns:\n A `tf.Tensor` of the same type as `a` and `b` where each inner-most matrix\n is the product of the corresponding matrices in `a` and `b`, e.g. if all\n transpose or adjoint attributes are `False`:\n\n `output[..., i, j] = sum_k (a[..., i, k] * b[..., k, j])`,\n for all indices `i`, `j`.\n\n Note: This is matrix product, not element-wise product.\n\n\n Raises:\n ValueError: If `transpose_a` and `adjoint_a`, or `transpose_b` and\n `adjoint_b` are both set to `True`.\n TypeError: If output_type is specified but the types of `a`, `b` and\n `output_type` is not (u)int8, (u)int8 and int32.\n "},{name:"matrix_square_root",path:"./tf/linalg/sqrtm.md",desc:"Computes the matrix square root of one or more square matrices:",type:"Functions",docs:`Computes the matrix square root of one or more square matrices: + `},{name:"map_fn",path:"./tf/map_fn.md",desc:"Transforms `elems` by applying `fn` to each element unstacked on axis 0. (deprecated arguments",type:"Functions",docs:"Transforms `elems` by applying `fn` to each element unstacked on axis 0. (deprecated arguments)\n\nDeprecated: SOME ARGUMENTS ARE DEPRECATED: `(dtype)`. They will be removed in a future version.\nInstructions for updating:\nUse fn_output_signature instead\n\nSee also `tf.scan`.\n\n`map_fn` unstacks `elems` on axis 0 to obtain a sequence of elements;\ncalls `fn` to transform each element; and then stacks the transformed\nvalues back together.\n\n#### Mapping functions with single-Tensor inputs and outputs\n\nIf `elems` is a single tensor and `fn`'s signature is `tf.Tensor->tf.Tensor`,\nthen `map_fn(fn, elems)` is equivalent to\n`tf.stack([fn(elem) for elem in tf.unstack(elems)])`. E.g.:\n\n```>>> tf.map_fn(fn=lambda t: tf.range(t, t + 3), elems=tf.constant([3, 5, 2]))\n\n\n```\n`map_fn(fn, elems).shape = [elems.shape[0]] + fn(elems[0]).shape`.\n\n#### Mapping functions with multi-arity inputs and outputs\n\n`map_fn` also supports functions with multi-arity inputs and outputs:\n\n* If `elems` is a tuple (or nested structure) of tensors, then those tensors\n must all have the same outer-dimension size (`num_elems`); and `fn` is\n used to transform each tuple (or structure) of corresponding slices from\n `elems`. E.g., if `elems` is a tuple `(t1, t2, t3)`, then `fn` is used to\n transform each tuple of slices `(t1[i], t2[i], t3[i])`\n (where `0 <= i < num_elems`).\n\n* If `fn` returns a tuple (or nested structure) of tensors, then the\n result is formed by stacking corresponding elements from those structures.\n\n#### Specifying `fn`'s output signature\n\nIf `fn`'s input and output signatures are different, then the output\nsignature must be specified using `fn_output_signature`. (The input and\noutput signatures are differ if their structures, dtypes, or tensor types do\nnot match). E.g.:\n\n```>>> tf.map_fn(fn=tf.strings.length, # input & output have different dtypes\n... elems=tf.constant([\"hello\", \"moon\"]),\n... fn_output_signature=tf.int32)\n\n>>> tf.map_fn(fn=tf.strings.join, # input & output have different structures\n... elems=[tf.constant(['The', 'A']), tf.constant(['Dog', 'Cat'])],\n... fn_output_signature=tf.string)\n\n\n```\n`fn_output_signature` can be specified using any of the following:\n\n* A `tf.DType` or `tf.TensorSpec` (to describe a `tf.Tensor`)\n* A `tf.RaggedTensorSpec` (to describe a `tf.RaggedTensor`)\n* A `tf.SparseTensorSpec` (to describe a `tf.sparse.SparseTensor`)\n* A (possibly nested) tuple, list, or dict containing the above types.\n\n#### RaggedTensors\n\n`map_fn` supports `tf.RaggedTensor` inputs and outputs. In particular:\n\n* If `elems` is a `RaggedTensor`, then `fn` will be called with each\n row of that ragged tensor.\n * If `elems` has only one ragged dimension, then the values passed to\n `fn` will be `tf.Tensor`s.\n * If `elems` has multiple ragged dimensions, then the values passed to\n `fn` will be `tf.RaggedTensor`s with one fewer ragged dimension.\n\n* If the result of `map_fn` should be a `RaggedTensor`, then use a\n `tf.RaggedTensorSpec` to specify `fn_output_signature`.\n * If `fn` returns `tf.Tensor`s with varying sizes, then use a\n `tf.RaggedTensorSpec` with `ragged_rank=0` to combine them into a\n single ragged tensor (which will have ragged_rank=1).\n * If `fn` returns `tf.RaggedTensor`s, then use a `tf.RaggedTensorSpec`\n with the same `ragged_rank`.\n\n```>>> # Example: RaggedTensor input\n>>> rt = tf.ragged.constant([[1, 2, 3], [], [4, 5], [6]])\n>>> tf.map_fn(tf.reduce_sum, rt, fn_output_signature=tf.int32)\n\n\n```\n```>>> # Example: RaggedTensor output\n>>> elems = tf.constant([3, 5, 0, 2])\n>>> tf.map_fn(tf.range, elems,\n... fn_output_signature=tf.RaggedTensorSpec(shape=[None],\n... dtype=tf.int32))\n\n\n```\nNote: `map_fn` should only be used if you need to map a function over the\n*rows* of a `RaggedTensor`. If you wish to map a function over the\nindividual values, then you should use:\n\n* `tf.ragged.map_flat_values(fn, rt)`\n (if fn is expressible as TensorFlow ops)\n* `rt.with_flat_values(map_fn(fn, rt.flat_values))`\n (otherwise)\n\nE.g.:\n\n```>>> rt = tf.ragged.constant([[1, 2, 3], [], [4, 5], [6]])\n>>> tf.ragged.map_flat_values(lambda x: x + 2, rt)\n\n\n```\n#### SparseTensors\n\n`map_fn` supports `tf.sparse.SparseTensor` inputs and outputs. In particular:\n\n* If `elems` is a `SparseTensor`, then `fn` will be called with each row\n of that sparse tensor. In particular, the value passed to `fn` will be a\n `tf.sparse.SparseTensor` with one fewer dimension than `elems`.\n\n* If the result of `map_fn` should be a `SparseTensor`, then use a\n `tf.SparseTensorSpec` to specify `fn_output_signature`. The individual\n `SparseTensor`s returned by `fn` will be stacked into a single\n `SparseTensor` with one more dimension.\n\n```>>> # Example: SparseTensor input\n>>> st = tf.sparse.SparseTensor([[0, 0], [2, 0], [2, 1]], [2, 3, 4], [4, 4])\n>>> tf.map_fn(tf.sparse.reduce_sum, st, fn_output_signature=tf.int32)\n\n\n```\n```>>> # Example: SparseTensor output\n>>> tf.sparse.to_dense(\n... tf.map_fn(tf.sparse.eye, tf.constant([2, 3]),\n... fn_output_signature=tf.SparseTensorSpec(None, tf.float32)))\n\n\n```\nNote: `map_fn` should only be used if you need to map a function over the\n*rows* of a `SparseTensor`. If you wish to map a function over the nonzero\nvalues, then you should use:\n\n* If the function is expressible as TensorFlow ops, use:\n ```python\n tf.sparse.SparseTensor(st.indices, fn(st.values), st.dense_shape)\n ```\n* Otherwise, use:\n ```python\n tf.sparse.SparseTensor(st.indices, tf.map_fn(fn, st.values),\n st.dense_shape)\n ```\n\n#### `map_fn` vs. vectorized operations\n\n`map_fn` will apply the operations used by `fn` to each element of `elems`,\nresulting in `O(elems.shape[0])` total operations. This is somewhat\nmitigated by the fact that `map_fn` can process elements in parallel.\nHowever, a transform expressed using `map_fn` is still typically less\nefficient than an equivalent transform expressed using vectorized operations.\n\n`map_fn` should typically only be used if one of the following is true:\n\n* It is difficult or expensive to express the desired transform with\n vectorized operations.\n* `fn` creates large intermediate values, so an equivalent vectorized\n transform would take too much memory.\n* Processing elements in parallel is more efficient than an equivalent\n vectorized transform.\n* Efficiency of the transform is not critical, and using `map_fn` is\n more readable.\n\nE.g., the example given above that maps `fn=lambda t: tf.range(t, t + 3)`\nacross `elems` could be rewritten more efficiently using vectorized ops:\n\n```>>> elems = tf.constant([3, 5, 2])\n>>> tf.range(3) + tf.expand_dims(elems, 1)\n\n\n```\nIn some cases, `tf.vectorized_map` can be used to automatically convert a\nfunction to a vectorized equivalent.\n\n#### Eager execution\n\nWhen executing eagerly, `map_fn` does not execute in parallel even if\n`parallel_iterations` is set to a value > 1. You can still get the\nperformance benefits of running a function in parallel by using the\n`tf.function` decorator:\n\n```>>> fn=lambda t: tf.range(t, t + 3)\n>>> @tf.function\n... def func(elems):\n... return tf.map_fn(fn, elems, parallel_iterations=3)\n>>> func(tf.constant([3, 5, 2]))\n\n\n```\n\nNote: if you use the `tf.function` decorator, any non-TensorFlow Python\ncode that you may have written in your function won't get executed. See\n`tf.function` for more details. The recommendation would be to debug without\n`tf.function` but switch to it to get performance benefits of running `map_fn`\nin parallel.\n\nArgs:\n fn: The callable to be performed. It accepts one argument, which will have\n the same (possibly nested) structure as `elems`. Its output must have the\n same structure as `fn_output_signature` if one is provided; otherwise it\n must have the same structure as `elems`.\n elems: A tensor or (possibly nested) sequence of tensors, each of which will\n be unstacked along their first dimension. `fn` will be applied to the\n nested sequence of the resulting slices. `elems` may include ragged and\n sparse tensors. `elems` must consist of at least one tensor.\n dtype: Deprecated: Equivalent to `fn_output_signature`.\n parallel_iterations: (optional) The number of iterations allowed to run in\n parallel. When graph building, the default value is 10. While executing\n eagerly, the default value is set to 1.\n back_prop: (optional) Deprecated: prefer using `tf.stop_gradient` instead. False disables support for back propagation.\n swap_memory: (optional) True enables GPU-CPU memory swapping.\n infer_shape: (optional) False disables tests for consistent output shapes.\n name: (optional) Name prefix for the returned tensors.\n fn_output_signature: The output signature of `fn`. Must be specified if\n `fn`'s input and output signatures are different (i.e., if their\n structures, dtypes, or tensor types do not match).\n `fn_output_signature` can be specified using any of the following:\n\n * A `tf.DType` or `tf.TensorSpec` (to describe a `tf.Tensor`)\n * A `tf.RaggedTensorSpec` (to describe a `tf.RaggedTensor`)\n * A `tf.SparseTensorSpec` (to describe a `tf.sparse.SparseTensor`)\n * A (possibly nested) tuple, list, or dict containing the above types.\n\nReturns:\n A tensor or (possibly nested) sequence of tensors. Each tensor stacks the\n results of applying `fn` to tensors unstacked from `elems` along the first\n dimension, from first to last. The result may include ragged and sparse\n tensors.\n\nRaises:\n TypeError: if `fn` is not callable or the structure of the output of\n `fn` and `fn_output_signature` do not match.\n ValueError: if the lengths of the output of `fn` and `fn_output_signature`\n do not match, or if the `elems` does not contain any tensor.\n\nExamples:\n\n ```>>> elems = np.array([1, 2, 3, 4, 5, 6])\n >>> tf.map_fn(lambda x: x * x, elems)\n \n\n```\n ```>>> elems = (np.array([1, 2, 3]), np.array([-1, 1, -1]))\n >>> tf.map_fn(lambda x: x[0] * x[1], elems, fn_output_signature=tf.int64)\n \n\n```\n >>> elems = np.array([1, 2, 3])\n >>> tf.map_fn(lambda x: (x, -x), elems,\n ... fn_output_signature=(tf.int64, tf.int64))\n (,\n )"},{name:"matmul",path:"./tf/linalg/matmul.md",desc:"Multiplies matrix `a` by matrix `b`, producing `a` * `b`.",type:"Functions",docs:"Multiplies matrix `a` by matrix `b`, producing `a` * `b`.\n\n The inputs must, following any transpositions, be tensors of rank >= 2\n where the inner 2 dimensions specify valid matrix multiplication dimensions,\n and any further outer dimensions specify matching batch size.\n\n Both matrices must be of the same type. The supported types are:\n `bfloat16`, `float16`, `float32`, `float64`, `int32`, `int64`,\n `complex64`, `complex128`.\n\n Either matrix can be transposed or adjointed (conjugated and transposed) on\n the fly by setting one of the corresponding flag to `True`. These are `False`\n by default.\n\n If one or both of the matrices contain a lot of zeros, a more efficient\n multiplication algorithm can be used by setting the corresponding\n `a_is_sparse` or `b_is_sparse` flag to `True`. These are `False` by default.\n This optimization is only available for plain matrices (rank-2 tensors) with\n datatypes `bfloat16` or `float32`.\n\n A simple 2-D tensor matrix multiplication:\n\n ```>>> a = tf.constant([1, 2, 3, 4, 5, 6], shape=[2, 3])\n >>> a # 2-D tensor\n \n >>> b = tf.constant([7, 8, 9, 10, 11, 12], shape=[3, 2])\n >>> b # 2-D tensor\n \n >>> c = tf.matmul(a, b)\n >>> c # `a` * `b`\n \n\n```\n A batch matrix multiplication with batch shape [2]:\n\n ```>>> a = tf.constant(np.arange(1, 13, dtype=np.int32), shape=[2, 2, 3])\n >>> a # 3-D tensor\n \n >>> b = tf.constant(np.arange(13, 25, dtype=np.int32), shape=[2, 3, 2])\n >>> b # 3-D tensor\n \n >>> c = tf.matmul(a, b)\n >>> c # `a` * `b`\n \n\n```\n Since python >= 3.5 the @ operator is supported\n (see [PEP 465](https://www.python.org/dev/peps/pep-0465/)). In TensorFlow,\n it simply calls the `tf.matmul()` function, so the following lines are\n equivalent:\n\n ```>>> d = a @ b @ [[10], [11]]\n >>> d = tf.matmul(tf.matmul(a, b), [[10], [11]])\n\n```\n Args:\n a: `tf.Tensor` of type `float16`, `float32`, `float64`, `int32`,\n `complex64`, `complex128` and rank > 1.\n b: `tf.Tensor` with same type and rank as `a`.\n transpose_a: If `True`, `a` is transposed before multiplication.\n transpose_b: If `True`, `b` is transposed before multiplication.\n adjoint_a: If `True`, `a` is conjugated and transposed before\n multiplication.\n adjoint_b: If `True`, `b` is conjugated and transposed before\n multiplication.\n a_is_sparse: If `True`, `a` is treated as a sparse matrix. Notice, this\n **does not support `tf.sparse.SparseTensor`**, it just makes optimizations\n that assume most values in `a` are zero.\n See `tf.sparse.sparse_dense_matmul`\n for some support for `tf.sparse.SparseTensor` multiplication.\n b_is_sparse: If `True`, `b` is treated as a sparse matrix. Notice, this\n **does not support `tf.sparse.SparseTensor`**, it just makes optimizations\n that assume most values in `a` are zero.\n See `tf.sparse.sparse_dense_matmul`\n for some support for `tf.sparse.SparseTensor` multiplication.\n output_type: The output datatype if needed. Defaults to None in which case\n the output_type is the same as input type. Currently only works when input\n tensors are type (u)int8 and output_type can be int32.\n name: Name for the operation (optional).\n\n Returns:\n A `tf.Tensor` of the same type as `a` and `b` where each inner-most matrix\n is the product of the corresponding matrices in `a` and `b`, e.g. if all\n transpose or adjoint attributes are `False`:\n\n `output[..., i, j] = sum_k (a[..., i, k] * b[..., k, j])`,\n for all indices `i`, `j`.\n\n Note: This is matrix product, not element-wise product.\n\n\n Raises:\n ValueError: If `transpose_a` and `adjoint_a`, or `transpose_b` and\n `adjoint_b` are both set to `True`.\n TypeError: If output_type is specified but the types of `a`, `b` and\n `output_type` is not (u)int8, (u)int8 and int32.\n "},{name:"matrix_square_root",path:"./tf/linalg/sqrtm.md",desc:"Computes the matrix square root of one or more square matrices:",type:"Functions",docs:`Computes the matrix square root of one or more square matrices: matmul(sqrtm(A), sqrtm(A)) = A @@ -5161,7 +4403,7 @@ Examples: Returns: A \`Tensor\`. Has the same type as \`input\`. - `},{name:"maximum",path:"./tf/math/maximum.md",desc:"Returns the max of x and y (i.e. x > y ? x y",type:"Functions",docs:"Returns the max of x and y (i.e. x > y ? x : y) element-wise.\n\n Example:\n\n >>> x = tf.constant([0., 0., 0., 0.])\n >>> y = tf.constant([-2., 0., 2., 5.])\n >>> tf.math.maximum(x, y)\n \n\n Note that `maximum` supports [broadcast semantics](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) for `x` and `y`.\n\n >>> x = tf.constant([-5., 0., 0., 0.])\n >>> y = tf.constant([-3.])\n >>> tf.math.maximum(x, y)\n \n\n The reduction version of this elementwise operation is `tf.math.reduce_max`\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `uint32`, `int64`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"meshgrid",path:"./tf/meshgrid.md",desc:"Broadcasts parameters for evaluation on an N-D grid.",type:"Functions",docs:`Broadcasts parameters for evaluation on an N-D grid. + `},{name:"maximum",path:"./tf/math/maximum.md",desc:"Returns the max of x and y (i.e. x > y ? x y",type:"Functions",docs:"Returns the max of x and y (i.e. x > y ? x : y) element-wise.\n\n Example:\n\n ```>>> x = tf.constant([0., 0., 0., 0.])\n >>> y = tf.constant([-2., 0., 2., 5.])\n >>> tf.math.maximum(x, y)\n \n\n```\n Note that `maximum` supports [broadcast semantics](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) for `x` and `y`.\n\n ```>>> x = tf.constant([-5., 0., 0., 0.])\n >>> y = tf.constant([-3.])\n >>> tf.math.maximum(x, y)\n \n\n```\n The reduction version of this elementwise operation is `tf.math.reduce_max`\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `uint32`, `int64`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"meshgrid",path:"./tf/meshgrid.md",desc:"Broadcasts parameters for evaluation on an N-D grid.",type:"Functions",docs:`Broadcasts parameters for evaluation on an N-D grid. Given N one-dimensional coordinate arrays \`*args\`, returns a list \`outputs\` of N-D coordinate arrays for evaluating expressions on an N-D grid. @@ -5200,7 +4442,7 @@ Examples: Raises: TypeError: When no keyword arguments (kwargs) are passed. ValueError: When indexing keyword argument is not one of \`xy\` or \`ij\`. - `},{name:"minimum",path:"./tf/math/minimum.md",desc:"Returns the min of x and y (i.e. x < y ? x y",type:"Functions",docs:"Returns the min of x and y (i.e. x < y ? x : y) element-wise.\n\n Both inputs are number-type tensors (except complex). `minimum` expects that\n both tensors have the same `dtype`.\n\n Examples:\n\n >>> x = tf.constant([0., 0., 0., 0.])\n >>> y = tf.constant([-5., -2., 0., 3.])\n >>> tf.math.minimum(x, y)\n \n\n Note that `minimum` supports [broadcast semantics](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) for `x` and `y`.\n\n >>> x = tf.constant([-5., 0., 0., 0.])\n >>> y = tf.constant([-3.])\n >>> tf.math.minimum(x, y)\n \n\n The reduction version of this elementwise operation is `tf.math.reduce_min`\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `uint32`, `int64`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"multiply",path:"./tf/math/multiply.md",desc:"Returns an element-wise x * y.",type:"Functions",docs:"Returns an element-wise x * y.\n\n For example:\n\n >>> x = tf.constant(([1, 2, 3, 4]))\n >>> tf.math.multiply(x, x)\n \n\n Since `tf.math.multiply` will convert its arguments to `Tensor`s, you can also\n pass in non-`Tensor` arguments:\n\n >>> tf.math.multiply(7,6)\n \n\n If `x.shape` is not the same as `y.shape`, they will be broadcast to a\n compatible shape. (More about broadcasting\n [here](https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html).)\n\n For example:\n\n >>> x = tf.ones([1, 2]);\n >>> y = tf.ones([2, 1]);\n >>> x * y # Taking advantage of operator overriding\n \n\n The reduction version of this elementwise operation is `tf.math.reduce_prod`\n\n Args:\n x: A Tensor. Must be one of the following types: `bfloat16`,\n `half`, `float32`, `float64`, `uint8`, `int8`, `uint16`,\n `int16`, `int32`, `int64`, `complex64`, `complex128`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n\n A `Tensor`. Has the same type as `x`.\n\n Raises:\n\n * InvalidArgumentError: When `x` and `y` have incompatible shapes or types.\n "},{name:"negative",path:"./tf/math/negative.md",desc:"Computes numerical negative value element-wise.",type:"Functions",docs:"Computes numerical negative value element-wise.\n\n I.e., \\\\(y = -x\\\\).\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `int16`, `int32`, `int64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n\n If `x` is a `SparseTensor`, returns\n `SparseTensor(x.indices, tf.math.negative(x.values, ...), x.dense_shape)`"},{name:"no_gradient",path:"./tf/no_gradient.md",desc:"Specifies that ops of type `op_type` is not differentiable.",type:"Functions",docs:`Specifies that ops of type \`op_type\` is not differentiable. + `},{name:"minimum",path:"./tf/math/minimum.md",desc:"Returns the min of x and y (i.e. x < y ? x y",type:"Functions",docs:"Returns the min of x and y (i.e. x < y ? x : y) element-wise.\n\n Both inputs are number-type tensors (except complex). `minimum` expects that\n both tensors have the same `dtype`.\n\n Examples:\n\n ```>>> x = tf.constant([0., 0., 0., 0.])\n >>> y = tf.constant([-5., -2., 0., 3.])\n >>> tf.math.minimum(x, y)\n \n\n```\n Note that `minimum` supports [broadcast semantics](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) for `x` and `y`.\n\n ```>>> x = tf.constant([-5., 0., 0., 0.])\n >>> y = tf.constant([-3.])\n >>> tf.math.minimum(x, y)\n \n\n```\n The reduction version of this elementwise operation is `tf.math.reduce_min`\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `uint32`, `int64`, `uint64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"multiply",path:"./tf/math/multiply.md",desc:"Returns an element-wise x * y.",type:"Functions",docs:"Returns an element-wise x * y.\n\n For example:\n\n ```>>> x = tf.constant(([1, 2, 3, 4]))\n >>> tf.math.multiply(x, x)\n \n\n```\n Since `tf.math.multiply` will convert its arguments to `Tensor`s, you can also\n pass in non-`Tensor` arguments:\n\n ```>>> tf.math.multiply(7,6)\n \n\n```\n If `x.shape` is not the same as `y.shape`, they will be broadcast to a\n compatible shape. (More about broadcasting\n [here](https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html).)\n\n For example:\n\n ```>>> x = tf.ones([1, 2]);\n >>> y = tf.ones([2, 1]);\n >>> x * y # Taking advantage of operator overriding\n \n\n```\n The reduction version of this elementwise operation is `tf.math.reduce_prod`\n\n Args:\n x: A Tensor. Must be one of the following types: `bfloat16`,\n `half`, `float32`, `float64`, `uint8`, `int8`, `uint16`,\n `int16`, `int32`, `int64`, `complex64`, `complex128`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n\n A `Tensor`. Has the same type as `x`.\n\n Raises:\n\n * InvalidArgumentError: When `x` and `y` have incompatible shapes or types.\n "},{name:"negative",path:"./tf/math/negative.md",desc:"Computes numerical negative value element-wise.",type:"Functions",docs:"Computes numerical negative value element-wise.\n\n I.e., \\\\(y = -x\\\\).\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `int16`, `int32`, `int64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n\n If `x` is a `SparseTensor`, returns\n `SparseTensor(x.indices, tf.math.negative(x.values, ...), x.dense_shape)`"},{name:"no_gradient",path:"./tf/no_gradient.md",desc:"Specifies that ops of type `op_type` is not differentiable.",type:"Functions",docs:`Specifies that ops of type \`op_type\` is not differentiable. This function should *not* be used for operations that have a well-defined gradient that is not yet implemented. @@ -5290,16 +4532,18 @@ Examples: For example: - >>> x = tf.constant([2, 4]) + \`\`\`>>> x = tf.constant([2, 4]) >>> y = tf.constant(2) >>> tf.math.not_equal(x, y) - >>> x = tf.constant([2, 4]) +\`\`\` + \`\`\`>>> x = tf.constant([2, 4]) >>> y = tf.constant([2, 4]) >>> tf.math.not_equal(x, y) +\`\`\` Args: x: A \`tf.Tensor\` or \`tf.sparse.SparseTensor\` or \`tf.IndexedSlices\`. y: A \`tf.Tensor\` or \`tf.sparse.SparseTensor\` or \`tf.IndexedSlices\`. @@ -5310,87 +4554,7 @@ Examples: Raises: \`tf.errors.InvalidArgumentError\`: If shapes of arguments are incompatible - `},{name:"numpy_function",path:"./tf/numpy_function.md",desc:"Wraps a python function and uses it as a TensorFlow op.",type:"Functions",docs:`Wraps a python function and uses it as a TensorFlow op. - - Given a python function \`func\` wrap this function as an operation in a - TensorFlow function. \`func\` must take numpy arrays as its arguments and - return numpy arrays as its outputs. - - The following example creates a TensorFlow graph with \`np.sinh()\` as an - operation in the graph: - - >>> def my_numpy_func(x): - ... # x will be a numpy array with the contents of the input to the - ... # tf.function - ... return np.sinh(x) - >>> @tf.function(input_signature=[tf.TensorSpec(None, tf.float32)]) - ... def tf_function(input): - ... y = tf.numpy_function(my_numpy_func, [input], tf.float32) - ... return y * y - >>> tf_function(tf.constant(1.)) - - - Comparison to \`tf.py_function\`: - \`tf.py_function\` and \`tf.numpy_function\` are very similar, except that - \`tf.numpy_function\` takes numpy arrays, and not \`tf.Tensor\`s. If you want the - function to contain \`tf.Tensors\`, and have any TensorFlow operations executed - in the function be differentiable, please use \`tf.py_function\`. - - Note: We recommend to avoid using \`tf.numpy_function\` outside of - prototyping and experimentation due to the following known limitations: - - * Calling \`tf.numpy_function\` will acquire the Python Global Interpreter Lock - (GIL) that allows only one thread to run at any point in time. This will - preclude efficient parallelization and distribution of the execution of the - program. Therefore, you are discouraged to use \`tf.numpy_function\` outside - of prototyping and experimentation. - - * The body of the function (i.e. \`func\`) will not be serialized in a - \`tf.SavedModel\`. Therefore, you should not use this function if you need to - serialize your model and restore it in a different environment. - - * The operation must run in the same address space as the Python program - that calls \`tf.numpy_function()\`. If you are using distributed - TensorFlow, you must run a \`tf.distribute.Server\` in the same process as the - program that calls \`tf.numpy_function\` you must pin the created - operation to a device in that server (e.g. using \`with tf.device():\`). - - * Currently \`tf.numpy_function\` is not compatible with XLA. Calling - \`tf.numpy_function\` inside \`tf.function(jit_comiple=True)\` will raise an - error. - - * Since the function takes numpy arrays, you cannot take gradients - through a numpy_function. If you require something that is differentiable, - please consider using tf.py_function. - - Args: - func: A Python function, which accepts \`numpy.ndarray\` objects as arguments - and returns a list of \`numpy.ndarray\` objects (or a single - \`numpy.ndarray\`). This function must accept as many arguments as there are - tensors in \`inp\`, and these argument types will match the corresponding - \`tf.Tensor\` objects in \`inp\`. The returns \`numpy.ndarray\`s must match the - number and types defined \`Tout\`. - Important Note: Input and output \`numpy.ndarray\`s of \`func\` are not - guaranteed to be copies. In some cases their underlying memory will be - shared with the corresponding TensorFlow tensors. In-place modification - or storing \`func\` input or return values in python datastructures - without explicit (np.)copy can have non-deterministic consequences. - inp: A list of \`tf.Tensor\` objects. - Tout: A list or tuple of tensorflow data types or a single tensorflow data - type if there is only one, indicating what \`func\` returns. - stateful: (Boolean.) Setting this argument to False tells the runtime to - treat the function as stateless, which enables certain optimizations. - A function is stateless when given the same input it will return the - same output and have no side effects; its only purpose is to have a - return value. - The behavior for a stateful function with the \`stateful\` argument False - is undefined. In particular, caution should be taken when - mutating the input arguments as this is a stateful operation. - name: (Optional) A name for the operation. - - Returns: - Single or list of \`tf.Tensor\` which \`func\` computes. - `},{name:"one_hot",path:"./tf/one_hot.md",desc:"Returns a one-hot tensor.",type:"Functions",docs:"Returns a one-hot tensor.\n\n See also `tf.fill`, `tf.eye`.\n\n The locations represented by indices in `indices` take value `on_value`,\n while all other locations take value `off_value`.\n\n `on_value` and `off_value` must have matching data types. If `dtype` is also\n provided, they must be the same data type as specified by `dtype`.\n\n If `on_value` is not provided, it will default to the value `1` with type\n `dtype`\n\n If `off_value` is not provided, it will default to the value `0` with type\n `dtype`\n\n If the input `indices` is rank `N`, the output will have rank `N+1`. The\n new axis is created at dimension `axis` (default: the new axis is appended\n at the end).\n\n If `indices` is a scalar the output shape will be a vector of length `depth`\n\n If `indices` is a vector of length `features`, the output shape will be:\n\n ```\n features x depth if axis == -1\n depth x features if axis == 0\n ```\n\n If `indices` is a matrix (batch) with shape `[batch, features]`, the output\n shape will be:\n\n ```\n batch x features x depth if axis == -1\n batch x depth x features if axis == 1\n depth x batch x features if axis == 0\n ```\n\n If `indices` is a RaggedTensor, the 'axis' argument must be positive and refer\n to a non-ragged axis. The output will be equivalent to applying 'one_hot' on\n the values of the RaggedTensor, and creating a new RaggedTensor from the\n result.\n\n If `dtype` is not provided, it will attempt to assume the data type of\n `on_value` or `off_value`, if one or both are passed in. If none of\n `on_value`, `off_value`, or `dtype` are provided, `dtype` will default to the\n value `tf.float32`.\n\n Note: If a non-numeric data type output is desired (`tf.string`, `tf.bool`,\n etc.), both `on_value` and `off_value` _must_ be provided to `one_hot`.\n\n For example:\n\n ```python\n indices = [0, 1, 2]\n depth = 3\n tf.one_hot(indices, depth) # output: [3 x 3]\n # [[1., 0., 0.],\n # [0., 1., 0.],\n # [0., 0., 1.]]\n\n indices = [0, 2, -1, 1]\n depth = 3\n tf.one_hot(indices, depth,\n on_value=5.0, off_value=0.0,\n axis=-1) # output: [4 x 3]\n # [[5.0, 0.0, 0.0], # one_hot(0)\n # [0.0, 0.0, 5.0], # one_hot(2)\n # [0.0, 0.0, 0.0], # one_hot(-1)\n # [0.0, 5.0, 0.0]] # one_hot(1)\n\n indices = [[0, 2], [1, -1]]\n depth = 3\n tf.one_hot(indices, depth,\n on_value=1.0, off_value=0.0,\n axis=-1) # output: [2 x 2 x 3]\n # [[[1.0, 0.0, 0.0], # one_hot(0)\n # [0.0, 0.0, 1.0]], # one_hot(2)\n # [[0.0, 1.0, 0.0], # one_hot(1)\n # [0.0, 0.0, 0.0]]] # one_hot(-1)\n\n indices = tf.ragged.constant([[0, 1], [2]])\n depth = 3\n tf.one_hot(indices, depth) # output: [2 x None x 3]\n # [[[1., 0., 0.],\n # [0., 1., 0.]],\n # [[0., 0., 1.]]]\n ```\n\n Args:\n indices: A `Tensor` of indices.\n depth: A scalar defining the depth of the one hot dimension.\n on_value: A scalar defining the value to fill in output when `indices[j]\n = i`. (default: 1)\n off_value: A scalar defining the value to fill in output when `indices[j]\n != i`. (default: 0)\n axis: The axis to fill (default: -1, a new inner-most axis).\n dtype: The data type of the output tensor.\n name: A name for the operation (optional).\n\n Returns:\n output: The one-hot tensor.\n\n Raises:\n TypeError: If dtype of either `on_value` or `off_value` don't match `dtype`\n TypeError: If dtype of `on_value` and `off_value` don't match one another\n "},{name:"ones",path:"./tf/ones.md",desc:"Creates a tensor with all elements set to one (1",type:"Functions",docs:"Creates a tensor with all elements set to one (1).\n\n See also `tf.ones_like`, `tf.zeros`, `tf.fill`, `tf.eye`.\n\n This operation returns a tensor of type `dtype` with shape `shape` and\n all elements set to one.\n\n >>> tf.ones([3, 4], tf.int32)\n \n\n Args:\n shape: A `list` of integers, a `tuple` of integers, or\n a 1-D `Tensor` of type `int32`.\n dtype: Optional DType of an element in the resulting `Tensor`. Default is\n `tf.float32`.\n name: Optional string. A name for the operation.\n\n Returns:\n A `Tensor` with all elements set to one (1).\n "},{name:"ones_like",path:"./tf/ones_like.md",desc:"Creates a tensor of all ones that has the same shape as the input.",type:"Functions",docs:"Creates a tensor of all ones that has the same shape as the input.\n\n See also `tf.ones`.\n\n Given a single tensor (`tensor`), this operation returns a tensor of the\n same type and shape as `tensor` with all elements set to 1. Optionally,\n you can use `dtype` to specify a new type for the returned tensor.\n\n For example:\n\n >>> tensor = tf.constant([[1, 2, 3], [4, 5, 6]])\n >>> tf.ones_like(tensor)\n \n\n Args:\n input: A `Tensor`.\n dtype: A type for the returned `Tensor`. Must be `float16`, `float32`,\n `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `int64`,\n `complex64`, `complex128`, `bool` or `string`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` with all elements set to one.\n "},{name:"pad",path:"./tf/pad.md",desc:"Pads a tensor.",type:"Functions",docs:'Pads a tensor.\n\n This operation pads a `tensor` according to the `paddings` you specify.\n `paddings` is an integer tensor with shape `[n, 2]`, where n is the rank of\n `tensor`. For each dimension D of `input`, `paddings[D, 0]` indicates how\n many values to add before the contents of `tensor` in that dimension, and\n `paddings[D, 1]` indicates how many values to add after the contents of\n `tensor` in that dimension. If `mode` is "REFLECT" then both `paddings[D, 0]`\n and `paddings[D, 1]` must be no greater than `tensor.dim_size(D) - 1`. If\n `mode` is "SYMMETRIC" then both `paddings[D, 0]` and `paddings[D, 1]` must be\n no greater than `tensor.dim_size(D)`.\n\n The padded size of each dimension D of the output is:\n\n `paddings[D, 0] + tensor.dim_size(D) + paddings[D, 1]`\n\n For example:\n\n ```python\n t = tf.constant([[1, 2, 3], [4, 5, 6]])\n paddings = tf.constant([[1, 1,], [2, 2]])\n # \'constant_values\' is 0.\n # rank of \'t\' is 2.\n tf.pad(t, paddings, "CONSTANT") # [[0, 0, 0, 0, 0, 0, 0],\n # [0, 0, 1, 2, 3, 0, 0],\n # [0, 0, 4, 5, 6, 0, 0],\n # [0, 0, 0, 0, 0, 0, 0]]\n\n tf.pad(t, paddings, "REFLECT") # [[6, 5, 4, 5, 6, 5, 4],\n # [3, 2, 1, 2, 3, 2, 1],\n # [6, 5, 4, 5, 6, 5, 4],\n # [3, 2, 1, 2, 3, 2, 1]]\n\n tf.pad(t, paddings, "SYMMETRIC") # [[2, 1, 1, 2, 3, 3, 2],\n # [2, 1, 1, 2, 3, 3, 2],\n # [5, 4, 4, 5, 6, 6, 5],\n # [5, 4, 4, 5, 6, 6, 5]]\n ```\n\n Args:\n tensor: A `Tensor`.\n paddings: A `Tensor` of type `int32`.\n mode: One of "CONSTANT", "REFLECT", or "SYMMETRIC" (case-insensitive)\n constant_values: In "CONSTANT" mode, the scalar pad value to use. Must be\n same type as `tensor`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `tensor`.\n\n Raises:\n ValueError: When mode is not one of "CONSTANT", "REFLECT", or "SYMMETRIC".\n '},{name:"parallel_stack",path:"./tf/parallel_stack.md",desc:"Stacks a list of rank-`R` tensors into one rank-`(R+1",type:"Functions",docs:`Stacks a list of rank-\`R\` tensors into one rank-\`(R+1)\` tensor in parallel. + `},{name:"numpy_function",path:"./tf/numpy_function.md",desc:"Wraps a python function and uses it as a TensorFlow op.",type:"Functions",docs:"Wraps a python function and uses it as a TensorFlow op.\n\n Given a python function `func` wrap this function as an operation in a\n TensorFlow function. `func` must take numpy arrays as its arguments and\n return numpy arrays as its outputs.\n\n The following example creates a TensorFlow graph with `np.sinh()` as an\n operation in the graph:\n\n ```>>> def my_numpy_func(x):\n ... # x will be a numpy array with the contents of the input to the\n ... # tf.function\n ... return np.sinh(x)\n >>> @tf.function(input_signature=[tf.TensorSpec(None, tf.float32)])\n ... def tf_function(input):\n ... y = tf.numpy_function(my_numpy_func, [input], tf.float32)\n ... return y * y\n >>> tf_function(tf.constant(1.))\n \n\n```\n Comparison to `tf.py_function`:\n `tf.py_function` and `tf.numpy_function` are very similar, except that\n `tf.numpy_function` takes numpy arrays, and not `tf.Tensor`s. If you want the\n function to contain `tf.Tensors`, and have any TensorFlow operations executed\n in the function be differentiable, please use `tf.py_function`.\n\n Note: We recommend to avoid using `tf.numpy_function` outside of\n prototyping and experimentation due to the following known limitations:\n\n * Calling `tf.numpy_function` will acquire the Python Global Interpreter Lock\n (GIL) that allows only one thread to run at any point in time. This will\n preclude efficient parallelization and distribution of the execution of the\n program. Therefore, you are discouraged to use `tf.numpy_function` outside\n of prototyping and experimentation.\n\n * The body of the function (i.e. `func`) will not be serialized in a\n `tf.SavedModel`. Therefore, you should not use this function if you need to\n serialize your model and restore it in a different environment.\n\n * The operation must run in the same address space as the Python program\n that calls `tf.numpy_function()`. If you are using distributed\n TensorFlow, you must run a `tf.distribute.Server` in the same process as the\n program that calls `tf.numpy_function` you must pin the created\n operation to a device in that server (e.g. using `with tf.device():`).\n\n * Currently `tf.numpy_function` is not compatible with XLA. Calling\n `tf.numpy_function` inside `tf.function(jit_comiple=True)` will raise an\n error.\n\n * Since the function takes numpy arrays, you cannot take gradients\n through a numpy_function. If you require something that is differentiable,\n please consider using tf.py_function.\n\n Args:\n func: A Python function, which accepts `numpy.ndarray` objects as arguments\n and returns a list of `numpy.ndarray` objects (or a single\n `numpy.ndarray`). This function must accept as many arguments as there are\n tensors in `inp`, and these argument types will match the corresponding\n `tf.Tensor` objects in `inp`. The returns `numpy.ndarray`s must match the\n number and types defined `Tout`.\n Important Note: Input and output `numpy.ndarray`s of `func` are not\n guaranteed to be copies. In some cases their underlying memory will be\n shared with the corresponding TensorFlow tensors. In-place modification\n or storing `func` input or return values in python datastructures\n without explicit (np.)copy can have non-deterministic consequences.\n inp: A list of `tf.Tensor` objects.\n Tout: A list or tuple of tensorflow data types or a single tensorflow data\n type if there is only one, indicating what `func` returns.\n stateful: (Boolean.) Setting this argument to False tells the runtime to\n treat the function as stateless, which enables certain optimizations.\n A function is stateless when given the same input it will return the\n same output and have no side effects; its only purpose is to have a\n return value.\n The behavior for a stateful function with the `stateful` argument False\n is undefined. In particular, caution should be taken when\n mutating the input arguments as this is a stateful operation.\n name: (Optional) A name for the operation.\n\n Returns:\n Single or list of `tf.Tensor` which `func` computes.\n "},{name:"one_hot",path:"./tf/one_hot.md",desc:"Returns a one-hot tensor.",type:"Functions",docs:"Returns a one-hot tensor.\n\n See also `tf.fill`, `tf.eye`.\n\n The locations represented by indices in `indices` take value `on_value`,\n while all other locations take value `off_value`.\n\n `on_value` and `off_value` must have matching data types. If `dtype` is also\n provided, they must be the same data type as specified by `dtype`.\n\n If `on_value` is not provided, it will default to the value `1` with type\n `dtype`\n\n If `off_value` is not provided, it will default to the value `0` with type\n `dtype`\n\n If the input `indices` is rank `N`, the output will have rank `N+1`. The\n new axis is created at dimension `axis` (default: the new axis is appended\n at the end).\n\n If `indices` is a scalar the output shape will be a vector of length `depth`\n\n If `indices` is a vector of length `features`, the output shape will be:\n\n ```\n features x depth if axis == -1\n depth x features if axis == 0\n ```\n\n If `indices` is a matrix (batch) with shape `[batch, features]`, the output\n shape will be:\n\n ```\n batch x features x depth if axis == -1\n batch x depth x features if axis == 1\n depth x batch x features if axis == 0\n ```\n\n If `indices` is a RaggedTensor, the 'axis' argument must be positive and refer\n to a non-ragged axis. The output will be equivalent to applying 'one_hot' on\n the values of the RaggedTensor, and creating a new RaggedTensor from the\n result.\n\n If `dtype` is not provided, it will attempt to assume the data type of\n `on_value` or `off_value`, if one or both are passed in. If none of\n `on_value`, `off_value`, or `dtype` are provided, `dtype` will default to the\n value `tf.float32`.\n\n Note: If a non-numeric data type output is desired (`tf.string`, `tf.bool`,\n etc.), both `on_value` and `off_value` _must_ be provided to `one_hot`.\n\n For example:\n\n ```python\n indices = [0, 1, 2]\n depth = 3\n tf.one_hot(indices, depth) # output: [3 x 3]\n # [[1., 0., 0.],\n # [0., 1., 0.],\n # [0., 0., 1.]]\n\n indices = [0, 2, -1, 1]\n depth = 3\n tf.one_hot(indices, depth,\n on_value=5.0, off_value=0.0,\n axis=-1) # output: [4 x 3]\n # [[5.0, 0.0, 0.0], # one_hot(0)\n # [0.0, 0.0, 5.0], # one_hot(2)\n # [0.0, 0.0, 0.0], # one_hot(-1)\n # [0.0, 5.0, 0.0]] # one_hot(1)\n\n indices = [[0, 2], [1, -1]]\n depth = 3\n tf.one_hot(indices, depth,\n on_value=1.0, off_value=0.0,\n axis=-1) # output: [2 x 2 x 3]\n # [[[1.0, 0.0, 0.0], # one_hot(0)\n # [0.0, 0.0, 1.0]], # one_hot(2)\n # [[0.0, 1.0, 0.0], # one_hot(1)\n # [0.0, 0.0, 0.0]]] # one_hot(-1)\n\n indices = tf.ragged.constant([[0, 1], [2]])\n depth = 3\n tf.one_hot(indices, depth) # output: [2 x None x 3]\n # [[[1., 0., 0.],\n # [0., 1., 0.]],\n # [[0., 0., 1.]]]\n ```\n\n Args:\n indices: A `Tensor` of indices.\n depth: A scalar defining the depth of the one hot dimension.\n on_value: A scalar defining the value to fill in output when `indices[j]\n = i`. (default: 1)\n off_value: A scalar defining the value to fill in output when `indices[j]\n != i`. (default: 0)\n axis: The axis to fill (default: -1, a new inner-most axis).\n dtype: The data type of the output tensor.\n name: A name for the operation (optional).\n\n Returns:\n output: The one-hot tensor.\n\n Raises:\n TypeError: If dtype of either `on_value` or `off_value` don't match `dtype`\n TypeError: If dtype of `on_value` and `off_value` don't match one another\n "},{name:"ones",path:"./tf/ones.md",desc:"Creates a tensor with all elements set to one (1",type:"Functions",docs:"Creates a tensor with all elements set to one (1).\n\n See also `tf.ones_like`, `tf.zeros`, `tf.fill`, `tf.eye`.\n\n This operation returns a tensor of type `dtype` with shape `shape` and\n all elements set to one.\n\n ```>>> tf.ones([3, 4], tf.int32)\n \n\n```\n Args:\n shape: A `list` of integers, a `tuple` of integers, or\n a 1-D `Tensor` of type `int32`.\n dtype: Optional DType of an element in the resulting `Tensor`. Default is\n `tf.float32`.\n name: Optional string. A name for the operation.\n\n Returns:\n A `Tensor` with all elements set to one (1).\n "},{name:"ones_like",path:"./tf/ones_like.md",desc:"Creates a tensor of all ones that has the same shape as the input.",type:"Functions",docs:"Creates a tensor of all ones that has the same shape as the input.\n\n See also `tf.ones`.\n\n Given a single tensor (`tensor`), this operation returns a tensor of the\n same type and shape as `tensor` with all elements set to 1. Optionally,\n you can use `dtype` to specify a new type for the returned tensor.\n\n For example:\n\n ```>>> tensor = tf.constant([[1, 2, 3], [4, 5, 6]])\n >>> tf.ones_like(tensor)\n \n\n```\n Args:\n input: A `Tensor`.\n dtype: A type for the returned `Tensor`. Must be `float16`, `float32`,\n `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `int64`,\n `complex64`, `complex128`, `bool` or `string`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` with all elements set to one.\n "},{name:"pad",path:"./tf/pad.md",desc:"Pads a tensor.",type:"Functions",docs:'Pads a tensor.\n\n This operation pads a `tensor` according to the `paddings` you specify.\n `paddings` is an integer tensor with shape `[n, 2]`, where n is the rank of\n `tensor`. For each dimension D of `input`, `paddings[D, 0]` indicates how\n many values to add before the contents of `tensor` in that dimension, and\n `paddings[D, 1]` indicates how many values to add after the contents of\n `tensor` in that dimension. If `mode` is "REFLECT" then both `paddings[D, 0]`\n and `paddings[D, 1]` must be no greater than `tensor.dim_size(D) - 1`. If\n `mode` is "SYMMETRIC" then both `paddings[D, 0]` and `paddings[D, 1]` must be\n no greater than `tensor.dim_size(D)`.\n\n The padded size of each dimension D of the output is:\n\n `paddings[D, 0] + tensor.dim_size(D) + paddings[D, 1]`\n\n For example:\n\n ```python\n t = tf.constant([[1, 2, 3], [4, 5, 6]])\n paddings = tf.constant([[1, 1,], [2, 2]])\n # \'constant_values\' is 0.\n # rank of \'t\' is 2.\n tf.pad(t, paddings, "CONSTANT") # [[0, 0, 0, 0, 0, 0, 0],\n # [0, 0, 1, 2, 3, 0, 0],\n # [0, 0, 4, 5, 6, 0, 0],\n # [0, 0, 0, 0, 0, 0, 0]]\n\n tf.pad(t, paddings, "REFLECT") # [[6, 5, 4, 5, 6, 5, 4],\n # [3, 2, 1, 2, 3, 2, 1],\n # [6, 5, 4, 5, 6, 5, 4],\n # [3, 2, 1, 2, 3, 2, 1]]\n\n tf.pad(t, paddings, "SYMMETRIC") # [[2, 1, 1, 2, 3, 3, 2],\n # [2, 1, 1, 2, 3, 3, 2],\n # [5, 4, 4, 5, 6, 6, 5],\n # [5, 4, 4, 5, 6, 6, 5]]\n ```\n\n Args:\n tensor: A `Tensor`.\n paddings: A `Tensor` of type `int32`.\n mode: One of "CONSTANT", "REFLECT", or "SYMMETRIC" (case-insensitive)\n constant_values: In "CONSTANT" mode, the scalar pad value to use. Must be\n same type as `tensor`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `tensor`.\n\n Raises:\n ValueError: When mode is not one of "CONSTANT", "REFLECT", or "SYMMETRIC".\n '},{name:"parallel_stack",path:"./tf/parallel_stack.md",desc:"Stacks a list of rank-`R` tensors into one rank-`(R+1",type:"Functions",docs:`Stacks a list of rank-\`R\` tensors into one rank-\`(R+1)\` tensor in parallel. Requires that the shape of inputs be known at graph construction time. @@ -5556,25 +4720,28 @@ Examples: For example: - >>> start = 3 + \`\`\`>>> start = 3 >>> limit = 18 >>> delta = 3 >>> tf.range(start, limit, delta) - >>> start = 3 +\`\`\` + \`\`\`>>> start = 3 >>> limit = 1 >>> delta = -0.5 >>> tf.range(start, limit, delta) - >>> limit = 5 +\`\`\` + \`\`\`>>> limit = 5 >>> tf.range(limit) +\`\`\` Args: start: A 0-D \`Tensor\` (scalar). Acts as first entry in the range if \`limit\` is not None; otherwise, acts as range limit and first entry defaults to 0. @@ -5634,16 +4801,19 @@ Examples: This recomputation of the function during backpropagation performs redundant calculation, but reduces the overall memory usage of the Tape. - >>> y = tf.Variable(1.0) + \`\`\`>>> y = tf.Variable(1.0) - >>> def my_function(x): +\`\`\` + \`\`\`>>> def my_function(x): ... tf.print('running') ... z = x*y ... return z - >>> my_function_recompute = tf.recompute_grad(my_function) +\`\`\` + \`\`\`>>> my_function_recompute = tf.recompute_grad(my_function) - >>> with tf.GradientTape() as tape: +\`\`\` + \`\`\`>>> with tf.GradientTape() as tape: ... r = tf.constant(1.0) ... for i in range(4): ... r = my_function_recompute(r) @@ -5652,16 +4822,18 @@ Examples: running running - >>> grad = tape.gradient(r, [y]) +\`\`\` + \`\`\`>>> grad = tape.gradient(r, [y]) running running running running +\`\`\` Without \`recompute_grad\`, the tape contains all intermitate steps, and no recomputation is performed. - >>> with tf.GradientTape() as tape: + \`\`\`>>> with tf.GradientTape() as tape: ... r = tf.constant(1.0) ... for i in range(4): ... r = my_function(r) @@ -5670,8 +4842,10 @@ Examples: running running - >>> grad = tape.gradient(r, [y]) +\`\`\` + \`\`\`>>> grad = tape.gradient(r, [y]) +\`\`\` If \`f\` was a \`tf.keras\` \`Model\` or \`Layer\` object, methods and attributes such as \`f.variables\` are not available on the returned function \`g\`. @@ -5679,18 +4853,21 @@ Examples: these variables and methods. - >>> def print_running_and_return(x): + \`\`\`>>> def print_running_and_return(x): ... tf.print("running") ... return x - >>> model = tf.keras.Sequential([ +\`\`\` + \`\`\`>>> model = tf.keras.Sequential([ ... tf.keras.layers.Lambda(print_running_and_return), ... tf.keras.layers.Dense(2) ... ]) - >>> model_recompute = tf.recompute_grad(model) +\`\`\` + \`\`\`>>> model_recompute = tf.recompute_grad(model) - >>> with tf.GradientTape(persistent=True) as tape: +\`\`\` + \`\`\`>>> with tf.GradientTape(persistent=True) as tape: ... r = tf.constant([[1,2]]) ... for i in range(4): ... r = model_recompute(r) @@ -5699,21 +4876,24 @@ Examples: running running - >>> grad = tape.gradient(r, model.variables) +\`\`\` + \`\`\`>>> grad = tape.gradient(r, model.variables) running running running running +\`\`\` Alternatively, use the \`__wrapped__\` attribute to access the original model object. - >>> grad = tape.gradient(r, model_recompute.__wrapped__.variables) + \`\`\`>>> grad = tape.gradient(r, model_recompute.__wrapped__.variables) running running running running +\`\`\` Args: f: function \`f(*x)\` that returns a \`Tensor\` or sequence of \`Tensor\` outputs. @@ -5735,7 +4915,7 @@ Examples: For example: - >>> x = tf.constant([[True, True], [False, False]]) + \`\`\`>>> x = tf.constant([[True, True], [False, False]]) >>> tf.math.reduce_all(x) >>> tf.math.reduce_all(x, 0) @@ -5743,6 +4923,7 @@ Examples: >>> tf.math.reduce_all(x, 1) +\`\`\` Args: input_tensor: The boolean tensor to reduce. axis: The dimensions to reduce. If \`None\` (the default), reduces all @@ -5771,7 +4952,7 @@ Examples: For example: - >>> x = tf.constant([[True, True], [False, False]]) + \`\`\`>>> x = tf.constant([[True, True], [False, False]]) >>> tf.reduce_any(x) >>> tf.reduce_any(x, 0) @@ -5779,6 +4960,7 @@ Examples: >>> tf.reduce_any(x, 1) +\`\`\` Args: input_tensor: The boolean tensor to reduce. axis: The dimensions to reduce. If \`None\` (the default), reduces all @@ -5842,7 +5024,7 @@ Examples: Usage example: - >>> x = tf.constant([5, 1, 2, 4]) + \`\`\`>>> x = tf.constant([5, 1, 2, 4]) >>> tf.reduce_max(x) >>> x = tf.constant([-5, -1, -2, -4]) @@ -5858,6 +5040,7 @@ Examples: >>> tf.reduce_max(x) +\`\`\` See the numpy docs for \`np.amax\` and \`np.nanmax\` behavior. Args: @@ -5883,7 +5066,7 @@ Examples: For example: - >>> x = tf.constant([[1., 1.], [2., 2.]]) + \`\`\`>>> x = tf.constant([[1., 1.], [2., 2.]]) >>> tf.reduce_mean(x) >>> tf.reduce_mean(x, 0) @@ -5891,6 +5074,7 @@ Examples: >>> tf.reduce_mean(x, 1) +\`\`\` Args: input_tensor: The tensor to reduce. Should have numeric type. axis: The dimensions to reduce. If \`None\` (the default), reduces all @@ -5910,13 +5094,14 @@ Examples: hand, \`tf.reduce_mean\` has an aggressive type inference from \`input_tensor\`, for example: - >>> x = tf.constant([1, 0, 1, 0]) + \`\`\`>>> x = tf.constant([1, 0, 1, 0]) >>> tf.reduce_mean(x) >>> y = tf.constant([1., 0., 1., 0.]) >>> tf.reduce_mean(y) +\`\`\` @end_compatibility `},{name:"reduce_min",path:"./tf/math/reduce_min.md",desc:'Computes the tf.math.minimum of elements across dimensions of a tensor.',type:"Functions",docs:`Computes the \`tf.math.minimum\` of elements across dimensions of a tensor. @@ -5932,30 +5117,33 @@ Examples: For example: - >>> a = tf.constant([ + \`\`\`>>> a = tf.constant([ ... [[1, 2], [3, 4]], ... [[1, 2], [3, 4]] ... ]) >>> tf.reduce_min(a) +\`\`\` Choosing a specific axis returns minimum element in the given axis: - >>> b = tf.constant([[1, 2, 3], [4, 5, 6]]) + \`\`\`>>> b = tf.constant([[1, 2, 3], [4, 5, 6]]) >>> tf.reduce_min(b, axis=0) >>> tf.reduce_min(b, axis=1) +\`\`\` Setting \`keepdims\` to \`True\` retains the dimension of \`input_tensor\`: - >>> tf.reduce_min(a, keepdims=True) + \`\`\`>>> tf.reduce_min(a, keepdims=True) >>> tf.math.reduce_min(a, axis=0, keepdims=True) +\`\`\` Args: input_tensor: The tensor to reduce. Should have real numeric type. axis: The dimensions to reduce. If \`None\` (the default), reduces all @@ -5984,7 +5172,7 @@ Examples: For example: - >>> x = tf.constant([[1., 2.], [3., 4.]]) + \`\`\`>>> x = tf.constant([[1., 2.], [3., 4.]]) >>> tf.math.reduce_prod(x) >>> tf.math.reduce_prod(x, 0) @@ -5993,6 +5181,7 @@ Examples: +\`\`\` Args: input_tensor: The tensor to reduce. Should have numeric type. axis: The dimensions to reduce. If \`None\` (the default), reduces all @@ -6021,7 +5210,7 @@ Examples: For example: - >>> # x has a shape of (2, 3) (two rows and three columns): + \`\`\`>>> # x has a shape of (2, 3) (two rows and three columns): >>> x = tf.constant([[1, 1, 1], [1, 1, 1]]) >>> x.numpy() array([[1, 1, 1], @@ -6050,6 +5239,7 @@ Examples: >>> tf.reduce_sum(x, [0, 1]).numpy() 6 +\`\`\` Args: input_tensor: The tensor to reduce. Should have numeric type. axis: The dimensions to reduce. If \`None\` (the default), reduces all @@ -6085,11 +5275,12 @@ Examples: Example usage: - >>> repeat(['a', 'b', 'c'], repeats=[3, 0, 2], axis=0) + \`\`\`>>> repeat(['a', 'b', 'c'], repeats=[3, 0, 2], axis=0) - >>> repeat([[1, 2], [3, 4]], repeats=[2, 3], axis=0) +\`\`\` + \`\`\`>>> repeat([[1, 2], [3, 4]], repeats=[2, 3], axis=0) - >>> repeat([[1, 2], [3, 4]], repeats=[2, 3], axis=1) +\`\`\` + \`\`\`>>> repeat([[1, 2], [3, 4]], repeats=[2, 3], axis=1) - >>> repeat(3, repeats=4) +\`\`\` + \`\`\`>>> repeat(3, repeats=4) - >>> repeat([[1,2], [3,4]], repeats=2) +\`\`\` + \`\`\`>>> repeat([[1,2], [3,4]], repeats=2) +\`\`\` `},{name:"required_space_to_batch_paddings",path:"./tf/required_space_to_batch_paddings.md",desc:"Calculate padding required to make block_shape divide input_shape.",type:"Functions",docs:`Calculate padding required to make block_shape divide input_shape. This function can be used to calculate a suitable paddings argument for use @@ -6142,7 +5337,7 @@ Examples: values as \`tensor\` in the same order, except with a new shape given by \`shape\`. - >>> t1 = [[1, 2, 3], + \`\`\`>>> t1 = [[1, 2, 3], ... [4, 5, 6]] >>> print(tf.shape(t1).numpy()) [2 3] @@ -6156,20 +5351,22 @@ Examples: [3, 4], [5, 6]], dtype=int32)> +\`\`\` The \`tf.reshape\` does not change the order of or the total number of elements in the tensor, and so it can reuse the underlying data buffer. This makes it a fast operation independent of how big of a tensor it is operating on. - >>> tf.reshape([1, 2, 3], [2, 2]) + \`\`\`>>> tf.reshape([1, 2, 3], [2, 2]) Traceback (most recent call last): ... InvalidArgumentError: Input to reshape is a tensor with 3 values, but the requested shape has 4 +\`\`\` To instead reorder the data to rearrange the dimensions of a tensor, see \`tf.transpose\`. - >>> t = [[1, 2, 3], + \`\`\`>>> t = [[1, 2, 3], ... [4, 5, 6]] >>> tf.reshape(t, [3, 2]).numpy() array([[1, 2], @@ -6180,12 +5377,13 @@ Examples: [2, 5], [3, 6]], dtype=int32) +\`\`\` If one component of \`shape\` is the special value -1, the size of that dimension is computed so that the total size remains constant. In particular, a \`shape\` of \`[-1]\` flattens into 1-D. At most one component of \`shape\` can be -1. - >>> t = [[1, 2, 3], + \`\`\`>>> t = [[1, 2, 3], ... [4, 5, 6]] >>> tf.reshape(t, [-1]) +\`\`\` \`tf.reshape(t, [])\` reshapes a tensor \`t\` with one element to a scalar. - >>> tf.reshape([7], []).numpy() + \`\`\`>>> tf.reshape([7], []).numpy() 7 +\`\`\` More examples: - >>> t = [1, 2, 3, 4, 5, 6, 7, 8, 9] + \`\`\`>>> t = [1, 2, 3, 4, 5, 6, 7, 8, 9] >>> print(tf.shape(t).numpy()) [9] >>> tf.reshape(t, [3, 3]) @@ -6217,7 +5417,8 @@ Examples: [4, 5, 6], [7, 8, 9]], dtype=int32)> - >>> t = [[[1, 1], [2, 2]], +\`\`\` + \`\`\`>>> t = [[[1, 1], [2, 2]], ... [[3, 3], [4, 4]]] >>> print(tf.shape(t).numpy()) [2 2 2] @@ -6226,7 +5427,8 @@ Examples: array([[1, 1, 2, 2], [3, 3, 4, 4]], dtype=int32)> - >>> t = [[[1, 1, 1], +\`\`\` + \`\`\`>>> t = [[[1, 1, 1], ... [2, 2, 2]], ... [[3, 3, 3], ... [4, 4, 4]], @@ -6260,6 +5462,7 @@ Examples: [5, 5, 5], [6, 6, 6]]], dtype=int32)> +\`\`\` Args: tensor: A \`Tensor\`. shape: A \`Tensor\`. Must be one of the following types: \`int32\`, \`int64\`. @@ -6268,7 +5471,7 @@ Examples: Returns: A \`Tensor\`. Has the same type as \`tensor\`. - `},{name:"reverse",path:"./tf/reverse.md",desc:"Reverses specific dimensions of a tensor.",type:"Functions",docs:"Reverses specific dimensions of a tensor.\n\n Given a `tensor`, and a `int32` tensor `axis` representing the set of\n dimensions of `tensor` to reverse. This operation reverses each dimension\n `i` for which there exists `j` s.t. `axis[j] == i`.\n\n `tensor` can have up to 8 dimensions. The number of dimensions specified\n in `axis` may be 0 or more entries. If an index is specified more than\n once, a InvalidArgument error is raised.\n\n For example:\n\n ```\n # tensor 't' is [[[[ 0, 1, 2, 3],\n # [ 4, 5, 6, 7],\n # [ 8, 9, 10, 11]],\n # [[12, 13, 14, 15],\n # [16, 17, 18, 19],\n # [20, 21, 22, 23]]]]\n # tensor 't' shape is [1, 2, 3, 4]\n\n # 'dims' is [3] or 'dims' is [-1]\n reverse(t, dims) ==> [[[[ 3, 2, 1, 0],\n [ 7, 6, 5, 4],\n [ 11, 10, 9, 8]],\n [[15, 14, 13, 12],\n [19, 18, 17, 16],\n [23, 22, 21, 20]]]]\n\n # 'dims' is '[1]' (or 'dims' is '[-3]')\n reverse(t, dims) ==> [[[[12, 13, 14, 15],\n [16, 17, 18, 19],\n [20, 21, 22, 23]\n [[ 0, 1, 2, 3],\n [ 4, 5, 6, 7],\n [ 8, 9, 10, 11]]]]\n\n # 'dims' is '[2]' (or 'dims' is '[-2]')\n reverse(t, dims) ==> [[[[8, 9, 10, 11],\n [4, 5, 6, 7],\n [0, 1, 2, 3]]\n [[20, 21, 22, 23],\n [16, 17, 18, 19],\n [12, 13, 14, 15]]]]\n ```\n\n Args:\n tensor: A `Tensor`. Must be one of the following types: `uint8`, `int8`, `uint16`, `int16`, `int32`, `uint32`, `int64`, `uint64`, `bool`, `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`, `string`.\n Up to 8-D.\n axis: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n 1-D. The indices of the dimensions to reverse. Must be in the range\n `[-rank(tensor), rank(tensor))`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `tensor`.\n "},{name:"reverse_sequence",path:"./tf/reverse_sequence.md",desc:"Reverses variable length slices.",type:"Functions",docs:"Reverses variable length slices.\n\n This op first slices `input` along the dimension `batch_axis`, and for\n each slice `i`, reverses the first `seq_lengths[i]` elements along the\n dimension `seq_axis`.\n\n The elements of `seq_lengths` must obey `seq_lengths[i] <=\n input.dims[seq_axis]`, and `seq_lengths` must be a vector of length\n `input.dims[batch_axis]`.\n\n The output slice `i` along dimension `batch_axis` is then given by\n input slice `i`, with the first `seq_lengths[i]` slices along\n dimension `seq_axis` reversed.\n\n Example usage:\n\n >>> seq_lengths = [7, 2, 3, 5]\n >>> input = [[1, 2, 3, 4, 5, 0, 0, 0], [1, 2, 0, 0, 0, 0, 0, 0],\n ... [1, 2, 3, 4, 0, 0, 0, 0], [1, 2, 3, 4, 5, 6, 7, 8]]\n >>> output = tf.reverse_sequence(input, seq_lengths, seq_axis=1, batch_axis=0)\n >>> output\n \n\n Args:\n input: A `Tensor`. The input to reverse.\n seq_lengths: A `Tensor`. Must be one of the following types: `int32`,\n `int64`. 1-D with length `input.dims(batch_axis)` and `max(seq_lengths) <=\n input.dims(seq_axis)`\n seq_axis: An `int`. The dimension which is partially reversed.\n batch_axis: An optional `int`. Defaults to `0`. The dimension along which\n reversal is performed.\n name: A name for the operation (optional).\n\n Returns:\n A Tensor. Has the same type as input.\n "},{name:"roll",path:"./tf/roll.md",desc:"Rolls the elements of a tensor along an axis.",type:"Functions",docs:`Rolls the elements of a tensor along an axis. + `},{name:"reverse",path:"./tf/reverse.md",desc:"Reverses specific dimensions of a tensor.",type:"Functions",docs:"Reverses specific dimensions of a tensor.\n\n Given a `tensor`, and a `int32` tensor `axis` representing the set of\n dimensions of `tensor` to reverse. This operation reverses each dimension\n `i` for which there exists `j` s.t. `axis[j] == i`.\n\n `tensor` can have up to 8 dimensions. The number of dimensions specified\n in `axis` may be 0 or more entries. If an index is specified more than\n once, a InvalidArgument error is raised.\n\n For example:\n\n ```\n # tensor 't' is [[[[ 0, 1, 2, 3],\n # [ 4, 5, 6, 7],\n # [ 8, 9, 10, 11]],\n # [[12, 13, 14, 15],\n # [16, 17, 18, 19],\n # [20, 21, 22, 23]]]]\n # tensor 't' shape is [1, 2, 3, 4]\n\n # 'dims' is [3] or 'dims' is [-1]\n reverse(t, dims) ==> [[[[ 3, 2, 1, 0],\n [ 7, 6, 5, 4],\n [ 11, 10, 9, 8]],\n [[15, 14, 13, 12],\n [19, 18, 17, 16],\n [23, 22, 21, 20]]]]\n\n # 'dims' is '[1]' (or 'dims' is '[-3]')\n reverse(t, dims) ==> [[[[12, 13, 14, 15],\n [16, 17, 18, 19],\n [20, 21, 22, 23]\n [[ 0, 1, 2, 3],\n [ 4, 5, 6, 7],\n [ 8, 9, 10, 11]]]]\n\n # 'dims' is '[2]' (or 'dims' is '[-2]')\n reverse(t, dims) ==> [[[[8, 9, 10, 11],\n [4, 5, 6, 7],\n [0, 1, 2, 3]]\n [[20, 21, 22, 23],\n [16, 17, 18, 19],\n [12, 13, 14, 15]]]]\n ```\n\n Args:\n tensor: A `Tensor`. Must be one of the following types: `uint8`, `int8`, `uint16`, `int16`, `int32`, `uint32`, `int64`, `uint64`, `bool`, `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`, `string`.\n Up to 8-D.\n axis: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n 1-D. The indices of the dimensions to reverse. Must be in the range\n `[-rank(tensor), rank(tensor))`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `tensor`.\n "},{name:"reverse_sequence",path:"./tf/reverse_sequence.md",desc:"Reverses variable length slices.",type:"Functions",docs:"Reverses variable length slices.\n\n This op first slices `input` along the dimension `batch_axis`, and for\n each slice `i`, reverses the first `seq_lengths[i]` elements along the\n dimension `seq_axis`.\n\n The elements of `seq_lengths` must obey `seq_lengths[i] <=\n input.dims[seq_axis]`, and `seq_lengths` must be a vector of length\n `input.dims[batch_axis]`.\n\n The output slice `i` along dimension `batch_axis` is then given by\n input slice `i`, with the first `seq_lengths[i]` slices along\n dimension `seq_axis` reversed.\n\n Example usage:\n\n ```>>> seq_lengths = [7, 2, 3, 5]\n >>> input = [[1, 2, 3, 4, 5, 0, 0, 0], [1, 2, 0, 0, 0, 0, 0, 0],\n ... [1, 2, 3, 4, 0, 0, 0, 0], [1, 2, 3, 4, 5, 6, 7, 8]]\n >>> output = tf.reverse_sequence(input, seq_lengths, seq_axis=1, batch_axis=0)\n >>> output\n \n\n```\n Args:\n input: A `Tensor`. The input to reverse.\n seq_lengths: A `Tensor`. Must be one of the following types: `int32`,\n `int64`. 1-D with length `input.dims(batch_axis)` and `max(seq_lengths) <=\n input.dims(seq_axis)`\n seq_axis: An `int`. The dimension which is partially reversed.\n batch_axis: An optional `int`. Defaults to `0`. The dimension along which\n reversal is performed.\n name: A name for the operation (optional).\n\n Returns:\n A Tensor. Has the same type as input.\n "},{name:"roll",path:"./tf/roll.md",desc:"Rolls the elements of a tensor along an axis.",type:"Functions",docs:`Rolls the elements of a tensor along an axis. The elements are shifted positively (towards larger indices) by the offset of \`shift\` along the dimension of \`axis\`. Negative \`shift\` values will shift @@ -6307,7 +5510,7 @@ Examples: Returns: A \`Tensor\`. Has the same type as \`input\`. - `},{name:"round",path:"./tf/math/round.md",desc:"Rounds the values of a tensor to the nearest integer, element-wise.",type:"Functions",docs:"Rounds the values of a tensor to the nearest integer, element-wise.\n\n Rounds half to even. Also known as bankers rounding. If you want to round\n according to the current system rounding mode use tf::cint.\n For example:\n\n ```python\n x = tf.constant([0.9, 2.5, 2.3, 1.5, -4.5])\n tf.round(x) # [ 1.0, 2.0, 2.0, 2.0, -4.0 ]\n ```\n\n Args:\n x: A `Tensor` of type `float16`, `float32`, `float64`, `int32`, or `int64`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of same shape and type as `x`.\n "},{name:"saturate_cast",path:"./tf/dtypes/saturate_cast.md",desc:"Performs a safe saturating cast of `value` to `dtype`.",type:"Functions",docs:"Performs a safe saturating cast of `value` to `dtype`.\n\n This function casts the input to `dtype` without applying any scaling. If\n there is a danger that values would over or underflow in the cast, this op\n applies the appropriate clamping before the cast.\n\n Args:\n value: A `Tensor`.\n dtype: The desired output `DType`.\n name: A name for the operation (optional).\n\n Returns:\n `value` safely cast to `dtype`.\n "},{name:"scalar_mul",path:"./tf/math/scalar_mul.md",desc:"Multiplies a scalar times a `Tensor` or `IndexedSlices` object.",type:"Functions",docs:"Multiplies a scalar times a `Tensor` or `IndexedSlices` object.\n\n This is a special case of `tf.math.multiply`, where the first value must be a\n `scalar`. Unlike the general form of `tf.math.multiply`, this is operation is\n guaranteed to be efficient for `tf.IndexedSlices`.\n\n >>> x = tf.reshape(tf.range(30, dtype=tf.float32), [10, 3])\n >>> with tf.GradientTape() as g:\n ... g.watch(x)\n ... y = tf.gather(x, [1, 2]) # IndexedSlices\n ... z = tf.math.scalar_mul(10.0, y)\n\n Args:\n scalar: A 0-D scalar `Tensor`. Must have known shape.\n x: A `Tensor` or `IndexedSlices` to be scaled.\n name: A name for the operation (optional).\n\n Returns:\n `scalar * x` of the same type (`Tensor` or `IndexedSlices`) as `x`.\n\n Raises:\n ValueError: if scalar is not a 0-D `scalar`.\n "},{name:"scan",path:"./tf/scan.md",desc:"scan on the list of tensors unpacked from `elems` on dimension 0. (deprecated argument values",type:"Functions",docs:"scan on the list of tensors unpacked from `elems` on dimension 0. (deprecated argument values)\n\nDeprecated: SOME ARGUMENT VALUES ARE DEPRECATED: `(back_prop=False)`. They will be removed in a future version.\nInstructions for updating:\nback_prop=False is deprecated. Consider using tf.stop_gradient instead.\nInstead of:\nresults = tf.scan(fn, elems, back_prop=False)\nUse:\nresults = tf.nest.map_structure(tf.stop_gradient, tf.scan(fn, elems))\n\nThe simplest version of `scan` repeatedly applies the callable `fn` to a\nsequence of elements from first to last. The elements are made of the tensors\nunpacked from `elems` on dimension 0. The callable fn takes two tensors as\narguments. The first argument is the accumulated value computed from the\npreceding invocation of fn, and the second is the value at the current\nposition of `elems`. If `initializer` is None, `elems` must contain at least\none element, and its first element is used as the initializer.\n\nSuppose that `elems` is unpacked into `values`, a list of tensors. The shape\nof the result tensor is `[len(values)] + fn(initializer, values[0]).shape`.\nIf reverse=True, it's fn(initializer, values[-1]).shape.\n\nThis method also allows multi-arity `elems` and accumulator. If `elems`\nis a (possibly nested) list or tuple of tensors, then each of these tensors\nmust have a matching first (unpack) dimension. The second argument of\n`fn` must match the structure of `elems`.\n\nIf no `initializer` is provided, the output structure and dtypes of `fn`\nare assumed to be the same as its input; and in this case, the first\nargument of `fn` must match the structure of `elems`.\n\nIf an `initializer` is provided, then the output of `fn` must have the same\nstructure as `initializer`; and the first argument of `fn` must match\nthis structure.\n\nFor example, if `elems` is `(t1, [t2, t3])` and `initializer` is\n`[i1, i2]` then an appropriate signature for `fn` in `python2` is:\n`fn = lambda (acc_p1, acc_p2), (t1, [t2, t3]):` and `fn` must return a list,\n`[acc_n1, acc_n2]`. An alternative correct signature for `fn`, and the\n one that works in `python3`, is:\n`fn = lambda a, t:`, where `a` and `t` correspond to the input tuples.\n\nArgs:\n fn: The callable to be performed. It accepts two arguments. The first will\n have the same structure as `initializer` if one is provided, otherwise it\n will have the same structure as `elems`. The second will have the same\n (possibly nested) structure as `elems`. Its output must have the same\n structure as `initializer` if one is provided, otherwise it must have the\n same structure as `elems`.\n elems: A tensor or (possibly nested) sequence of tensors, each of which will\n be unpacked along their first dimension. The nested sequence of the\n resulting slices will be the first argument to `fn`.\n initializer: (optional) A tensor or (possibly nested) sequence of tensors,\n initial value for the accumulator, and the expected output type of `fn`.\n parallel_iterations: (optional) The number of iterations allowed to run in\n parallel.\n back_prop: (optional) Deprecated. False disables support for back\n propagation. Prefer using `tf.stop_gradient` instead.\n swap_memory: (optional) True enables GPU-CPU memory swapping.\n infer_shape: (optional) False disables tests for consistent output shapes.\n reverse: (optional) True scans the tensor last to first (instead of first to\n last).\n name: (optional) Name prefix for the returned tensors.\n\nReturns:\n A tensor or (possibly nested) sequence of tensors. Each tensor packs the\n results of applying `fn` to tensors unpacked from `elems` along the first\n dimension, and the previous accumulator value(s), from first to last (or\n last to first, if `reverse=True`).\n\nRaises:\n TypeError: if `fn` is not callable or the structure of the output of\n `fn` and `initializer` do not match.\n ValueError: if the lengths of the output of `fn` and `initializer`\n do not match.\n\nExamples:\n ```python\n elems = np.array([1, 2, 3, 4, 5, 6])\n sum = scan(lambda a, x: a + x, elems)\n # sum == [1, 3, 6, 10, 15, 21]\n sum = scan(lambda a, x: a + x, elems, reverse=True)\n # sum == [21, 20, 18, 15, 11, 6]\n ```\n\n ```python\n elems = np.array([1, 2, 3, 4, 5, 6])\n initializer = np.array(0)\n sum_one = scan(\n lambda a, x: x[0] - x[1] + a, (elems + 1, elems), initializer)\n # sum_one == [1, 2, 3, 4, 5, 6]\n ```\n\n ```python\n elems = np.array([1, 0, 0, 0, 0, 0])\n initializer = (np.array(0), np.array(1))\n fibonaccis = scan(lambda a, _: (a[1], a[0] + a[1]), elems, initializer)\n # fibonaccis == ([1, 1, 2, 3, 5, 8], [1, 2, 3, 5, 8, 13])\n ```"},{name:"scatter_nd",path:"./tf/scatter_nd.md",desc:"Scatters `updates` into a tensor of shape `shape` according to `indices`.",type:"Functions",docs:`Scatters \`updates\` into a tensor of shape \`shape\` according to \`indices\`. + `},{name:"round",path:"./tf/math/round.md",desc:"Rounds the values of a tensor to the nearest integer, element-wise.",type:"Functions",docs:"Rounds the values of a tensor to the nearest integer, element-wise.\n\n Rounds half to even. Also known as bankers rounding. If you want to round\n according to the current system rounding mode use tf::cint.\n For example:\n\n ```python\n x = tf.constant([0.9, 2.5, 2.3, 1.5, -4.5])\n tf.round(x) # [ 1.0, 2.0, 2.0, 2.0, -4.0 ]\n ```\n\n Args:\n x: A `Tensor` of type `float16`, `float32`, `float64`, `int32`, or `int64`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of same shape and type as `x`.\n "},{name:"saturate_cast",path:"./tf/dtypes/saturate_cast.md",desc:"Performs a safe saturating cast of `value` to `dtype`.",type:"Functions",docs:"Performs a safe saturating cast of `value` to `dtype`.\n\n This function casts the input to `dtype` without applying any scaling. If\n there is a danger that values would over or underflow in the cast, this op\n applies the appropriate clamping before the cast.\n\n Args:\n value: A `Tensor`.\n dtype: The desired output `DType`.\n name: A name for the operation (optional).\n\n Returns:\n `value` safely cast to `dtype`.\n "},{name:"scalar_mul",path:"./tf/math/scalar_mul.md",desc:"Multiplies a scalar times a `Tensor` or `IndexedSlices` object.",type:"Functions",docs:"Multiplies a scalar times a `Tensor` or `IndexedSlices` object.\n\n This is a special case of `tf.math.multiply`, where the first value must be a\n `scalar`. Unlike the general form of `tf.math.multiply`, this is operation is\n guaranteed to be efficient for `tf.IndexedSlices`.\n\n ```>>> x = tf.reshape(tf.range(30, dtype=tf.float32), [10, 3])\n >>> with tf.GradientTape() as g:\n ... g.watch(x)\n ... y = tf.gather(x, [1, 2]) # IndexedSlices\n ... z = tf.math.scalar_mul(10.0, y)\n\n```\n Args:\n scalar: A 0-D scalar `Tensor`. Must have known shape.\n x: A `Tensor` or `IndexedSlices` to be scaled.\n name: A name for the operation (optional).\n\n Returns:\n `scalar * x` of the same type (`Tensor` or `IndexedSlices`) as `x`.\n\n Raises:\n ValueError: if scalar is not a 0-D `scalar`.\n "},{name:"scan",path:"./tf/scan.md",desc:"scan on the list of tensors unpacked from `elems` on dimension 0. (deprecated argument values",type:"Functions",docs:"scan on the list of tensors unpacked from `elems` on dimension 0. (deprecated argument values)\n\nDeprecated: SOME ARGUMENT VALUES ARE DEPRECATED: `(back_prop=False)`. They will be removed in a future version.\nInstructions for updating:\nback_prop=False is deprecated. Consider using tf.stop_gradient instead.\nInstead of:\nresults = tf.scan(fn, elems, back_prop=False)\nUse:\nresults = tf.nest.map_structure(tf.stop_gradient, tf.scan(fn, elems))\n\nThe simplest version of `scan` repeatedly applies the callable `fn` to a\nsequence of elements from first to last. The elements are made of the tensors\nunpacked from `elems` on dimension 0. The callable fn takes two tensors as\narguments. The first argument is the accumulated value computed from the\npreceding invocation of fn, and the second is the value at the current\nposition of `elems`. If `initializer` is None, `elems` must contain at least\none element, and its first element is used as the initializer.\n\nSuppose that `elems` is unpacked into `values`, a list of tensors. The shape\nof the result tensor is `[len(values)] + fn(initializer, values[0]).shape`.\nIf reverse=True, it's fn(initializer, values[-1]).shape.\n\nThis method also allows multi-arity `elems` and accumulator. If `elems`\nis a (possibly nested) list or tuple of tensors, then each of these tensors\nmust have a matching first (unpack) dimension. The second argument of\n`fn` must match the structure of `elems`.\n\nIf no `initializer` is provided, the output structure and dtypes of `fn`\nare assumed to be the same as its input; and in this case, the first\nargument of `fn` must match the structure of `elems`.\n\nIf an `initializer` is provided, then the output of `fn` must have the same\nstructure as `initializer`; and the first argument of `fn` must match\nthis structure.\n\nFor example, if `elems` is `(t1, [t2, t3])` and `initializer` is\n`[i1, i2]` then an appropriate signature for `fn` in `python2` is:\n`fn = lambda (acc_p1, acc_p2), (t1, [t2, t3]):` and `fn` must return a list,\n`[acc_n1, acc_n2]`. An alternative correct signature for `fn`, and the\n one that works in `python3`, is:\n`fn = lambda a, t:`, where `a` and `t` correspond to the input tuples.\n\nArgs:\n fn: The callable to be performed. It accepts two arguments. The first will\n have the same structure as `initializer` if one is provided, otherwise it\n will have the same structure as `elems`. The second will have the same\n (possibly nested) structure as `elems`. Its output must have the same\n structure as `initializer` if one is provided, otherwise it must have the\n same structure as `elems`.\n elems: A tensor or (possibly nested) sequence of tensors, each of which will\n be unpacked along their first dimension. The nested sequence of the\n resulting slices will be the first argument to `fn`.\n initializer: (optional) A tensor or (possibly nested) sequence of tensors,\n initial value for the accumulator, and the expected output type of `fn`.\n parallel_iterations: (optional) The number of iterations allowed to run in\n parallel.\n back_prop: (optional) Deprecated. False disables support for back\n propagation. Prefer using `tf.stop_gradient` instead.\n swap_memory: (optional) True enables GPU-CPU memory swapping.\n infer_shape: (optional) False disables tests for consistent output shapes.\n reverse: (optional) True scans the tensor last to first (instead of first to\n last).\n name: (optional) Name prefix for the returned tensors.\n\nReturns:\n A tensor or (possibly nested) sequence of tensors. Each tensor packs the\n results of applying `fn` to tensors unpacked from `elems` along the first\n dimension, and the previous accumulator value(s), from first to last (or\n last to first, if `reverse=True`).\n\nRaises:\n TypeError: if `fn` is not callable or the structure of the output of\n `fn` and `initializer` do not match.\n ValueError: if the lengths of the output of `fn` and `initializer`\n do not match.\n\nExamples:\n ```python\n elems = np.array([1, 2, 3, 4, 5, 6])\n sum = scan(lambda a, x: a + x, elems)\n # sum == [1, 3, 6, 10, 15, 21]\n sum = scan(lambda a, x: a + x, elems, reverse=True)\n # sum == [21, 20, 18, 15, 11, 6]\n ```\n\n ```python\n elems = np.array([1, 2, 3, 4, 5, 6])\n initializer = np.array(0)\n sum_one = scan(\n lambda a, x: x[0] - x[1] + a, (elems + 1, elems), initializer)\n # sum_one == [1, 2, 3, 4, 5, 6]\n ```\n\n ```python\n elems = np.array([1, 0, 0, 0, 0, 0])\n initializer = (np.array(0), np.array(1))\n fibonaccis = scan(lambda a, _: (a[1], a[0] + a[1]), elems, initializer)\n # fibonaccis == ([1, 1, 2, 3, 5, 8], [1, 2, 3, 5, 8, 13])\n ```"},{name:"scatter_nd",path:"./tf/scatter_nd.md",desc:"Scatters `updates` into a tensor of shape `shape` according to `indices`.",type:"Functions",docs:`Scatters \`updates\` into a tensor of shape \`shape\` according to \`indices\`. Update the input tensor by scattering sparse \`updates\` according to individual values at the specified \`indices\`. This op returns an \`output\` tensor with the \`shape\` you specify. This op is the @@ -6413,26 +5616,28 @@ Examples: **edges** listed in \`sorted_sequence\`. This operation returns the bucket-index for each value. - >>> edges = [-1, 3.3, 9.1, 10.0] + \`\`\`>>> edges = [-1, 3.3, 9.1, 10.0] >>> values = [0.0, 4.1, 12.0] >>> tf.searchsorted(edges, values).numpy() array([1, 2, 4], dtype=int32) +\`\`\` The \`side\` argument controls which index is returned if a value lands exactly on an edge: - >>> seq = [0, 3, 9, 10, 10] + \`\`\`>>> seq = [0, 3, 9, 10, 10] >>> values = [0, 4, 10] >>> tf.searchsorted(seq, values).numpy() array([0, 2, 3], dtype=int32) >>> tf.searchsorted(seq, values, side="right").numpy() array([1, 2, 5], dtype=int32) +\`\`\` The \`axis\` is not settable for this operation. It always operates on the innermost dimension (\`axis=-1\`). The operation will accept any number of outer dimensions. Here it is applied to the rows of a matrix: - >>> sorted_sequence = [[0., 3., 8., 9., 10.], + \`\`\`>>> sorted_sequence = [[0., 3., 8., 9., 10.], ... [1., 2., 3., 4., 5.]] >>> values = [[9.8, 2.1, 4.3], ... [0.1, 6.6, 4.5, ]] @@ -6440,6 +5645,7 @@ Examples: array([[4, 1, 2], [0, 5, 4]], dtype=int32) +\`\`\` Note: This operation assumes that \`sorted_sequence\` **is sorted** along the innermost axis, maybe using \`tf.sort(..., axis=-1)\`. **If the sequence is not sorted no error is raised** and the content of the returned tensor is not well @@ -6496,51 +5702,7 @@ Examples: A mask tensor of shape \`lengths.shape + (maxlen,)\`, cast to specified dtype. Raises: ValueError: if \`maxlen\` is not a scalar. - `},{name:"shape",path:"./tf/shape.md",desc:"Returns a tensor containing the shape of the input tensor.",type:"Functions",docs:`Returns a tensor containing the shape of the input tensor. - - See also \`tf.size\`, \`tf.rank\`. - - \`tf.shape\` returns a 1-D integer tensor representing the shape of \`input\`. - For a scalar input, the tensor returned has a shape of (0,) and its value is - the empty vector (i.e. []). - - For example: - - >>> tf.shape(1.) - - - >>> t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]]) - >>> tf.shape(t) - - - Note: When using symbolic tensors, such as when using the Keras API, - tf.shape() will return the shape of the symbolic tensor. - - >>> a = tf.keras.layers.Input((None, 10)) - >>> tf.shape(a) - <... shape=(3,) dtype=int32...> - - In these cases, using \`tf.Tensor.shape\` will return more informative results. - - >>> a.shape - TensorShape([None, None, 10]) - - (The first \`None\` represents the as yet unknown batch size.) - - \`tf.shape\` and \`Tensor.shape\` should be identical in eager mode. Within - \`tf.function\` or within a \`compat.v1\` context, not all dimensions may be - known until execution time. Hence when defining custom layers and models - for graph mode, prefer the dynamic \`tf.shape(x)\` over the static \`x.shape\`. - - Args: - input: A \`Tensor\` or \`SparseTensor\`. - out_type: (Optional) The specified output type of the operation (\`int32\` or - \`int64\`). Defaults to \`tf.int32\`. - name: A name for the operation (optional). - - Returns: - A \`Tensor\` of type \`out_type\`. - `},{name:"shape_n",path:"./tf/shape_n.md",desc:"Returns shape of tensors.",type:"Functions",docs:"Returns shape of tensors.\n\n Args:\n input: A list of at least 1 `Tensor` object with the same type.\n out_type: The specified output type of the operation (`int32` or `int64`).\n Defaults to `tf.int32`(optional).\n name: A name for the operation (optional).\n\n Returns:\n A list with the same length as `input` of `Tensor` objects with\n type `out_type`.\n "},{name:"sigmoid",path:"./tf/math/sigmoid.md",desc:"Computes sigmoid of `x` element-wise.",type:"Functions",docs:`Computes sigmoid of \`x\` element-wise. + `},{name:"shape",path:"./tf/shape.md",desc:"Returns a tensor containing the shape of the input tensor.",type:"Functions",docs:"Returns a tensor containing the shape of the input tensor.\n\n See also `tf.size`, `tf.rank`.\n\n `tf.shape` returns a 1-D integer tensor representing the shape of `input`.\n For a scalar input, the tensor returned has a shape of (0,) and its value is\n the empty vector (i.e. []).\n\n For example:\n\n ```>>> tf.shape(1.)\n \n\n```\n ```>>> t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]])\n >>> tf.shape(t)\n \n\n```\n Note: When using symbolic tensors, such as when using the Keras API,\n tf.shape() will return the shape of the symbolic tensor.\n\n ```>>> a = tf.keras.layers.Input((None, 10))\n >>> tf.shape(a)\n <... shape=(3,) dtype=int32...>\n\n```\n In these cases, using `tf.Tensor.shape` will return more informative results.\n\n ```>>> a.shape\n TensorShape([None, None, 10])\n\n```\n (The first `None` represents the as yet unknown batch size.)\n\n `tf.shape` and `Tensor.shape` should be identical in eager mode. Within\n `tf.function` or within a `compat.v1` context, not all dimensions may be\n known until execution time. Hence when defining custom layers and models\n for graph mode, prefer the dynamic `tf.shape(x)` over the static `x.shape`.\n\n Args:\n input: A `Tensor` or `SparseTensor`.\n out_type: (Optional) The specified output type of the operation (`int32` or\n `int64`). Defaults to `tf.int32`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` of type `out_type`.\n "},{name:"shape_n",path:"./tf/shape_n.md",desc:"Returns shape of tensors.",type:"Functions",docs:"Returns shape of tensors.\n\n Args:\n input: A list of at least 1 `Tensor` object with the same type.\n out_type: The specified output type of the operation (`int32` or `int64`).\n Defaults to `tf.int32`(optional).\n name: A name for the operation (optional).\n\n Returns:\n A list with the same length as `input` of `Tensor` objects with\n type `out_type`.\n "},{name:"sigmoid",path:"./tf/math/sigmoid.md",desc:"Computes sigmoid of `x` element-wise.",type:"Functions",docs:`Computes sigmoid of \`x\` element-wise. Formula for calculating $\\mathrm{sigmoid}(x) = y = 1 / (1 + \\exp(-x))$. @@ -6551,20 +5713,22 @@ Examples: If a positive number is large, then its sigmoid will approach to 1 since the formula will be \`y = / (1 + )\` - >>> x = tf.constant([0.0, 1.0, 50.0, 100.0]) + \`\`\`>>> x = tf.constant([0.0, 1.0, 50.0, 100.0]) >>> tf.math.sigmoid(x) +\`\`\` If a negative number is large, its sigmoid will approach to 0 since the formula will be \`y = 1 / (1 + )\` - >>> x = tf.constant([-100.0, -50.0, -1.0, 0.0]) + \`\`\`>>> x = tf.constant([-100.0, -50.0, -1.0, 0.0]) >>> tf.math.sigmoid(x) +\`\`\` Args: x: A Tensor with type \`float16\`, \`float32\`, \`float64\`, \`complex64\`, or \`complex128\`. @@ -6575,11 +5739,12 @@ Examples: Usage Example: - >>> x = tf.constant([-128.0, 0.0, 128.0], dtype=tf.float32) + \`\`\`>>> x = tf.constant([-128.0, 0.0, 128.0], dtype=tf.float32) >>> tf.sigmoid(x) +\`\`\` @compatibility(scipy) Equivalent to scipy.special.expit @end_compatibility @@ -6591,16 +5756,18 @@ Examples: Example usage: - >>> # real number + \`\`\`>>> # real number >>> tf.math.sign([0., 2., -3.]) - >>> # complex number +\`\`\` + \`\`\`>>> # complex number >>> tf.math.sign([1 + 1j, 0 + 0j]) +\`\`\` Args: x: A Tensor. Must be one of the following types: bfloat16, half, float32, float64, int32, int64, complex64, complex128. @@ -6613,46 +5780,23 @@ Examples: tf.math.sign(x.values, ...), x.dense_shape). If \`x\` is a \`SparseTensor\`, returns - \`SparseTensor(x.indices, tf.math.sign(x.values, ...), x.dense_shape)\``},{name:"sin",path:"./tf/math/sin.md",desc:"Computes sine of x element-wise.",type:"Functions",docs:'Computes sine of x element-wise.\n\n Given an input tensor, this function computes sine of every\n element in the tensor. Input range is `(-inf, inf)` and\n output range is `[-1,1]`.\n\n ```python\n x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10, float("inf")])\n tf.math.sin(x) ==> [nan -0.4121185 -0.47942555 0.84147096 0.9320391 -0.87329733 -0.54402107 nan]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"sinh",path:"./tf/math/sinh.md",desc:"Computes hyperbolic sine of x element-wise.",type:"Functions",docs:'Computes hyperbolic sine of x element-wise.\n\n Given an input tensor, this function computes hyperbolic sine of every\n element in the tensor. Input range is `[-inf,inf]` and output range\n is `[-inf,inf]`.\n\n ```python\n x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 2, 10, float("inf")])\n tf.math.sinh(x) ==> [-inf -4.0515420e+03 -5.2109528e-01 1.1752012e+00 1.5094614e+00 3.6268604e+00 1.1013232e+04 inf]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"size",path:"./tf/size.md",desc:"Returns the size of a tensor.",type:"Functions",docs:`Returns the size of a tensor. - - See also \`tf.shape\`. - - Returns a 0-D \`Tensor\` representing the number of elements in \`input\` - of type \`out_type\`. Defaults to tf.int32. - - For example: - - >>> t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]]) - >>> tf.size(t) - - - Args: - input: A \`Tensor\` or \`SparseTensor\`. - name: A name for the operation (optional). - out_type: (Optional) The specified non-quantized numeric output type of the - operation. Defaults to \`tf.int32\`. - - Returns: - A \`Tensor\` of type \`out_type\`. Defaults to \`tf.int32\`. - - @compatibility(numpy) - Equivalent to np.size() - @end_compatibility - `},{name:"slice",path:"./tf/slice.md",desc:"Extracts a slice from a tensor.",type:"Functions",docs:"Extracts a slice from a tensor.\n\n See also `tf.strided_slice`.\n\n This operation extracts a slice of size `size` from a tensor `input_` starting\n at the location specified by `begin`. The slice `size` is represented as a\n tensor shape, where `size[i]` is the number of elements of the 'i'th dimension\n of `input_` that you want to slice. The starting location (`begin`) for the\n slice is represented as an offset in each dimension of `input_`. In other\n words, `begin[i]` is the offset into the i'th dimension of `input_` that you\n want to slice from.\n\n Note that `tf.Tensor.__getitem__` is typically a more pythonic way to\n perform slices, as it allows you to write `foo[3:7, :-2]` instead of\n `tf.slice(foo, [3, 0], [4, foo.get_shape()[1]-2])`.\n\n `begin` is zero-based; `size` is one-based. If `size[i]` is -1,\n all remaining elements in dimension i are included in the\n slice. In other words, this is equivalent to setting:\n\n `size[i] = input_.dim_size(i) - begin[i]`\n\n This operation requires that:\n\n `0 <= begin[i] <= begin[i] + size[i] <= Di for i in [0, n]`\n\n For example:\n\n ```python\n t = tf.constant([[[1, 1, 1], [2, 2, 2]],\n [[3, 3, 3], [4, 4, 4]],\n [[5, 5, 5], [6, 6, 6]]])\n tf.slice(t, [1, 0, 0], [1, 1, 3]) # [[[3, 3, 3]]]\n tf.slice(t, [1, 0, 0], [1, 2, 3]) # [[[3, 3, 3],\n # [4, 4, 4]]]\n tf.slice(t, [1, 0, 0], [2, 1, 3]) # [[[3, 3, 3]],\n # [[5, 5, 5]]]\n ```\n\n Args:\n input_: A `Tensor`.\n begin: An `int32` or `int64` `Tensor`.\n size: An `int32` or `int64` `Tensor`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` the same type as `input_`.\n "},{name:"sort",path:"./tf/sort.md",desc:"Sorts a tensor.",type:"Functions",docs:`Sorts a tensor. + \`SparseTensor(x.indices, tf.math.sign(x.values, ...), x.dense_shape)\``},{name:"sin",path:"./tf/math/sin.md",desc:"Computes sine of x element-wise.",type:"Functions",docs:'Computes sine of x element-wise.\n\n Given an input tensor, this function computes sine of every\n element in the tensor. Input range is `(-inf, inf)` and\n output range is `[-1,1]`.\n\n ```python\n x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10, float("inf")])\n tf.math.sin(x) ==> [nan -0.4121185 -0.47942555 0.84147096 0.9320391 -0.87329733 -0.54402107 nan]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"sinh",path:"./tf/math/sinh.md",desc:"Computes hyperbolic sine of x element-wise.",type:"Functions",docs:'Computes hyperbolic sine of x element-wise.\n\n Given an input tensor, this function computes hyperbolic sine of every\n element in the tensor. Input range is `[-inf,inf]` and output range\n is `[-inf,inf]`.\n\n ```python\n x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 2, 10, float("inf")])\n tf.math.sinh(x) ==> [-inf -4.0515420e+03 -5.2109528e-01 1.1752012e+00 1.5094614e+00 3.6268604e+00 1.1013232e+04 inf]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"size",path:"./tf/size.md",desc:"Returns the size of a tensor.",type:"Functions",docs:"Returns the size of a tensor.\n\n See also `tf.shape`.\n\n Returns a 0-D `Tensor` representing the number of elements in `input`\n of type `out_type`. Defaults to tf.int32.\n\n For example:\n\n ```>>> t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]])\n >>> tf.size(t)\n \n\n```\n Args:\n input: A `Tensor` or `SparseTensor`.\n name: A name for the operation (optional).\n out_type: (Optional) The specified non-quantized numeric output type of the\n operation. Defaults to `tf.int32`.\n\n Returns:\n A `Tensor` of type `out_type`. Defaults to `tf.int32`.\n\n @compatibility(numpy)\n Equivalent to np.size()\n @end_compatibility\n "},{name:"slice",path:"./tf/slice.md",desc:"Extracts a slice from a tensor.",type:"Functions",docs:"Extracts a slice from a tensor.\n\n See also `tf.strided_slice`.\n\n This operation extracts a slice of size `size` from a tensor `input_` starting\n at the location specified by `begin`. The slice `size` is represented as a\n tensor shape, where `size[i]` is the number of elements of the 'i'th dimension\n of `input_` that you want to slice. The starting location (`begin`) for the\n slice is represented as an offset in each dimension of `input_`. In other\n words, `begin[i]` is the offset into the i'th dimension of `input_` that you\n want to slice from.\n\n Note that `tf.Tensor.__getitem__` is typically a more pythonic way to\n perform slices, as it allows you to write `foo[3:7, :-2]` instead of\n `tf.slice(foo, [3, 0], [4, foo.get_shape()[1]-2])`.\n\n `begin` is zero-based; `size` is one-based. If `size[i]` is -1,\n all remaining elements in dimension i are included in the\n slice. In other words, this is equivalent to setting:\n\n `size[i] = input_.dim_size(i) - begin[i]`\n\n This operation requires that:\n\n `0 <= begin[i] <= begin[i] + size[i] <= Di for i in [0, n]`\n\n For example:\n\n ```python\n t = tf.constant([[[1, 1, 1], [2, 2, 2]],\n [[3, 3, 3], [4, 4, 4]],\n [[5, 5, 5], [6, 6, 6]]])\n tf.slice(t, [1, 0, 0], [1, 1, 3]) # [[[3, 3, 3]]]\n tf.slice(t, [1, 0, 0], [1, 2, 3]) # [[[3, 3, 3],\n # [4, 4, 4]]]\n tf.slice(t, [1, 0, 0], [2, 1, 3]) # [[[3, 3, 3]],\n # [[5, 5, 5]]]\n ```\n\n Args:\n input_: A `Tensor`.\n begin: An `int32` or `int64` `Tensor`.\n size: An `int32` or `int64` `Tensor`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` the same type as `input_`.\n "},{name:"sort",path:"./tf/sort.md",desc:"Sorts a tensor.",type:"Functions",docs:`Sorts a tensor. Usage: - >>> a = [1, 10, 26.9, 2.8, 166.32, 62.3] + \`\`\`>>> a = [1, 10, 26.9, 2.8, 166.32, 62.3] >>> tf.sort(a).numpy() array([ 1. , 2.8 , 10. , 26.9 , 62.3 , 166.32], dtype=float32) - >>> tf.sort(a, direction='DESCENDING').numpy() +\`\`\` + \`\`\`>>> tf.sort(a, direction='DESCENDING').numpy() array([166.32, 62.3 , 26.9 , 10. , 2.8 , 1. ], dtype=float32) +\`\`\` For multidimensional inputs you can control which axis the sort is applied along. The default \`axis=-1\` sorts the innermost axis. - >>> mat = [[3,2,1], + \`\`\`>>> mat = [[3,2,1], ... [2,1,3], ... [1,3,2]] >>> tf.sort(mat, axis=-1).numpy() @@ -6664,6 +5808,7 @@ Examples: [2, 2, 2], [3, 3, 3]], dtype=int32) +\`\`\` See also: * \`tf.argsort\`: Like sort, but it returns the sort indices. @@ -6687,39 +5832,7 @@ Examples: tf.errors.InvalidArgumentError: If the \`values.dtype\` is not a \`float\` or \`int\` type. ValueError: If axis is not a constant scalar, or the direction is invalid. - `},{name:"space_to_batch",path:"./tf/space_to_batch.md",desc:"SpaceToBatch for N-D tensors of type T.",type:"Functions",docs:'SpaceToBatch for N-D tensors of type T.\n\n This operation divides "spatial" dimensions `[1, ..., M]` of the input into a\n grid of blocks of shape `block_shape`, and interleaves these blocks with the\n "batch" dimension (0) such that in the output, the spatial dimensions\n `[1, ..., M]` correspond to the position within the grid, and the batch\n dimension combines both the position within a spatial block and the original\n batch position. Prior to division into blocks, the spatial dimensions of the\n input are optionally zero padded according to `paddings`. See below for a\n precise description.\n\n This operation is equivalent to the following steps:\n\n 1. Zero-pad the start and end of dimensions `[1, ..., M]` of the\n input according to `paddings` to produce `padded` of shape `padded_shape`.\n\n 2. Reshape `padded` to `reshaped_padded` of shape:\n\n [batch] +\n [padded_shape[1] / block_shape[0],\n block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1],\n block_shape[M-1]] +\n remaining_shape\n\n 3. Permute dimensions of `reshaped_padded` to produce\n `permuted_reshaped_padded` of shape:\n\n block_shape +\n [batch] +\n [padded_shape[1] / block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1]] +\n remaining_shape\n\n 4. Reshape `permuted_reshaped_padded` to flatten `block_shape` into the batch\n dimension, producing an output tensor of shape:\n\n [batch * prod(block_shape)] +\n [padded_shape[1] / block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1]] +\n remaining_shape\n\n Some examples:\n\n (1) For the following input of shape `[1, 2, 2, 1]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1], [2]], [[3], [4]]]]\n ```\n\n The output tensor has shape `[4, 1, 1, 1]` and value:\n\n ```\n [[[[1]]], [[[2]]], [[[3]]], [[[4]]]]\n ```\n\n (2) For the following input of shape `[1, 2, 2, 3]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1, 2, 3], [4, 5, 6]],\n [[7, 8, 9], [10, 11, 12]]]]\n ```\n\n The output tensor has shape `[4, 1, 1, 3]` and value:\n\n ```\n [[[[1, 2, 3]]], [[[4, 5, 6]]], [[[7, 8, 9]]], [[[10, 11, 12]]]]\n ```\n\n (3) For the following input of shape `[1, 4, 4, 1]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1], [2], [3], [4]],\n [[5], [6], [7], [8]],\n [[9], [10], [11], [12]],\n [[13], [14], [15], [16]]]]\n ```\n\n The output tensor has shape `[4, 2, 2, 1]` and value:\n\n ```\n x = [[[[1], [3]], [[9], [11]]],\n [[[2], [4]], [[10], [12]]],\n [[[5], [7]], [[13], [15]]],\n [[[6], [8]], [[14], [16]]]]\n ```\n\n (4) For the following input of shape `[2, 2, 4, 1]`, block_shape = `[2, 2]`, and\n paddings = `[[0, 0], [2, 0]]`:\n\n ```\n x = [[[[1], [2], [3], [4]],\n [[5], [6], [7], [8]]],\n [[[9], [10], [11], [12]],\n [[13], [14], [15], [16]]]]\n ```\n\n The output tensor has shape `[8, 1, 3, 1]` and value:\n\n ```\n x = [[[[0], [1], [3]]], [[[0], [9], [11]]],\n [[[0], [2], [4]]], [[[0], [10], [12]]],\n [[[0], [5], [7]]], [[[0], [13], [15]]],\n [[[0], [6], [8]]], [[[0], [14], [16]]]]\n ```\n\n Among others, this operation is useful for reducing atrous convolution into\n regular convolution.\n\n Args:\n input: A `Tensor`.\n N-D with shape `input_shape = [batch] + spatial_shape + remaining_shape`,\n where spatial_shape has `M` dimensions.\n block_shape: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n 1-D with shape `[M]`, all values must be >= 1.\n paddings: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n 2-D with shape `[M, 2]`, all values must be >= 0.\n `paddings[i] = [pad_start, pad_end]` specifies the padding for input dimension\n `i + 1`, which corresponds to spatial dimension `i`. It is required that\n `block_shape[i]` divides `input_shape[i + 1] + pad_start + pad_end`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `input`.\n '},{name:"space_to_batch_nd",path:"./tf/space_to_batch_nd.md",desc:"SpaceToBatch for N-D tensors of type T.",type:"Functions",docs:'SpaceToBatch for N-D tensors of type T.\n\n This operation divides "spatial" dimensions `[1, ..., M]` of the input into a\n grid of blocks of shape `block_shape`, and interleaves these blocks with the\n "batch" dimension (0) such that in the output, the spatial dimensions\n `[1, ..., M]` correspond to the position within the grid, and the batch\n dimension combines both the position within a spatial block and the original\n batch position. Prior to division into blocks, the spatial dimensions of the\n input are optionally zero padded according to `paddings`. See below for a\n precise description.\n\n This operation is equivalent to the following steps:\n\n 1. Zero-pad the start and end of dimensions `[1, ..., M]` of the\n input according to `paddings` to produce `padded` of shape `padded_shape`.\n\n 2. Reshape `padded` to `reshaped_padded` of shape:\n\n [batch] +\n [padded_shape[1] / block_shape[0],\n block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1],\n block_shape[M-1]] +\n remaining_shape\n\n 3. Permute dimensions of `reshaped_padded` to produce\n `permuted_reshaped_padded` of shape:\n\n block_shape +\n [batch] +\n [padded_shape[1] / block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1]] +\n remaining_shape\n\n 4. Reshape `permuted_reshaped_padded` to flatten `block_shape` into the batch\n dimension, producing an output tensor of shape:\n\n [batch * prod(block_shape)] +\n [padded_shape[1] / block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1]] +\n remaining_shape\n\n Some examples:\n\n (1) For the following input of shape `[1, 2, 2, 1]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1], [2]], [[3], [4]]]]\n ```\n\n The output tensor has shape `[4, 1, 1, 1]` and value:\n\n ```\n [[[[1]]], [[[2]]], [[[3]]], [[[4]]]]\n ```\n\n (2) For the following input of shape `[1, 2, 2, 3]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1, 2, 3], [4, 5, 6]],\n [[7, 8, 9], [10, 11, 12]]]]\n ```\n\n The output tensor has shape `[4, 1, 1, 3]` and value:\n\n ```\n [[[[1, 2, 3]]], [[[4, 5, 6]]], [[[7, 8, 9]]], [[[10, 11, 12]]]]\n ```\n\n (3) For the following input of shape `[1, 4, 4, 1]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1], [2], [3], [4]],\n [[5], [6], [7], [8]],\n [[9], [10], [11], [12]],\n [[13], [14], [15], [16]]]]\n ```\n\n The output tensor has shape `[4, 2, 2, 1]` and value:\n\n ```\n x = [[[[1], [3]], [[9], [11]]],\n [[[2], [4]], [[10], [12]]],\n [[[5], [7]], [[13], [15]]],\n [[[6], [8]], [[14], [16]]]]\n ```\n\n (4) For the following input of shape `[2, 2, 4, 1]`, block_shape = `[2, 2]`, and\n paddings = `[[0, 0], [2, 0]]`:\n\n ```\n x = [[[[1], [2], [3], [4]],\n [[5], [6], [7], [8]]],\n [[[9], [10], [11], [12]],\n [[13], [14], [15], [16]]]]\n ```\n\n The output tensor has shape `[8, 1, 3, 1]` and value:\n\n ```\n x = [[[[0], [1], [3]]], [[[0], [9], [11]]],\n [[[0], [2], [4]]], [[[0], [10], [12]]],\n [[[0], [5], [7]]], [[[0], [13], [15]]],\n [[[0], [6], [8]]], [[[0], [14], [16]]]]\n ```\n\n Among others, this operation is useful for reducing atrous convolution into\n regular convolution.\n\n Args:\n input: A `Tensor`.\n N-D with shape `input_shape = [batch] + spatial_shape + remaining_shape`,\n where spatial_shape has `M` dimensions.\n block_shape: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n 1-D with shape `[M]`, all values must be >= 1.\n paddings: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n 2-D with shape `[M, 2]`, all values must be >= 0.\n `paddings[i] = [pad_start, pad_end]` specifies the padding for input dimension\n `i + 1`, which corresponds to spatial dimension `i`. It is required that\n `block_shape[i]` divides `input_shape[i + 1] + pad_start + pad_end`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `input`.\n '},{name:"split",path:"./tf/split.md",desc:"Splits a tensor `value` into a list of sub tensors.",type:"Functions",docs:"Splits a tensor `value` into a list of sub tensors.\n\n See also `tf.unstack`.\n\n If `num_or_size_splits` is an `int`, then it splits `value` along the\n dimension `axis` into `num_or_size_splits` smaller tensors. This requires that\n `value.shape[axis]` is divisible by `num_or_size_splits`.\n\n If `num_or_size_splits` is a 1-D Tensor (or list), then `value` is split into\n `len(num_or_size_splits)` elements. The shape of the `i`-th\n element has the same size as the `value` except along dimension `axis` where\n the size is `num_or_size_splits[i]`.\n\n For example:\n\n >>> x = tf.Variable(tf.random.uniform([5, 30], -1, 1))\n >>>\n >>> # Split `x` into 3 tensors along dimension 1\n >>> s0, s1, s2 = tf.split(x, num_or_size_splits=3, axis=1)\n >>> tf.shape(s0).numpy()\n array([ 5, 10], dtype=int32)\n >>>\n >>> # Split `x` into 3 tensors with sizes [4, 15, 11] along dimension 1\n >>> split0, split1, split2 = tf.split(x, [4, 15, 11], 1)\n >>> tf.shape(split0).numpy()\n array([5, 4], dtype=int32)\n >>> tf.shape(split1).numpy()\n array([ 5, 15], dtype=int32)\n >>> tf.shape(split2).numpy()\n array([ 5, 11], dtype=int32)\n\n Args:\n value: The `Tensor` to split.\n num_or_size_splits: Either an `int` indicating the number of splits\n along `axis` or a 1-D integer `Tensor` or Python list containing the sizes\n of each output tensor along `axis`. If an `int`, then it must evenly\n divide `value.shape[axis]`; otherwise the sum of sizes along the split\n axis must match that of the `value`.\n axis: An `int` or scalar `int32` `Tensor`. The dimension along which\n to split. Must be in the range `[-rank(value), rank(value))`. Defaults to\n 0.\n num: Optional, an `int`, used to specify the number of outputs when it\n cannot be inferred from the shape of `size_splits`.\n name: A name for the operation (optional).\n\n Returns:\n if `num_or_size_splits` is an `int` returns a list of\n `num_or_size_splits` `Tensor` objects; if `num_or_size_splits` is a 1-D\n list or 1-D `Tensor` returns `num_or_size_splits.get_shape[0]`\n `Tensor` objects resulting from splitting `value`.\n\n Raises:\n ValueError: If `num` is unspecified and cannot be inferred.\n ValueError: If `num_or_size_splits` is a scalar `Tensor`.\n "},{name:"sqrt",path:"./tf/math/sqrt.md",desc:"Computes element-wise square root of the input tensor.",type:"Functions",docs:`Computes element-wise square root of the input tensor. - - Note: This operation does not support integer types. - - >>> x = tf.constant([[4.0], [16.0]]) - >>> tf.sqrt(x) - - >>> y = tf.constant([[-4.0], [16.0]]) - >>> tf.sqrt(y) - - >>> z = tf.constant([[-1.0], [16.0]], dtype=tf.complex128) - >>> tf.sqrt(z) - - - Note: In order to support complex type, please provide an input tensor - of \`complex64\` or \`complex128\`. - - Args: - x: A \`tf.Tensor\` of type \`bfloat16\`, \`half\`, \`float32\`, \`float64\`, - \`complex64\`, \`complex128\` - name: A name for the operation (optional). - - Returns: - A \`tf.Tensor\` of same size, type and sparsity as \`x\`. - - If \`x\` is a \`SparseTensor\`, returns - \`SparseTensor(x.indices, tf.math.sqrt(x.values, ...), x.dense_shape)\``},{name:"square",path:"./tf/math/square.md",desc:"Computes square of x element-wise.",type:"Functions",docs:"Computes square of x element-wise.\n\n I.e., \\\\(y = x * x = x^2\\\\).\n\n >>> tf.math.square([-2., 0., 3.])\n \n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `int16`, `int32`, `int64`, `uint8`, `uint16`, `uint32`, `uint64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n\n If `x` is a `SparseTensor`, returns\n `SparseTensor(x.indices, tf.math.square(x.values, ...), x.dense_shape)`"},{name:"squeeze",path:"./tf/squeeze.md",desc:"Removes dimensions of size 1 from the shape of a tensor.",type:"Functions",docs:"Removes dimensions of size 1 from the shape of a tensor.\n\n Given a tensor `input`, this operation returns a tensor of the same type with\n all dimensions of size 1 removed. If you don't want to remove all size 1\n dimensions, you can remove specific size 1 dimensions by specifying\n `axis`.\n\n For example:\n\n ```python\n # 't' is a tensor of shape [1, 2, 1, 3, 1, 1]\n tf.shape(tf.squeeze(t)) # [2, 3]\n ```\n\n Or, to remove specific size 1 dimensions:\n\n ```python\n # 't' is a tensor of shape [1, 2, 1, 3, 1, 1]\n tf.shape(tf.squeeze(t, [2, 4])) # [1, 2, 3, 1]\n ```\n\n Unlike the older op `tf.compat.v1.squeeze`, this op does not accept a\n deprecated `squeeze_dims` argument.\n\n Note: if `input` is a `tf.RaggedTensor`, then this operation takes `O(N)`\n time, where `N` is the number of elements in the squeezed dimensions.\n\n Args:\n input: A `Tensor`. The `input` to squeeze.\n axis: An optional list of `ints`. Defaults to `[]`. If specified, only\n squeezes the dimensions listed. The dimension index starts at 0. It is an\n error to squeeze a dimension that is not 1. Must be in the range\n `[-rank(input), rank(input))`. Must be specified if `input` is a\n `RaggedTensor`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `input`.\n Contains the same data as `input`, but has one or more dimensions of\n size 1 removed.\n\n Raises:\n ValueError: The input cannot be converted to a tensor, or the specified\n axis cannot be squeezed.\n "},{name:"stack",path:"./tf/stack.md",desc:"Stacks a list of rank-`R` tensors into one rank-`(R+1",type:"Functions",docs:"Stacks a list of rank-`R` tensors into one rank-`(R+1)` tensor.\n\n See also `tf.concat`, `tf.tile`, `tf.repeat`.\n\n Packs the list of tensors in `values` into a tensor with rank one higher than\n each tensor in `values`, by packing them along the `axis` dimension.\n Given a list of length `N` of tensors of shape `(A, B, C)`;\n\n if `axis == 0` then the `output` tensor will have the shape `(N, A, B, C)`.\n if `axis == 1` then the `output` tensor will have the shape `(A, N, B, C)`.\n Etc.\n\n For example:\n\n >>> x = tf.constant([1, 4])\n >>> y = tf.constant([2, 5])\n >>> z = tf.constant([3, 6])\n >>> tf.stack([x, y, z])\n \n >>> tf.stack([x, y, z], axis=1)\n \n\n This is the opposite of unstack. The numpy equivalent is `np.stack`\n\n >>> np.array_equal(np.stack([x, y, z]), tf.stack([x, y, z]))\n True\n\n Args:\n values: A list of `Tensor` objects with the same shape and type.\n axis: An `int`. The axis to stack along. Defaults to the first dimension.\n Negative values wrap around, so the valid range is `[-(R+1), R+1)`.\n name: A name for this operation (optional).\n\n Returns:\n output: A stacked `Tensor` with the same type as `values`.\n\n Raises:\n ValueError: If `axis` is out of the range [-(R+1), R+1).\n "},{name:"stop_gradient",path:"./tf/stop_gradient.md",desc:"Stops gradient computation.",type:"Functions",docs:`Stops gradient computation. + `},{name:"space_to_batch",path:"./tf/space_to_batch.md",desc:"SpaceToBatch for N-D tensors of type T.",type:"Functions",docs:'SpaceToBatch for N-D tensors of type T.\n\n This operation divides "spatial" dimensions `[1, ..., M]` of the input into a\n grid of blocks of shape `block_shape`, and interleaves these blocks with the\n "batch" dimension (0) such that in the output, the spatial dimensions\n `[1, ..., M]` correspond to the position within the grid, and the batch\n dimension combines both the position within a spatial block and the original\n batch position. Prior to division into blocks, the spatial dimensions of the\n input are optionally zero padded according to `paddings`. See below for a\n precise description.\n\n This operation is equivalent to the following steps:\n\n 1. Zero-pad the start and end of dimensions `[1, ..., M]` of the\n input according to `paddings` to produce `padded` of shape `padded_shape`.\n\n 2. Reshape `padded` to `reshaped_padded` of shape:\n\n [batch] +\n [padded_shape[1] / block_shape[0],\n block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1],\n block_shape[M-1]] +\n remaining_shape\n\n 3. Permute dimensions of `reshaped_padded` to produce\n `permuted_reshaped_padded` of shape:\n\n block_shape +\n [batch] +\n [padded_shape[1] / block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1]] +\n remaining_shape\n\n 4. Reshape `permuted_reshaped_padded` to flatten `block_shape` into the batch\n dimension, producing an output tensor of shape:\n\n [batch * prod(block_shape)] +\n [padded_shape[1] / block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1]] +\n remaining_shape\n\n Some examples:\n\n (1) For the following input of shape `[1, 2, 2, 1]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1], [2]], [[3], [4]]]]\n ```\n\n The output tensor has shape `[4, 1, 1, 1]` and value:\n\n ```\n [[[[1]]], [[[2]]], [[[3]]], [[[4]]]]\n ```\n\n (2) For the following input of shape `[1, 2, 2, 3]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1, 2, 3], [4, 5, 6]],\n [[7, 8, 9], [10, 11, 12]]]]\n ```\n\n The output tensor has shape `[4, 1, 1, 3]` and value:\n\n ```\n [[[[1, 2, 3]]], [[[4, 5, 6]]], [[[7, 8, 9]]], [[[10, 11, 12]]]]\n ```\n\n (3) For the following input of shape `[1, 4, 4, 1]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1], [2], [3], [4]],\n [[5], [6], [7], [8]],\n [[9], [10], [11], [12]],\n [[13], [14], [15], [16]]]]\n ```\n\n The output tensor has shape `[4, 2, 2, 1]` and value:\n\n ```\n x = [[[[1], [3]], [[9], [11]]],\n [[[2], [4]], [[10], [12]]],\n [[[5], [7]], [[13], [15]]],\n [[[6], [8]], [[14], [16]]]]\n ```\n\n (4) For the following input of shape `[2, 2, 4, 1]`, block_shape = `[2, 2]`, and\n paddings = `[[0, 0], [2, 0]]`:\n\n ```\n x = [[[[1], [2], [3], [4]],\n [[5], [6], [7], [8]]],\n [[[9], [10], [11], [12]],\n [[13], [14], [15], [16]]]]\n ```\n\n The output tensor has shape `[8, 1, 3, 1]` and value:\n\n ```\n x = [[[[0], [1], [3]]], [[[0], [9], [11]]],\n [[[0], [2], [4]]], [[[0], [10], [12]]],\n [[[0], [5], [7]]], [[[0], [13], [15]]],\n [[[0], [6], [8]]], [[[0], [14], [16]]]]\n ```\n\n Among others, this operation is useful for reducing atrous convolution into\n regular convolution.\n\n Args:\n input: A `Tensor`.\n N-D with shape `input_shape = [batch] + spatial_shape + remaining_shape`,\n where spatial_shape has `M` dimensions.\n block_shape: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n 1-D with shape `[M]`, all values must be >= 1.\n paddings: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n 2-D with shape `[M, 2]`, all values must be >= 0.\n `paddings[i] = [pad_start, pad_end]` specifies the padding for input dimension\n `i + 1`, which corresponds to spatial dimension `i`. It is required that\n `block_shape[i]` divides `input_shape[i + 1] + pad_start + pad_end`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `input`.\n '},{name:"space_to_batch_nd",path:"./tf/space_to_batch_nd.md",desc:"SpaceToBatch for N-D tensors of type T.",type:"Functions",docs:'SpaceToBatch for N-D tensors of type T.\n\n This operation divides "spatial" dimensions `[1, ..., M]` of the input into a\n grid of blocks of shape `block_shape`, and interleaves these blocks with the\n "batch" dimension (0) such that in the output, the spatial dimensions\n `[1, ..., M]` correspond to the position within the grid, and the batch\n dimension combines both the position within a spatial block and the original\n batch position. Prior to division into blocks, the spatial dimensions of the\n input are optionally zero padded according to `paddings`. See below for a\n precise description.\n\n This operation is equivalent to the following steps:\n\n 1. Zero-pad the start and end of dimensions `[1, ..., M]` of the\n input according to `paddings` to produce `padded` of shape `padded_shape`.\n\n 2. Reshape `padded` to `reshaped_padded` of shape:\n\n [batch] +\n [padded_shape[1] / block_shape[0],\n block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1],\n block_shape[M-1]] +\n remaining_shape\n\n 3. Permute dimensions of `reshaped_padded` to produce\n `permuted_reshaped_padded` of shape:\n\n block_shape +\n [batch] +\n [padded_shape[1] / block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1]] +\n remaining_shape\n\n 4. Reshape `permuted_reshaped_padded` to flatten `block_shape` into the batch\n dimension, producing an output tensor of shape:\n\n [batch * prod(block_shape)] +\n [padded_shape[1] / block_shape[0],\n ...,\n padded_shape[M] / block_shape[M-1]] +\n remaining_shape\n\n Some examples:\n\n (1) For the following input of shape `[1, 2, 2, 1]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1], [2]], [[3], [4]]]]\n ```\n\n The output tensor has shape `[4, 1, 1, 1]` and value:\n\n ```\n [[[[1]]], [[[2]]], [[[3]]], [[[4]]]]\n ```\n\n (2) For the following input of shape `[1, 2, 2, 3]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1, 2, 3], [4, 5, 6]],\n [[7, 8, 9], [10, 11, 12]]]]\n ```\n\n The output tensor has shape `[4, 1, 1, 3]` and value:\n\n ```\n [[[[1, 2, 3]]], [[[4, 5, 6]]], [[[7, 8, 9]]], [[[10, 11, 12]]]]\n ```\n\n (3) For the following input of shape `[1, 4, 4, 1]`, `block_shape = [2, 2]`, and\n `paddings = [[0, 0], [0, 0]]`:\n\n ```\n x = [[[[1], [2], [3], [4]],\n [[5], [6], [7], [8]],\n [[9], [10], [11], [12]],\n [[13], [14], [15], [16]]]]\n ```\n\n The output tensor has shape `[4, 2, 2, 1]` and value:\n\n ```\n x = [[[[1], [3]], [[9], [11]]],\n [[[2], [4]], [[10], [12]]],\n [[[5], [7]], [[13], [15]]],\n [[[6], [8]], [[14], [16]]]]\n ```\n\n (4) For the following input of shape `[2, 2, 4, 1]`, block_shape = `[2, 2]`, and\n paddings = `[[0, 0], [2, 0]]`:\n\n ```\n x = [[[[1], [2], [3], [4]],\n [[5], [6], [7], [8]]],\n [[[9], [10], [11], [12]],\n [[13], [14], [15], [16]]]]\n ```\n\n The output tensor has shape `[8, 1, 3, 1]` and value:\n\n ```\n x = [[[[0], [1], [3]]], [[[0], [9], [11]]],\n [[[0], [2], [4]]], [[[0], [10], [12]]],\n [[[0], [5], [7]]], [[[0], [13], [15]]],\n [[[0], [6], [8]]], [[[0], [14], [16]]]]\n ```\n\n Among others, this operation is useful for reducing atrous convolution into\n regular convolution.\n\n Args:\n input: A `Tensor`.\n N-D with shape `input_shape = [batch] + spatial_shape + remaining_shape`,\n where spatial_shape has `M` dimensions.\n block_shape: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n 1-D with shape `[M]`, all values must be >= 1.\n paddings: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n 2-D with shape `[M, 2]`, all values must be >= 0.\n `paddings[i] = [pad_start, pad_end]` specifies the padding for input dimension\n `i + 1`, which corresponds to spatial dimension `i`. It is required that\n `block_shape[i]` divides `input_shape[i + 1] + pad_start + pad_end`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `input`.\n '},{name:"split",path:"./tf/split.md",desc:"Splits a tensor `value` into a list of sub tensors.",type:"Functions",docs:"Splits a tensor `value` into a list of sub tensors.\n\n See also `tf.unstack`.\n\n If `num_or_size_splits` is an `int`, then it splits `value` along the\n dimension `axis` into `num_or_size_splits` smaller tensors. This requires that\n `value.shape[axis]` is divisible by `num_or_size_splits`.\n\n If `num_or_size_splits` is a 1-D Tensor (or list), then `value` is split into\n `len(num_or_size_splits)` elements. The shape of the `i`-th\n element has the same size as the `value` except along dimension `axis` where\n the size is `num_or_size_splits[i]`.\n\n For example:\n\n ```>>> x = tf.Variable(tf.random.uniform([5, 30], -1, 1))\n >>>\n >>> # Split `x` into 3 tensors along dimension 1\n >>> s0, s1, s2 = tf.split(x, num_or_size_splits=3, axis=1)\n >>> tf.shape(s0).numpy()\n array([ 5, 10], dtype=int32)\n >>>\n >>> # Split `x` into 3 tensors with sizes [4, 15, 11] along dimension 1\n >>> split0, split1, split2 = tf.split(x, [4, 15, 11], 1)\n >>> tf.shape(split0).numpy()\n array([5, 4], dtype=int32)\n >>> tf.shape(split1).numpy()\n array([ 5, 15], dtype=int32)\n >>> tf.shape(split2).numpy()\n array([ 5, 11], dtype=int32)\n\n```\n Args:\n value: The `Tensor` to split.\n num_or_size_splits: Either an `int` indicating the number of splits\n along `axis` or a 1-D integer `Tensor` or Python list containing the sizes\n of each output tensor along `axis`. If an `int`, then it must evenly\n divide `value.shape[axis]`; otherwise the sum of sizes along the split\n axis must match that of the `value`.\n axis: An `int` or scalar `int32` `Tensor`. The dimension along which\n to split. Must be in the range `[-rank(value), rank(value))`. Defaults to\n 0.\n num: Optional, an `int`, used to specify the number of outputs when it\n cannot be inferred from the shape of `size_splits`.\n name: A name for the operation (optional).\n\n Returns:\n if `num_or_size_splits` is an `int` returns a list of\n `num_or_size_splits` `Tensor` objects; if `num_or_size_splits` is a 1-D\n list or 1-D `Tensor` returns `num_or_size_splits.get_shape[0]`\n `Tensor` objects resulting from splitting `value`.\n\n Raises:\n ValueError: If `num` is unspecified and cannot be inferred.\n ValueError: If `num_or_size_splits` is a scalar `Tensor`.\n "},{name:"sqrt",path:"./tf/math/sqrt.md",desc:"Computes element-wise square root of the input tensor.",type:"Functions",docs:"Computes element-wise square root of the input tensor.\n\n Note: This operation does not support integer types.\n\n ```>>> x = tf.constant([[4.0], [16.0]])\n >>> tf.sqrt(x)\n \n >>> y = tf.constant([[-4.0], [16.0]])\n >>> tf.sqrt(y)\n \n >>> z = tf.constant([[-1.0], [16.0]], dtype=tf.complex128)\n >>> tf.sqrt(z)\n \n\n```\n Note: In order to support complex type, please provide an input tensor\n of `complex64` or `complex128`.\n\n Args:\n x: A `tf.Tensor` of type `bfloat16`, `half`, `float32`, `float64`,\n `complex64`, `complex128`\n name: A name for the operation (optional).\n\n Returns:\n A `tf.Tensor` of same size, type and sparsity as `x`.\n\n If `x` is a `SparseTensor`, returns\n `SparseTensor(x.indices, tf.math.sqrt(x.values, ...), x.dense_shape)`"},{name:"square",path:"./tf/math/square.md",desc:"Computes square of x element-wise.",type:"Functions",docs:"Computes square of x element-wise.\n\n I.e., \\\\(y = x * x = x^2\\\\).\n\n ```>>> tf.math.square([-2., 0., 3.])\n \n\n```\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `int16`, `int32`, `int64`, `uint8`, `uint16`, `uint32`, `uint64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n\n If `x` is a `SparseTensor`, returns\n `SparseTensor(x.indices, tf.math.square(x.values, ...), x.dense_shape)`"},{name:"squeeze",path:"./tf/squeeze.md",desc:"Removes dimensions of size 1 from the shape of a tensor.",type:"Functions",docs:"Removes dimensions of size 1 from the shape of a tensor.\n\n Given a tensor `input`, this operation returns a tensor of the same type with\n all dimensions of size 1 removed. If you don't want to remove all size 1\n dimensions, you can remove specific size 1 dimensions by specifying\n `axis`.\n\n For example:\n\n ```python\n # 't' is a tensor of shape [1, 2, 1, 3, 1, 1]\n tf.shape(tf.squeeze(t)) # [2, 3]\n ```\n\n Or, to remove specific size 1 dimensions:\n\n ```python\n # 't' is a tensor of shape [1, 2, 1, 3, 1, 1]\n tf.shape(tf.squeeze(t, [2, 4])) # [1, 2, 3, 1]\n ```\n\n Unlike the older op `tf.compat.v1.squeeze`, this op does not accept a\n deprecated `squeeze_dims` argument.\n\n Note: if `input` is a `tf.RaggedTensor`, then this operation takes `O(N)`\n time, where `N` is the number of elements in the squeezed dimensions.\n\n Args:\n input: A `Tensor`. The `input` to squeeze.\n axis: An optional list of `ints`. Defaults to `[]`. If specified, only\n squeezes the dimensions listed. The dimension index starts at 0. It is an\n error to squeeze a dimension that is not 1. Must be in the range\n `[-rank(input), rank(input))`. Must be specified if `input` is a\n `RaggedTensor`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `input`.\n Contains the same data as `input`, but has one or more dimensions of\n size 1 removed.\n\n Raises:\n ValueError: The input cannot be converted to a tensor, or the specified\n axis cannot be squeezed.\n "},{name:"stack",path:"./tf/stack.md",desc:"Stacks a list of rank-`R` tensors into one rank-`(R+1",type:"Functions",docs:"Stacks a list of rank-`R` tensors into one rank-`(R+1)` tensor.\n\n See also `tf.concat`, `tf.tile`, `tf.repeat`.\n\n Packs the list of tensors in `values` into a tensor with rank one higher than\n each tensor in `values`, by packing them along the `axis` dimension.\n Given a list of length `N` of tensors of shape `(A, B, C)`;\n\n if `axis == 0` then the `output` tensor will have the shape `(N, A, B, C)`.\n if `axis == 1` then the `output` tensor will have the shape `(A, N, B, C)`.\n Etc.\n\n For example:\n\n ```>>> x = tf.constant([1, 4])\n >>> y = tf.constant([2, 5])\n >>> z = tf.constant([3, 6])\n >>> tf.stack([x, y, z])\n \n >>> tf.stack([x, y, z], axis=1)\n \n\n```\n This is the opposite of unstack. The numpy equivalent is `np.stack`\n\n ```>>> np.array_equal(np.stack([x, y, z]), tf.stack([x, y, z]))\n True\n\n```\n Args:\n values: A list of `Tensor` objects with the same shape and type.\n axis: An `int`. The axis to stack along. Defaults to the first dimension.\n Negative values wrap around, so the valid range is `[-(R+1), R+1)`.\n name: A name for this operation (optional).\n\n Returns:\n output: A stacked `Tensor` with the same type as `values`.\n\n Raises:\n ValueError: If `axis` is out of the range [-(R+1), R+1).\n "},{name:"stop_gradient",path:"./tf/stop_gradient.md",desc:"Stops gradient computation.",type:"Functions",docs:`Stops gradient computation. When executed in a graph, this op outputs its input tensor as-is. @@ -6796,7 +5909,7 @@ Examples: Subtract operation between an array and a scalar: - >>> x = [1, 2, 3, 4, 5] + \`\`\`>>> x = [1, 2, 3, 4, 5] >>> y = 1 >>> tf.subtract(x, y) @@ -6804,21 +5917,24 @@ Examples: +\`\`\` Note that binary \`-\` operator can be used instead: - >>> x = tf.convert_to_tensor([1, 2, 3, 4, 5]) + \`\`\`>>> x = tf.convert_to_tensor([1, 2, 3, 4, 5]) >>> y = tf.convert_to_tensor(1) >>> x - y +\`\`\` Subtract operation between an array and a tensor of same shape: - >>> x = [1, 2, 3, 4, 5] + \`\`\`>>> x = [1, 2, 3, 4, 5] >>> y = tf.constant([5, 4, 3, 2, 1]) >>> tf.subtract(y, x) +\`\`\` **Warning**: If one of the inputs (\`x\` or \`y\`) is a tensor and the other is a non-tensor, the non-tensor input will adopt (or get casted to) the data type of the tensor input. This can potentially cause unwanted overflow or underflow @@ -6826,11 +5942,12 @@ Examples: For example, - >>> x = tf.constant([1, 2], dtype=tf.int8) + \`\`\`>>> x = tf.constant([1, 2], dtype=tf.int8) >>> y = [2**8 + 1, 2**8 + 2] >>> tf.subtract(x, y) +\`\`\` When subtracting two input values of different shapes, \`tf.subtract\` follows the [general broadcasting rules](https://numpy.org/doc/stable/user/basics.broadcasting.html#general-broadcasting-rules) . The two input array shapes are compared element-wise. Starting with the @@ -6839,7 +5956,7 @@ Examples: For example, - >>> x = np.ones(6).reshape(2, 3, 1) + \`\`\`>>> x = np.ones(6).reshape(2, 3, 1) >>> y = np.ones(6).reshape(2, 1, 3) >>> tf.subtract(x, y) +\`\`\` Example with inputs of different dimensions: - >>> x = np.ones(6).reshape(2, 3, 1) + \`\`\`>>> x = np.ones(6).reshape(2, 3, 1) >>> y = np.ones(6).reshape(1, 6) >>> tf.subtract(x, y) +\`\`\` Args: x: A \`Tensor\`. Must be one of the following types: \`bfloat16\`, \`half\`, \`float32\`, \`float64\`, \`uint8\`, \`int8\`, \`uint16\`, \`int16\`, \`int32\`, \`int64\`, \`complex64\`, \`complex128\`, \`uint32\`, \`uint64\`. y: A \`Tensor\`. Must have the same type as \`x\`. @@ -6870,7 +5989,7 @@ Examples: Returns: A \`Tensor\`. Has the same type as \`x\`. - `},{name:"switch_case",path:"./tf/switch_case.md",desc:"Create a switch/case operation, i.e. an integer-indexed conditional.",type:"Functions",docs:"Create a switch/case operation, i.e. an integer-indexed conditional.\n\n See also `tf.case`.\n\n This op can be substantially more efficient than `tf.case` when exactly one\n branch will be selected. `tf.switch_case` is more like a C++ switch/case\n statement than `tf.case`, which is more like an if/elif/elif/else chain.\n\n The `branch_fns` parameter is either a dict from `int` to callables, or list\n of (`int`, callable) pairs, or simply a list of callables (in which case the\n index is implicitly the key). The `branch_index` `Tensor` is used to select an\n element in `branch_fns` with matching `int` key, falling back to `default`\n if none match, or `max(keys)` if no `default` is provided. The keys must form\n a contiguous set from `0` to `len(branch_fns) - 1`.\n\n `tf.switch_case` supports nested structures as implemented in `tf.nest`. All\n callables must return the same (possibly nested) value structure of lists,\n tuples, and/or named tuples.\n\n **Example:**\n\n Pseudocode:\n\n ```c++\n switch (branch_index) { // c-style switch\n case 0: return 17;\n case 1: return 31;\n default: return -1;\n }\n ```\n or\n ```python\n branches = {0: lambda: 17, 1: lambda: 31}\n branches.get(branch_index, lambda: -1)()\n ```\n\n Expressions:\n\n ```python\n def f1(): return tf.constant(17)\n def f2(): return tf.constant(31)\n def f3(): return tf.constant(-1)\n r = tf.switch_case(branch_index, branch_fns={0: f1, 1: f2}, default=f3)\n # Equivalent: tf.switch_case(branch_index, branch_fns={0: f1, 1: f2, 2: f3})\n ```\n\n Args:\n branch_index: An int Tensor specifying which of `branch_fns` should be\n executed.\n branch_fns: A `dict` mapping `int`s to callables, or a `list` of\n (`int`, callable) pairs, or simply a list of callables (in which case the\n index serves as the key). Each callable must return a matching structure\n of tensors.\n default: Optional callable that returns a structure of tensors.\n name: A name for this operation (optional).\n\n Returns:\n The tensors returned by the callable identified by `branch_index`, or those\n returned by `default` if no key matches and `default` was provided, or those\n returned by the max-keyed `branch_fn` if no `default` is provided.\n\n Raises:\n TypeError: If `branch_fns` is not a list/dictionary.\n TypeError: If `branch_fns` is a list but does not contain 2-tuples or\n callables.\n TypeError: If `fns[i]` is not callable for any i, or `default` is not\n callable.\n "},{name:"tan",path:"./tf/math/tan.md",desc:"Computes tan of x element-wise.",type:"Functions",docs:'Computes tan of x element-wise.\n\n Given an input tensor, this function computes tangent of every\n element in the tensor. Input range is `(-inf, inf)` and\n output range is `(-inf, inf)`. If input lies outside the boundary, `nan`\n is returned.\n\n ```python\n x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10000, float("inf")])\n tf.math.tan(x) ==> [nan 0.45231566 -0.5463025 1.5574077 2.572152 -1.7925274 0.32097113 nan]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `int16`, `int32`, `int64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"tanh",path:"./tf/math/tanh.md",desc:"Computes hyperbolic tangent of `x` element-wise.",type:"Functions",docs:'Computes hyperbolic tangent of `x` element-wise.\n\n Given an input tensor, this function computes hyperbolic tangent of every\n element in the tensor. Input range is `[-inf, inf]` and\n output range is `[-1,1]`.\n\n >>> x = tf.constant([-float("inf"), -5, -0.5, 1, 1.2, 2, 3, float("inf")])\n >>> tf.math.tanh(x)\n \n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n\n If `x` is a `SparseTensor`, returns\n `SparseTensor(x.indices, tf.math.tanh(x.values, ...), x.dense_shape)`'},{name:"tensor_scatter_nd_add",path:"./tf/tensor_scatter_nd_add.md",desc:"Adds sparse `updates` to an existing tensor according to `indices`.",type:"Functions",docs:`Adds sparse \`updates\` to an existing tensor according to \`indices\`. + `},{name:"switch_case",path:"./tf/switch_case.md",desc:"Create a switch/case operation, i.e. an integer-indexed conditional.",type:"Functions",docs:"Create a switch/case operation, i.e. an integer-indexed conditional.\n\n See also `tf.case`.\n\n This op can be substantially more efficient than `tf.case` when exactly one\n branch will be selected. `tf.switch_case` is more like a C++ switch/case\n statement than `tf.case`, which is more like an if/elif/elif/else chain.\n\n The `branch_fns` parameter is either a dict from `int` to callables, or list\n of (`int`, callable) pairs, or simply a list of callables (in which case the\n index is implicitly the key). The `branch_index` `Tensor` is used to select an\n element in `branch_fns` with matching `int` key, falling back to `default`\n if none match, or `max(keys)` if no `default` is provided. The keys must form\n a contiguous set from `0` to `len(branch_fns) - 1`.\n\n `tf.switch_case` supports nested structures as implemented in `tf.nest`. All\n callables must return the same (possibly nested) value structure of lists,\n tuples, and/or named tuples.\n\n **Example:**\n\n Pseudocode:\n\n ```c++\n switch (branch_index) { // c-style switch\n case 0: return 17;\n case 1: return 31;\n default: return -1;\n }\n ```\n or\n ```python\n branches = {0: lambda: 17, 1: lambda: 31}\n branches.get(branch_index, lambda: -1)()\n ```\n\n Expressions:\n\n ```python\n def f1(): return tf.constant(17)\n def f2(): return tf.constant(31)\n def f3(): return tf.constant(-1)\n r = tf.switch_case(branch_index, branch_fns={0: f1, 1: f2}, default=f3)\n # Equivalent: tf.switch_case(branch_index, branch_fns={0: f1, 1: f2, 2: f3})\n ```\n\n Args:\n branch_index: An int Tensor specifying which of `branch_fns` should be\n executed.\n branch_fns: A `dict` mapping `int`s to callables, or a `list` of\n (`int`, callable) pairs, or simply a list of callables (in which case the\n index serves as the key). Each callable must return a matching structure\n of tensors.\n default: Optional callable that returns a structure of tensors.\n name: A name for this operation (optional).\n\n Returns:\n The tensors returned by the callable identified by `branch_index`, or those\n returned by `default` if no key matches and `default` was provided, or those\n returned by the max-keyed `branch_fn` if no `default` is provided.\n\n Raises:\n TypeError: If `branch_fns` is not a list/dictionary.\n TypeError: If `branch_fns` is a list but does not contain 2-tuples or\n callables.\n TypeError: If `fns[i]` is not callable for any i, or `default` is not\n callable.\n "},{name:"tan",path:"./tf/math/tan.md",desc:"Computes tan of x element-wise.",type:"Functions",docs:'Computes tan of x element-wise.\n\n Given an input tensor, this function computes tangent of every\n element in the tensor. Input range is `(-inf, inf)` and\n output range is `(-inf, inf)`. If input lies outside the boundary, `nan`\n is returned.\n\n ```python\n x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10000, float("inf")])\n tf.math.tan(x) ==> [nan 0.45231566 -0.5463025 1.5574077 2.572152 -1.7925274 0.32097113 nan]\n ```\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `int8`, `int16`, `int32`, `int64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n '},{name:"tanh",path:"./tf/math/tanh.md",desc:"Computes hyperbolic tangent of `x` element-wise.",type:"Functions",docs:'Computes hyperbolic tangent of `x` element-wise.\n\n Given an input tensor, this function computes hyperbolic tangent of every\n element in the tensor. Input range is `[-inf, inf]` and\n output range is `[-1,1]`.\n\n ```>>> x = tf.constant([-float("inf"), -5, -0.5, 1, 1.2, 2, 3, float("inf")])\n >>> tf.math.tanh(x)\n \n\n```\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n\n If `x` is a `SparseTensor`, returns\n `SparseTensor(x.indices, tf.math.tanh(x.values, ...), x.dense_shape)`'},{name:"tensor_scatter_nd_add",path:"./tf/tensor_scatter_nd_add.md",desc:"Adds sparse `updates` to an existing tensor according to `indices`.",type:"Functions",docs:`Adds sparse \`updates\` to an existing tensor according to \`indices\`. This operation creates a new tensor by adding sparse \`updates\` to the passed in \`tensor\`. @@ -6901,7 +6020,7 @@ Examples: In Python, this scatter add operation would look like this: - >>> indices = tf.constant([[4], [3], [1], [7]]) + \`\`\`>>> indices = tf.constant([[4], [3], [1], [7]]) >>> updates = tf.constant([9, 10, 11, 12]) >>> tensor = tf.ones([8], dtype=tf.int32) >>> updated = tf.tensor_scatter_nd_add(tensor, indices, updates) @@ -6909,13 +6028,14 @@ Examples: +\`\`\` We can also, insert entire slices of a higher rank tensor all at once. For example, if we wanted to insert two slices in the first dimension of a rank-3 tensor with two matrices of new values. In Python, this scatter add operation would look like this: - >>> indices = tf.constant([[0], [2]]) + \`\`\`>>> indices = tf.constant([[0], [2]]) >>> updates = tf.constant([[[5, 5, 5, 5], [6, 6, 6, 6], ... [7, 7, 7, 7], [8, 8, 8, 8]], ... [[5, 5, 5, 5], [6, 6, 6, 6], @@ -6929,6 +6049,7 @@ Examples: [[6, 6, 6, 6], [7, 7, 7, 7], [8, 8, 8, 8], [9, 9, 9, 9]], [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]], dtype=int32)> +\`\`\` Note: on CPU, if an out of bound index is found, an error is returned. On GPU, if an out of bound index is found, the index is ignored. @@ -6942,30 +6063,7 @@ Examples: Returns: A \`Tensor\`. Has the same type as \`tensor\`. - `},{name:"tensor_scatter_nd_max",path:"./tf/tensor_scatter_nd_max.md",desc:"Apply a sparse update to a tensor taking the element-wise maximum.",type:"Functions",docs:`Apply a sparse update to a tensor taking the element-wise maximum. - - Returns a new tensor copied from \`tensor\` whose values are element-wise maximum between - tensor and updates according to the indices. - - >>> tensor = [0, 0, 0, 0, 0, 0, 0, 0] - >>> indices = [[1], [4], [5]] - >>> updates = [1, -1, 1] - >>> tf.tensor_scatter_nd_max(tensor, indices, updates).numpy() - array([0, 1, 0, 0, 0, 1, 0, 0], dtype=int32) - - Refer to \`tf.tensor_scatter_nd_update\` for more details. - - Args: - tensor: A \`Tensor\`. Tensor to update. - indices: A \`Tensor\`. Must be one of the following types: \`int32\`, \`int64\`. - Index tensor. - updates: A \`Tensor\`. Must have the same type as \`tensor\`. - Updates to scatter into output. - name: A name for the operation (optional). - - Returns: - A \`Tensor\`. Has the same type as \`tensor\`. - `},{name:"tensor_scatter_nd_min",path:"./tf/tensor_scatter_nd_min.md",desc:"",type:"Functions",docs:"TODO: add doc.\n\n Args:\n tensor: A `Tensor`. Tensor to update.\n indices: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n Index tensor.\n updates: A `Tensor`. Must have the same type as `tensor`.\n Updates to scatter into output.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `tensor`.\n "},{name:"tensor_scatter_nd_sub",path:"./tf/tensor_scatter_nd_sub.md",desc:"Subtracts sparse `updates` from an existing tensor according to `indices`.",type:"Functions",docs:`Subtracts sparse \`updates\` from an existing tensor according to \`indices\`. + `},{name:"tensor_scatter_nd_max",path:"./tf/tensor_scatter_nd_max.md",desc:"Apply a sparse update to a tensor taking the element-wise maximum.",type:"Functions",docs:"Apply a sparse update to a tensor taking the element-wise maximum.\n\n Returns a new tensor copied from `tensor` whose values are element-wise maximum between\n tensor and updates according to the indices.\n\n ```>>> tensor = [0, 0, 0, 0, 0, 0, 0, 0] \n >>> indices = [[1], [4], [5]]\n >>> updates = [1, -1, 1]\n >>> tf.tensor_scatter_nd_max(tensor, indices, updates).numpy()\n array([0, 1, 0, 0, 0, 1, 0, 0], dtype=int32)\n\n```\n Refer to `tf.tensor_scatter_nd_update` for more details.\n\n Args:\n tensor: A `Tensor`. Tensor to update.\n indices: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n Index tensor.\n updates: A `Tensor`. Must have the same type as `tensor`.\n Updates to scatter into output.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `tensor`.\n "},{name:"tensor_scatter_nd_min",path:"./tf/tensor_scatter_nd_min.md",desc:"",type:"Functions",docs:"TODO: add doc.\n\n Args:\n tensor: A `Tensor`. Tensor to update.\n indices: A `Tensor`. Must be one of the following types: `int32`, `int64`.\n Index tensor.\n updates: A `Tensor`. Must have the same type as `tensor`.\n Updates to scatter into output.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `tensor`.\n "},{name:"tensor_scatter_nd_sub",path:"./tf/tensor_scatter_nd_sub.md",desc:"Subtracts sparse `updates` from an existing tensor according to `indices`.",type:"Functions",docs:`Subtracts sparse \`updates\` from an existing tensor according to \`indices\`. This operation creates a new tensor by subtracting sparse \`updates\` from the passed in \`tensor\`. @@ -7116,12 +6214,13 @@ Examples: This scatter operation would look like this: - >>> tensor = [0, 0, 0, 0, 0, 0, 0, 0] # tf.rank(tensor) == 1 + \`\`\`>>> tensor = [0, 0, 0, 0, 0, 0, 0, 0] # tf.rank(tensor) == 1 >>> indices = [[1], [3], [4], [7]] # num_updates == 4, index_depth == 1 >>> updates = [9, 10, 11, 12] # num_updates == 4 >>> print(tf.tensor_scatter_nd_update(tensor, indices, updates)) tf.Tensor([ 0 9 0 10 11 0 0 12], shape=(8,), dtype=int32) +\`\`\` The length (first axis) of \`updates\` must equal the length of the \`indices\`: \`num_updates\`. This is the number of updates being inserted. Each scalar update is inserted into \`tensor\` at the indexed location. @@ -7129,7 +6228,7 @@ Examples: For a higher rank input \`tensor\` scalar updates can be inserted by using an \`index_depth\` that matches \`tf.rank(tensor)\`: - >>> tensor = [[1, 1], [1, 1], [1, 1]] # tf.rank(tensor) == 2 + \`\`\`>>> tensor = [[1, 1], [1, 1], [1, 1]] # tf.rank(tensor) == 2 >>> indices = [[0, 1], [2, 0]] # num_updates == 2, index_depth == 2 >>> updates = [5, 10] # num_updates == 2 >>> print(tf.tensor_scatter_nd_update(tensor, indices, updates)) @@ -7138,6 +6237,7 @@ Examples: [ 1 1] [10 1]], shape=(3, 2), dtype=int32) +\`\`\` ### Slice updates When the input \`tensor\` has more than one axis scatter can be used to update @@ -7162,28 +6262,32 @@ Examples: For example, to update rows of a \`(6, 3)\` \`tensor\`: - >>> tensor = tf.zeros([6, 3], dtype=tf.int32) + \`\`\`>>> tensor = tf.zeros([6, 3], dtype=tf.int32) +\`\`\` Use an index depth of one. - >>> indices = tf.constant([[2], [4]]) # num_updates == 2, index_depth == 1 + \`\`\`>>> indices = tf.constant([[2], [4]]) # num_updates == 2, index_depth == 1 >>> num_updates, index_depth = indices.shape.as_list() +\`\`\` The \`outer_shape\` is \`6\`, the inner shape is \`3\`: - >>> outer_shape = tensor.shape[:index_depth] + \`\`\`>>> outer_shape = tensor.shape[:index_depth] >>> inner_shape = tensor.shape[index_depth:] +\`\`\` 2 rows are being indexed so 2 \`updates\` must be supplied. Each update must be shaped to match the \`inner_shape\`. - >>> # num_updates == 2, inner_shape==3 + \`\`\`>>> # num_updates == 2, inner_shape==3 >>> updates = tf.constant([[1, 2, 3], ... [4, 5, 6]]) +\`\`\` Altogether this gives: - >>> tf.tensor_scatter_nd_update(tensor, indices, updates).numpy() + \`\`\`>>> tf.tensor_scatter_nd_update(tensor, indices, updates).numpy() array([[0, 0, 0], [0, 0, 0], [1, 2, 3], @@ -7191,6 +6295,7 @@ Examples: [4, 5, 6], [0, 0, 0]], dtype=int32) +\`\`\` #### More slice update examples A tensor representing a batch of uniformly sized video clips naturally has 5 @@ -7198,9 +6303,10 @@ Examples: For example: - >>> batch_size, time, width, height, channels = 13,11,7,5,3 + \`\`\`>>> batch_size, time, width, height, channels = 13,11,7,5,3 >>> video_batch = tf.zeros([batch_size, time, width, height, channels]) +\`\`\` To replace a selection of video clips: * Use an \`index_depth\` of 1 (indexing the \`outer_shape\`: \`[batch_size]\`) * Provide updates each with a shape matching the \`inner_shape\`: @@ -7208,10 +6314,11 @@ Examples: To replace the first two clips with ones: - >>> indices = [[0],[1]] + \`\`\`>>> indices = [[0],[1]] >>> new_clips = tf.ones([2, time, width, height, channels]) >>> tf.tensor_scatter_nd_update(video_batch, indices, new_clips) +\`\`\` To replace a selection of frames in the videos: * \`indices\` must have an \`index_depth\` of 2 for the \`outer_shape\`: @@ -7221,12 +6328,13 @@ Examples: To replace the first frame of the first three video clips: - >>> indices = [[0, 0], [1, 0], [2, 0]] # num_updates=3, index_depth=2 + \`\`\`>>> indices = [[0, 0], [1, 0], [2, 0]] # num_updates=3, index_depth=2 >>> new_images = tf.ones([ ... # num_updates=3, inner_shape=(width, height, channels) ... 3, width, height, channels]) >>> tf.tensor_scatter_nd_update(video_batch, indices, new_images) +\`\`\` ### Folded indices In simple cases it's convenient to think of \`indices\` and \`updates\` as @@ -7268,7 +6376,7 @@ Examples: For example, to draw an \`X\` on a \`(5,5)\` matrix start with these indices: - >>> tensor = tf.zeros([5,5]) + \`\`\`>>> tensor = tf.zeros([5,5]) >>> indices = tf.constant([ ... [[0,0], ... [1,1], @@ -7284,6 +6392,7 @@ Examples: >>> indices.shape.as_list() # batch_shape == [2, 5], index_depth == 2 [2, 5, 2] +\`\`\` Here the \`indices\` do not have a shape of \`[num_updates, index_depth]\`, but a shape of \`batch_shape+[index_depth]\`. @@ -7293,20 +6402,22 @@ Examples: * \`inner_shape\` is \`()\` - each update is scalar * \`updates.shape\` is \`batch_shape + inner_shape == (5,2) + ()\` - >>> updates = [ + \`\`\`>>> updates = [ ... [1,1,1,1,1], ... [1,1,1,1,1], ... ] +\`\`\` Putting this together gives: - >>> tf.tensor_scatter_nd_update(tensor, indices, updates).numpy() + \`\`\`>>> tf.tensor_scatter_nd_update(tensor, indices, updates).numpy() array([[1., 0., 0., 0., 1.], [0., 1., 0., 1., 0.], [0., 0., 1., 0., 0.], [0., 1., 0., 1., 0.], [1., 0., 0., 0., 1.]], dtype=float32) +\`\`\` Args: tensor: Tensor to copy/update. indices: Indices to update. @@ -7324,7 +6435,7 @@ Examples: dimension. For example, tiling \`[a b c d]\` by \`[2]\` produces \`[a b c d a b c d]\`. - >>> a = tf.constant([[1,2,3],[4,5,6]], tf.int32) + \`\`\`>>> a = tf.constant([[1,2,3],[4,5,6]], tf.int32) >>> b = tf.constant([1,2], tf.int32) >>> tf.tile(a, b) +\`\`\` Args: input: A \`Tensor\`. 1-D or higher. multiples: A \`Tensor\`. Must be one of the following types: \`int32\`, \`int64\`. @@ -7387,18 +6499,19 @@ Examples: For example: - >>> x = tf.constant([[1, 2, 3], [4, 5, 6]]) + \`\`\`>>> x = tf.constant([[1, 2, 3], [4, 5, 6]]) >>> tf.transpose(x) +\`\`\` Equivalently, you could call \`tf.transpose(x, perm=[1, 0])\`. If \`x\` is complex, setting conjugate=True gives the conjugate transpose: - >>> x = tf.constant([[1 + 1j, 2 + 2j, 3 + 3j], + \`\`\`>>> x = tf.constant([[1 + 1j, 2 + 2j, 3 + 3j], ... [4 + 4j, 5 + 5j, 6 + 6j]]) >>> tf.transpose(x, conjugate=True) +\`\`\` 'perm' is more useful for n-dimensional tensors where n > 2: - >>> x = tf.constant([[[ 1, 2, 3], + \`\`\`>>> x = tf.constant([[[ 1, 2, 3], ... [ 4, 5, 6]], ... [[ 7, 8, 9], ... [10, 11, 12]]]) +\`\`\` As above, simply calling \`tf.transpose\` will default to \`perm=[2,1,0]\`. To take the transpose of the matrices in dimension-0 (such as when you are transposing matrices where 0 is the batch dimension), you would set \`perm=[0,2,1]\`. - >>> tf.transpose(x, perm=[0, 2, 1]) + \`\`\`>>> tf.transpose(x, perm=[0, 2, 1]) +\`\`\` Note: This has a shorthand \`linalg.matrix_transpose\`): Args: @@ -7439,35 +6555,7 @@ Examples: Returns: A transposed \`Tensor\`. - `},{name:"truediv",path:"./tf/math/truediv.md",desc:"Divides x / y elementwise (using Python 3 division operator semantics",type:"Functions",docs:"Divides x / y elementwise (using Python 3 division operator semantics).\n\n NOTE: Prefer using the Tensor operator or tf.divide which obey Python\n division operator semantics.\n\n This function forces Python 3 division operator semantics where all integer\n arguments are cast to floating types first. This op is generated by normal\n `x / y` division in Python 3 and in Python 2.7 with\n `from __future__ import division`. If you want integer division that rounds\n down, use `x // y` or `tf.math.floordiv`.\n\n `x` and `y` must have the same numeric type. If the inputs are floating\n point, the output will have the same type. If the inputs are integral, the\n inputs are cast to `float32` for `int8` and `int16` and `float64` for `int32`\n and `int64` (matching the behavior of Numpy).\n\n Args:\n x: `Tensor` numerator of numeric type.\n y: `Tensor` denominator of numeric type.\n name: A name for the operation (optional).\n\n Returns:\n `x / y` evaluated in floating point.\n\n Raises:\n TypeError: If `x` and `y` have different dtypes.\n "},{name:"truncatediv",path:"./tf/truncatediv.md",desc:"Returns x / y element-wise for integer types.",type:"Functions",docs:"Returns x / y element-wise for integer types.\n\n Truncation designates that negative numbers will round fractional quantities\n toward zero. I.e. -7 / 5 = -1. This matches C semantics but it is different\n than Python semantics. See `FloorDiv` for a division function that matches\n Python Semantics.\n\n *NOTE*: `truncatediv` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `uint8`, `int8`, `uint16`, `int16`, `int32`, `uint32`, `uint64`, `int64`, `complex64`, `complex128`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"truncatemod",path:"./tf/truncatemod.md",desc:"Returns element-wise remainder of division. This emulates C semantics in that",type:"Functions",docs:"Returns element-wise remainder of division. This emulates C semantics in that\n\n the result here is consistent with a truncating divide. E.g. `truncate(x / y) *\n y + truncate_mod(x, y) = x`.\n\n *NOTE*: `truncatemod` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Args:\n x: A `Tensor`. Must be one of the following types: `int32`, `int64`, `bfloat16`, `half`, `float32`, `float64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"tuple",path:"./tf/tuple.md",desc:"Groups tensors together.",type:"Functions",docs:"Groups tensors together.\n\n The returned tensors have the same value as the input tensors, but they\n are computed only after all the input tensors have been computed.\n\n Note: *In TensorFlow 2 with eager and/or Autograph, you should not require\n this method, as ops execute in the expected order thanks to automatic control\n dependencies.* Only use `tf.tuple` when working with v1 `tf.Graph` code.\n\n See also `tf.group` and `tf.control_dependencies`.\n\n Args:\n tensors: A list of `Tensor`s or `IndexedSlices`, some entries can be `None`.\n control_inputs: List of additional ops to finish before returning.\n name: (optional) A name to use as a `name_scope` for the operation.\n\n Returns:\n Same as `tensors`.\n\n Raises:\n ValueError: If `tensors` does not contain any `Tensor` or `IndexedSlices`.\n TypeError: If `control_inputs` is not a list of `Operation` or `Tensor`\n objects.\n\n "},{name:"type_spec_from_value",path:"./tf/type_spec_from_value.md",desc:'Returns a tf.TypeSpec that represents the given `value`.',type:"Functions",docs:`Returns a \`tf.TypeSpec\` that represents the given \`value\`. - - Examples: - - >>> tf.type_spec_from_value(tf.constant([1, 2, 3])) - TensorSpec(shape=(3,), dtype=tf.int32, name=None) - >>> tf.type_spec_from_value(np.array([4.0, 5.0], np.float64)) - TensorSpec(shape=(2,), dtype=tf.float64, name=None) - >>> tf.type_spec_from_value(tf.ragged.constant([[1, 2], [3, 4, 5]])) - RaggedTensorSpec(TensorShape([2, None]), tf.int32, 1, tf.int64) - - >>> example_input = tf.ragged.constant([[1, 2], [3]]) - >>> @tf.function(input_signature=[tf.type_spec_from_value(example_input)]) - ... def f(x): - ... return tf.reduce_sum(x, axis=1) - - Args: - value: A value that can be accepted or returned by TensorFlow APIs. Accepted - types for \`value\` include \`tf.Tensor\`, any value that can be converted to - \`tf.Tensor\` using \`tf.convert_to_tensor\`, and any subclass of - \`CompositeTensor\` (such as \`tf.RaggedTensor\`). - - Returns: - A \`TypeSpec\` that is compatible with \`value\`. - - Raises: - TypeError: If a TypeSpec cannot be built for \`value\`, because its type - is not supported. - `},{name:"unique",path:"./tf/unique.md",desc:"Finds unique elements in a 1-D tensor.",type:"Functions",docs:"Finds unique elements in a 1-D tensor.\n\n This operation returns a tensor `y` containing all of the unique elements of `x`\n sorted in the same order that they occur in `x`; `x` does not need to be sorted.\n This operation also returns a tensor `idx` the same size as `x` that contains\n the index of each value of `x` in the unique output `y`. In other words:\n\n `y[idx[i]] = x[i] for i in [0, 1,...,rank(x) - 1]`\n\n Examples:\n\n ```\n # tensor 'x' is [1, 1, 2, 4, 4, 4, 7, 8, 8]\n y, idx = unique(x)\n y ==> [1, 2, 4, 7, 8]\n idx ==> [0, 0, 1, 2, 2, 2, 3, 4, 4]\n ```\n\n ```\n # tensor 'x' is [4, 5, 1, 2, 3, 3, 4, 5]\n y, idx = unique(x)\n y ==> [4, 5, 1, 2, 3]\n idx ==> [0, 1, 2, 3, 4, 4, 0, 1]\n ```\n\n Args:\n x: A `Tensor`. 1-D.\n out_idx: An optional `tf.DType` from: `tf.int32, tf.int64`. Defaults to `tf.int32`.\n name: A name for the operation (optional).\n\n Returns:\n A tuple of `Tensor` objects (y, idx).\n\n y: A `Tensor`. Has the same type as `x`.\n idx: A `Tensor` of type `out_idx`.\n "},{name:"unique_with_counts",path:"./tf/unique_with_counts.md",desc:"Finds unique elements in a 1-D tensor.",type:"Functions",docs:"Finds unique elements in a 1-D tensor.\n\n This operation returns a tensor `y` containing all of the unique elements of `x`\n sorted in the same order that they occur in `x`. This operation also returns a\n tensor `idx` the same size as `x` that contains the index of each value of `x`\n in the unique output `y`. Finally, it returns a third tensor `count` that\n contains the count of each element of `y` in `x`. In other words:\n\n `y[idx[i]] = x[i] for i in [0, 1,...,rank(x) - 1]`\n\n For example:\n\n ```\n # tensor 'x' is [1, 1, 2, 4, 4, 4, 7, 8, 8]\n y, idx, count = unique_with_counts(x)\n y ==> [1, 2, 4, 7, 8]\n idx ==> [0, 0, 1, 2, 2, 2, 3, 4, 4]\n count ==> [2, 1, 3, 1, 2]\n ```\n\n Args:\n x: A `Tensor`. 1-D.\n out_idx: An optional `tf.DType` from: `tf.int32, tf.int64`. Defaults to `tf.int32`.\n name: A name for the operation (optional).\n\n Returns:\n A tuple of `Tensor` objects (y, idx, count).\n\n y: A `Tensor`. Has the same type as `x`.\n idx: A `Tensor` of type `out_idx`.\n count: A `Tensor` of type `out_idx`.\n "},{name:"unravel_index",path:"./tf/unravel_index.md",desc:"Converts an array of flat indices into a tuple of coordinate arrays.",type:"Functions",docs:`Converts an array of flat indices into a tuple of coordinate arrays. + `},{name:"truediv",path:"./tf/math/truediv.md",desc:"Divides x / y elementwise (using Python 3 division operator semantics",type:"Functions",docs:"Divides x / y elementwise (using Python 3 division operator semantics).\n\n NOTE: Prefer using the Tensor operator or tf.divide which obey Python\n division operator semantics.\n\n This function forces Python 3 division operator semantics where all integer\n arguments are cast to floating types first. This op is generated by normal\n `x / y` division in Python 3 and in Python 2.7 with\n `from __future__ import division`. If you want integer division that rounds\n down, use `x // y` or `tf.math.floordiv`.\n\n `x` and `y` must have the same numeric type. If the inputs are floating\n point, the output will have the same type. If the inputs are integral, the\n inputs are cast to `float32` for `int8` and `int16` and `float64` for `int32`\n and `int64` (matching the behavior of Numpy).\n\n Args:\n x: `Tensor` numerator of numeric type.\n y: `Tensor` denominator of numeric type.\n name: A name for the operation (optional).\n\n Returns:\n `x / y` evaluated in floating point.\n\n Raises:\n TypeError: If `x` and `y` have different dtypes.\n "},{name:"truncatediv",path:"./tf/truncatediv.md",desc:"Returns x / y element-wise for integer types.",type:"Functions",docs:"Returns x / y element-wise for integer types.\n\n Truncation designates that negative numbers will round fractional quantities\n toward zero. I.e. -7 / 5 = -1. This matches C semantics but it is different\n than Python semantics. See `FloorDiv` for a division function that matches\n Python Semantics.\n\n *NOTE*: `truncatediv` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Args:\n x: A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`, `uint8`, `int8`, `uint16`, `int16`, `int32`, `uint32`, `uint64`, `int64`, `complex64`, `complex128`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"truncatemod",path:"./tf/truncatemod.md",desc:"Returns element-wise remainder of division. This emulates C semantics in that",type:"Functions",docs:"Returns element-wise remainder of division. This emulates C semantics in that\n\n the result here is consistent with a truncating divide. E.g. `truncate(x / y) *\n y + truncate_mod(x, y) = x`.\n\n *NOTE*: `truncatemod` supports broadcasting. More about broadcasting\n [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n Args:\n x: A `Tensor`. Must be one of the following types: `int32`, `int64`, `bfloat16`, `half`, `float32`, `float64`.\n y: A `Tensor`. Must have the same type as `x`.\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor`. Has the same type as `x`.\n "},{name:"tuple",path:"./tf/tuple.md",desc:"Groups tensors together.",type:"Functions",docs:"Groups tensors together.\n\n The returned tensors have the same value as the input tensors, but they\n are computed only after all the input tensors have been computed.\n\n Note: *In TensorFlow 2 with eager and/or Autograph, you should not require\n this method, as ops execute in the expected order thanks to automatic control\n dependencies.* Only use `tf.tuple` when working with v1 `tf.Graph` code.\n\n See also `tf.group` and `tf.control_dependencies`.\n\n Args:\n tensors: A list of `Tensor`s or `IndexedSlices`, some entries can be `None`.\n control_inputs: List of additional ops to finish before returning.\n name: (optional) A name to use as a `name_scope` for the operation.\n\n Returns:\n Same as `tensors`.\n\n Raises:\n ValueError: If `tensors` does not contain any `Tensor` or `IndexedSlices`.\n TypeError: If `control_inputs` is not a list of `Operation` or `Tensor`\n objects.\n\n "},{name:"type_spec_from_value",path:"./tf/type_spec_from_value.md",desc:'Returns a tf.TypeSpec that represents the given `value`.',type:"Functions",docs:"Returns a `tf.TypeSpec` that represents the given `value`.\n\n Examples:\n\n ```>>> tf.type_spec_from_value(tf.constant([1, 2, 3]))\n TensorSpec(shape=(3,), dtype=tf.int32, name=None)\n >>> tf.type_spec_from_value(np.array([4.0, 5.0], np.float64))\n TensorSpec(shape=(2,), dtype=tf.float64, name=None)\n >>> tf.type_spec_from_value(tf.ragged.constant([[1, 2], [3, 4, 5]]))\n RaggedTensorSpec(TensorShape([2, None]), tf.int32, 1, tf.int64)\n\n```\n ```>>> example_input = tf.ragged.constant([[1, 2], [3]])\n >>> @tf.function(input_signature=[tf.type_spec_from_value(example_input)])\n ... def f(x):\n ... return tf.reduce_sum(x, axis=1)\n\n```\n Args:\n value: A value that can be accepted or returned by TensorFlow APIs. Accepted\n types for `value` include `tf.Tensor`, any value that can be converted to\n `tf.Tensor` using `tf.convert_to_tensor`, and any subclass of\n `CompositeTensor` (such as `tf.RaggedTensor`).\n\n Returns:\n A `TypeSpec` that is compatible with `value`.\n\n Raises:\n TypeError: If a TypeSpec cannot be built for `value`, because its type\n is not supported.\n "},{name:"unique",path:"./tf/unique.md",desc:"Finds unique elements in a 1-D tensor.",type:"Functions",docs:"Finds unique elements in a 1-D tensor.\n\n This operation returns a tensor `y` containing all of the unique elements of `x`\n sorted in the same order that they occur in `x`; `x` does not need to be sorted.\n This operation also returns a tensor `idx` the same size as `x` that contains\n the index of each value of `x` in the unique output `y`. In other words:\n\n `y[idx[i]] = x[i] for i in [0, 1,...,rank(x) - 1]`\n\n Examples:\n\n ```\n # tensor 'x' is [1, 1, 2, 4, 4, 4, 7, 8, 8]\n y, idx = unique(x)\n y ==> [1, 2, 4, 7, 8]\n idx ==> [0, 0, 1, 2, 2, 2, 3, 4, 4]\n ```\n\n ```\n # tensor 'x' is [4, 5, 1, 2, 3, 3, 4, 5]\n y, idx = unique(x)\n y ==> [4, 5, 1, 2, 3]\n idx ==> [0, 1, 2, 3, 4, 4, 0, 1]\n ```\n\n Args:\n x: A `Tensor`. 1-D.\n out_idx: An optional `tf.DType` from: `tf.int32, tf.int64`. Defaults to `tf.int32`.\n name: A name for the operation (optional).\n\n Returns:\n A tuple of `Tensor` objects (y, idx).\n\n y: A `Tensor`. Has the same type as `x`.\n idx: A `Tensor` of type `out_idx`.\n "},{name:"unique_with_counts",path:"./tf/unique_with_counts.md",desc:"Finds unique elements in a 1-D tensor.",type:"Functions",docs:"Finds unique elements in a 1-D tensor.\n\n This operation returns a tensor `y` containing all of the unique elements of `x`\n sorted in the same order that they occur in `x`. This operation also returns a\n tensor `idx` the same size as `x` that contains the index of each value of `x`\n in the unique output `y`. Finally, it returns a third tensor `count` that\n contains the count of each element of `y` in `x`. In other words:\n\n `y[idx[i]] = x[i] for i in [0, 1,...,rank(x) - 1]`\n\n For example:\n\n ```\n # tensor 'x' is [1, 1, 2, 4, 4, 4, 7, 8, 8]\n y, idx, count = unique_with_counts(x)\n y ==> [1, 2, 4, 7, 8]\n idx ==> [0, 0, 1, 2, 2, 2, 3, 4, 4]\n count ==> [2, 1, 3, 1, 2]\n ```\n\n Args:\n x: A `Tensor`. 1-D.\n out_idx: An optional `tf.DType` from: `tf.int32, tf.int64`. Defaults to `tf.int32`.\n name: A name for the operation (optional).\n\n Returns:\n A tuple of `Tensor` objects (y, idx, count).\n\n y: A `Tensor`. Has the same type as `x`.\n idx: A `Tensor` of type `out_idx`.\n count: A `Tensor` of type `out_idx`.\n "},{name:"unravel_index",path:"./tf/unravel_index.md",desc:"Converts an array of flat indices into a tuple of coordinate arrays.",type:"Functions",docs:`Converts an array of flat indices into a tuple of coordinate arrays. Example: @@ -7501,119 +6589,7 @@ Examples: Returns: A \`Tensor\`. Has the same type as \`indices\`. - `},{name:"unstack",path:"./tf/unstack.md",desc:"Unpacks the given dimension of a rank-`R` tensor into rank-`(R-1",type:"Functions",docs:`Unpacks the given dimension of a rank-\`R\` tensor into rank-\`(R-1)\` tensors. - - Unpacks tensors from \`value\` by chipping it along the \`axis\` dimension. - - >>> x = tf.reshape(tf.range(12), (3,4)) - >>> - >>> p, q, r = tf.unstack(x) - >>> p.shape.as_list() - [4] - - >>> i, j, k, l = tf.unstack(x, axis=1) - >>> i.shape.as_list() - [3] - - This is the opposite of stack. - - >>> x = tf.stack([i, j, k, l], axis=1) - - More generally if you have a tensor of shape \`(A, B, C, D)\`: - - >>> A, B, C, D = [2, 3, 4, 5] - >>> t = tf.random.normal(shape=[A, B, C, D]) - - The number of tensor returned is equal to the length of the target \`axis\`: - - >>> axis = 2 - >>> items = tf.unstack(t, axis=axis) - >>> len(items) == t.shape[axis] - True - - The shape of each result tensor is equal to the shape of the input tensor, - with the target \`axis\` removed. - - >>> items[0].shape.as_list() # [A, B, D] - [2, 3, 5] - - The value of each tensor \`items[i]\` is equal to the slice of \`input\` across - \`axis\` at index \`i\`: - - >>> for i in range(len(items)): - ... slice = t[:,:,i,:] - ... assert tf.reduce_all(slice == items[i]) - - #### Python iterable unpacking - - With eager execution you _can_ unstack the 0th axis of a tensor using python's - iterable unpacking: - - >>> t = tf.constant([1,2,3]) - >>> a,b,c = t - - \`unstack\` is still necessary because Iterable unpacking doesn't work in - a \`@tf.function\`: Symbolic tensors are not iterable. - - You need to use \`tf.unstack\` here: - - >>> @tf.function - ... def bad(t): - ... a,b,c = t - ... return a - >>> - >>> bad(t) - Traceback (most recent call last): - ... - OperatorNotAllowedInGraphError: ... - - >>> @tf.function - ... def good(t): - ... a,b,c = tf.unstack(t) - ... return a - >>> - >>> good(t).numpy() - 1 - - #### Unknown shapes - - Eager tensors have concrete values, so their shape is always known. - Inside a \`tf.function\` the symbolic tensors may have unknown shapes. - If the length of \`axis\` is unknown \`tf.unstack\` will fail because it cannot - handle an unknown number of tensors: - - >>> @tf.function(input_signature=[tf.TensorSpec([None], tf.float32)]) - ... def bad(t): - ... tensors = tf.unstack(t) - ... return tensors[0] - >>> - >>> bad(tf.constant([1,2,3])) - Traceback (most recent call last): - ... - ValueError: Cannot infer argument \`num\` from shape (None,) - - If you know the \`axis\` length you can pass it as the \`num\` argument. But this - must be a constant value. - - If you actually need a variable number of tensors in a single \`tf.function\` - trace, you will need to use exlicit loops and a \`tf.TensorArray\` instead. - - Args: - value: A rank \`R > 0\` \`Tensor\` to be unstacked. - num: An \`int\`. The length of the dimension \`axis\`. Automatically inferred if - \`None\` (the default). - axis: An \`int\`. The axis to unstack along. Defaults to the first dimension. - Negative values wrap around, so the valid range is \`[-R, R)\`. - name: A name for the operation (optional). - - Returns: - The list of \`Tensor\` objects unstacked from \`value\`. - - Raises: - ValueError: If \`axis\` is out of the range \`[-R, R)\`. - ValueError: If \`num\` is unspecified and cannot be inferred. - InvalidArgumentError: If \`num\` does not match the shape of \`value\`. - `},{name:"variable_creator_scope",path:"./tf/variable_creator_scope.md",desc:"Scope which defines a variable creation function to be used by variable(",type:"Functions",docs:`Scope which defines a variable creation function to be used by variable(). + `},{name:"unstack",path:"./tf/unstack.md",desc:"Unpacks the given dimension of a rank-`R` tensor into rank-`(R-1",type:"Functions",docs:"Unpacks the given dimension of a rank-`R` tensor into rank-`(R-1)` tensors.\n\n Unpacks tensors from `value` by chipping it along the `axis` dimension.\n\n ```>>> x = tf.reshape(tf.range(12), (3,4))\n >>>\n >>> p, q, r = tf.unstack(x)\n >>> p.shape.as_list()\n [4]\n\n```\n ```>>> i, j, k, l = tf.unstack(x, axis=1)\n >>> i.shape.as_list()\n [3]\n\n```\n This is the opposite of stack.\n\n ```>>> x = tf.stack([i, j, k, l], axis=1)\n\n```\n More generally if you have a tensor of shape `(A, B, C, D)`:\n\n ```>>> A, B, C, D = [2, 3, 4, 5]\n >>> t = tf.random.normal(shape=[A, B, C, D])\n\n```\n The number of tensor returned is equal to the length of the target `axis`:\n\n ```>>> axis = 2\n >>> items = tf.unstack(t, axis=axis)\n >>> len(items) == t.shape[axis]\n True\n\n```\n The shape of each result tensor is equal to the shape of the input tensor,\n with the target `axis` removed.\n\n ```>>> items[0].shape.as_list() # [A, B, D]\n [2, 3, 5]\n\n```\n The value of each tensor `items[i]` is equal to the slice of `input` across\n `axis` at index `i`:\n\n ```>>> for i in range(len(items)):\n ... slice = t[:,:,i,:]\n ... assert tf.reduce_all(slice == items[i])\n\n```\n #### Python iterable unpacking\n\n With eager execution you _can_ unstack the 0th axis of a tensor using python's\n iterable unpacking:\n\n ```>>> t = tf.constant([1,2,3])\n >>> a,b,c = t\n\n```\n `unstack` is still necessary because Iterable unpacking doesn't work in\n a `@tf.function`: Symbolic tensors are not iterable.\n\n You need to use `tf.unstack` here:\n\n ```>>> @tf.function\n ... def bad(t):\n ... a,b,c = t\n ... return a\n >>>\n >>> bad(t)\n Traceback (most recent call last):\n ...\n OperatorNotAllowedInGraphError: ...\n\n```\n ```>>> @tf.function\n ... def good(t):\n ... a,b,c = tf.unstack(t)\n ... return a\n >>>\n >>> good(t).numpy()\n 1\n\n```\n #### Unknown shapes\n\n Eager tensors have concrete values, so their shape is always known.\n Inside a `tf.function` the symbolic tensors may have unknown shapes.\n If the length of `axis` is unknown `tf.unstack` will fail because it cannot\n handle an unknown number of tensors:\n\n ```>>> @tf.function(input_signature=[tf.TensorSpec([None], tf.float32)])\n ... def bad(t):\n ... tensors = tf.unstack(t)\n ... return tensors[0]\n >>>\n >>> bad(tf.constant([1,2,3]))\n Traceback (most recent call last):\n ...\n ValueError: Cannot infer argument `num` from shape (None,)\n\n```\n If you know the `axis` length you can pass it as the `num` argument. But this\n must be a constant value.\n\n If you actually need a variable number of tensors in a single `tf.function`\n trace, you will need to use exlicit loops and a `tf.TensorArray` instead.\n\n Args:\n value: A rank `R > 0` `Tensor` to be unstacked.\n num: An `int`. The length of the dimension `axis`. Automatically inferred if\n `None` (the default).\n axis: An `int`. The axis to unstack along. Defaults to the first dimension.\n Negative values wrap around, so the valid range is `[-R, R)`.\n name: A name for the operation (optional).\n\n Returns:\n The list of `Tensor` objects unstacked from `value`.\n\n Raises:\n ValueError: If `axis` is out of the range `[-R, R)`.\n ValueError: If `num` is unspecified and cannot be inferred.\n InvalidArgumentError: If `num` does not match the shape of `value`.\n "},{name:"variable_creator_scope",path:"./tf/variable_creator_scope.md",desc:"Scope which defines a variable creation function to be used by variable(",type:"Functions",docs:`Scope which defines a variable creation function to be used by variable(). variable_creator is expected to be a function with the following signature: @@ -7768,7 +6744,7 @@ Examples: Raises: ValueError: If vectorization fails and fallback_to_while_loop is False. - `},{name:"where",path:"./tf/where.md",desc:"Returns the indices of non-zero elements, or multiplexes `x` and `y`.",type:"Functions",docs:"Returns the indices of non-zero elements, or multiplexes `x` and `y`.\n\n This operation has two modes:\n\n 1. **Return the indices of non-zero elements** - When only\n `condition` is provided the result is an `int64` tensor where each row is\n the index of a non-zero element of `condition`. The result's shape\n is `[tf.math.count_nonzero(condition), tf.rank(condition)]`.\n 2. **Multiplex `x` and `y`** - When both `x` and `y` are provided the\n result has the shape of `x`, `y`, and `condition` broadcast together. The\n result is taken from `x` where `condition` is non-zero\n or `y` where `condition` is zero.\n\n #### 1. Return the indices of non-zero elements\n\n Note: In this mode `condition` can have a dtype of `bool` or any numeric\n dtype.\n\n If `x` and `y` are not provided (both are None):\n\n `tf.where` will return the indices of `condition` that are non-zero,\n in the form of a 2-D tensor with shape `[n, d]`, where `n` is the number of\n non-zero elements in `condition` (`tf.count_nonzero(condition)`), and `d` is\n the number of axes of `condition` (`tf.rank(condition)`).\n\n Indices are output in row-major order. The `condition` can have a `dtype` of\n `tf.bool`, or any numeric `dtype`.\n\n Here `condition` is a 1-axis `bool` tensor with 2 `True` values. The result\n has a shape of `[2,1]`\n\n >>> tf.where([True, False, False, True]).numpy()\n array([[0],\n [3]])\n\n Here `condition` is a 2-axis integer tensor, with 3 non-zero values. The\n result has a shape of `[3, 2]`.\n\n >>> tf.where([[1, 0, 0], [1, 0, 1]]).numpy()\n array([[0, 0],\n [1, 0],\n [1, 2]])\n\n Here `condition` is a 3-axis float tensor, with 5 non-zero values. The output\n shape is `[5, 3]`.\n\n >>> float_tensor = [[[0.1, 0], [0, 2.2], [3.5, 1e6]],\n ... [[0, 0], [0, 0], [99, 0]]]\n >>> tf.where(float_tensor).numpy()\n array([[0, 0, 0],\n [0, 1, 1],\n [0, 2, 0],\n [0, 2, 1],\n [1, 2, 0]])\n\n These indices are the same that `tf.sparse.SparseTensor` would use to\n represent the condition tensor:\n\n >>> sparse = tf.sparse.from_dense(float_tensor)\n >>> sparse.indices.numpy()\n array([[0, 0, 0],\n [0, 1, 1],\n [0, 2, 0],\n [0, 2, 1],\n [1, 2, 0]])\n\n A complex number is considered non-zero if either the real or imaginary\n component is non-zero:\n\n >>> tf.where([complex(0.), complex(1.), 0+1j, 1+1j]).numpy()\n array([[1],\n [2],\n [3]])\n\n #### 2. Multiplex `x` and `y`\n\n Note: In this mode `condition` must have a dtype of `bool`.\n\n If `x` and `y` are also provided (both have non-None values) the `condition`\n tensor acts as a mask that chooses whether the corresponding\n element / row in the output should be taken from `x` (if the element in\n `condition` is `True`) or `y` (if it is `False`).\n\n The shape of the result is formed by\n [broadcasting](https://docs.scipy.org/doc/numpy/reference/ufuncs.html)\n together the shapes of `condition`, `x`, and `y`.\n\n When all three inputs have the same size, each is handled element-wise.\n\n >>> tf.where([True, False, False, True],\n ... [1, 2, 3, 4],\n ... [100, 200, 300, 400]).numpy()\n array([ 1, 200, 300, 4], dtype=int32)\n\n There are two main rules for broadcasting:\n\n 1. If a tensor has fewer axes than the others, length-1 axes are added to the\n left of the shape.\n 2. Axes with length-1 are streched to match the coresponding axes of the other\n tensors.\n\n A length-1 vector is streched to match the other vectors:\n\n >>> tf.where([True, False, False, True], [1, 2, 3, 4], [100]).numpy()\n array([ 1, 100, 100, 4], dtype=int32)\n\n A scalar is expanded to match the other arguments:\n\n >>> tf.where([[True, False], [False, True]], [[1, 2], [3, 4]], 100).numpy()\n array([[ 1, 100], [100, 4]], dtype=int32)\n >>> tf.where([[True, False], [False, True]], 1, 100).numpy()\n array([[ 1, 100], [100, 1]], dtype=int32)\n\n A scalar `condition` returns the complete `x` or `y` tensor, with\n broadcasting applied.\n\n >>> tf.where(True, [1, 2, 3, 4], 100).numpy()\n array([1, 2, 3, 4], dtype=int32)\n >>> tf.where(False, [1, 2, 3, 4], 100).numpy()\n array([100, 100, 100, 100], dtype=int32)\n\n For a non-trivial example of broadcasting, here `condition` has a shape of\n `[3]`, `x` has a shape of `[3,3]`, and `y` has a shape of `[3,1]`.\n Broadcasting first expands the shape of `condition` to `[1,3]`. The final\n broadcast shape is `[3,3]`. `condition` will select columns from `x` and `y`.\n Since `y` only has one column, all columns from `y` will be identical.\n\n >>> tf.where([True, False, True],\n ... x=[[1, 2, 3],\n ... [4, 5, 6],\n ... [7, 8, 9]],\n ... y=[[100],\n ... [200],\n ... [300]]\n ... ).numpy()\n array([[ 1, 100, 3],\n [ 4, 200, 6],\n [ 7, 300, 9]], dtype=int32)\n\n Note that if the gradient of either branch of the `tf.where` generates\n a `NaN`, then the gradient of the entire `tf.where` will be `NaN`. This is\n because the gradient calculation for `tf.where` combines the two branches, for\n performance reasons.\n\n A workaround is to use an inner `tf.where` to ensure the function has\n no asymptote, and to avoid computing a value whose gradient is `NaN` by\n replacing dangerous inputs with safe inputs.\n\n Instead of this,\n\n >>> x = tf.constant(0., dtype=tf.float32)\n >>> with tf.GradientTape() as tape:\n ... tape.watch(x)\n ... y = tf.where(x < 1., 0., 1. / x)\n >>> print(tape.gradient(y, x))\n tf.Tensor(nan, shape=(), dtype=float32)\n\n Although, the `1. / x` values are never used, its gradient is a `NaN` when\n `x = 0`. Instead, we should guard that with another `tf.where`\n\n >>> x = tf.constant(0., dtype=tf.float32)\n >>> with tf.GradientTape() as tape:\n ... tape.watch(x)\n ... safe_x = tf.where(tf.equal(x, 0.), 1., x)\n ... y = tf.where(x < 1., 0., 1. / safe_x)\n >>> print(tape.gradient(y, x))\n tf.Tensor(0.0, shape=(), dtype=float32)\n\n See also:\n\n * `tf.sparse` - The indices returned by the first form of `tf.where` can be\n useful in `tf.sparse.SparseTensor` objects.\n * `tf.gather_nd`, `tf.scatter_nd`, and related ops - Given the\n list of indices returned from `tf.where` the `scatter` and `gather` family\n of ops can be used fetch values or insert values at those indices.\n * `tf.strings.length` - `tf.string` is not an allowed dtype for the\n `condition`. Use the string length instead.\n\n Args:\n condition: A `tf.Tensor` of dtype bool, or any numeric dtype. `condition`\n must have dtype `bool` when `x` and `y` are provided.\n x: If provided, a Tensor which is of the same type as `y`, and has a shape\n broadcastable with `condition` and `y`.\n y: If provided, a Tensor which is of the same type as `x`, and has a shape\n broadcastable with `condition` and `x`.\n name: A name of the operation (optional).\n\n Returns:\n If `x` and `y` are provided:\n A `Tensor` with the same type as `x` and `y`, and shape that\n is broadcast from `condition`, `x`, and `y`.\n Otherwise, a `Tensor` with shape `[tf.math.count_nonzero(condition),\n tf.rank(condition)]`.\n\n Raises:\n ValueError: When exactly one of `x` or `y` is non-None, or the shapes\n are not all broadcastable.\n "},{name:"while_loop",path:"./tf/while_loop.md",desc:"Repeat `body` while the condition `cond` is true. (deprecated argument values",type:"Functions",docs:`Repeat \`body\` while the condition \`cond\` is true. (deprecated argument values) + `},{name:"where",path:"./tf/where.md",desc:"Returns the indices of non-zero elements, or multiplexes `x` and `y`.",type:"Functions",docs:"Returns the indices of non-zero elements, or multiplexes `x` and `y`.\n\n This operation has two modes:\n\n 1. **Return the indices of non-zero elements** - When only\n `condition` is provided the result is an `int64` tensor where each row is\n the index of a non-zero element of `condition`. The result's shape\n is `[tf.math.count_nonzero(condition), tf.rank(condition)]`.\n 2. **Multiplex `x` and `y`** - When both `x` and `y` are provided the\n result has the shape of `x`, `y`, and `condition` broadcast together. The\n result is taken from `x` where `condition` is non-zero\n or `y` where `condition` is zero.\n\n #### 1. Return the indices of non-zero elements\n\n Note: In this mode `condition` can have a dtype of `bool` or any numeric\n dtype.\n\n If `x` and `y` are not provided (both are None):\n\n `tf.where` will return the indices of `condition` that are non-zero,\n in the form of a 2-D tensor with shape `[n, d]`, where `n` is the number of\n non-zero elements in `condition` (`tf.count_nonzero(condition)`), and `d` is\n the number of axes of `condition` (`tf.rank(condition)`).\n\n Indices are output in row-major order. The `condition` can have a `dtype` of\n `tf.bool`, or any numeric `dtype`.\n\n Here `condition` is a 1-axis `bool` tensor with 2 `True` values. The result\n has a shape of `[2,1]`\n\n ```>>> tf.where([True, False, False, True]).numpy()\n array([[0],\n [3]])\n\n```\n Here `condition` is a 2-axis integer tensor, with 3 non-zero values. The\n result has a shape of `[3, 2]`.\n\n ```>>> tf.where([[1, 0, 0], [1, 0, 1]]).numpy()\n array([[0, 0],\n [1, 0],\n [1, 2]])\n\n```\n Here `condition` is a 3-axis float tensor, with 5 non-zero values. The output\n shape is `[5, 3]`.\n\n ```>>> float_tensor = [[[0.1, 0], [0, 2.2], [3.5, 1e6]],\n ... [[0, 0], [0, 0], [99, 0]]]\n >>> tf.where(float_tensor).numpy()\n array([[0, 0, 0],\n [0, 1, 1],\n [0, 2, 0],\n [0, 2, 1],\n [1, 2, 0]])\n\n```\n These indices are the same that `tf.sparse.SparseTensor` would use to\n represent the condition tensor:\n\n ```>>> sparse = tf.sparse.from_dense(float_tensor)\n >>> sparse.indices.numpy()\n array([[0, 0, 0],\n [0, 1, 1],\n [0, 2, 0],\n [0, 2, 1],\n [1, 2, 0]])\n\n```\n A complex number is considered non-zero if either the real or imaginary\n component is non-zero:\n\n ```>>> tf.where([complex(0.), complex(1.), 0+1j, 1+1j]).numpy()\n array([[1],\n [2],\n [3]])\n\n```\n #### 2. Multiplex `x` and `y`\n\n Note: In this mode `condition` must have a dtype of `bool`.\n\n If `x` and `y` are also provided (both have non-None values) the `condition`\n tensor acts as a mask that chooses whether the corresponding\n element / row in the output should be taken from `x` (if the element in\n `condition` is `True`) or `y` (if it is `False`).\n\n The shape of the result is formed by\n [broadcasting](https://docs.scipy.org/doc/numpy/reference/ufuncs.html)\n together the shapes of `condition`, `x`, and `y`.\n\n When all three inputs have the same size, each is handled element-wise.\n\n ```>>> tf.where([True, False, False, True],\n ... [1, 2, 3, 4],\n ... [100, 200, 300, 400]).numpy()\n array([ 1, 200, 300, 4], dtype=int32)\n\n```\n There are two main rules for broadcasting:\n\n 1. If a tensor has fewer axes than the others, length-1 axes are added to the\n left of the shape.\n 2. Axes with length-1 are streched to match the coresponding axes of the other\n tensors.\n\n A length-1 vector is streched to match the other vectors:\n\n ```>>> tf.where([True, False, False, True], [1, 2, 3, 4], [100]).numpy()\n array([ 1, 100, 100, 4], dtype=int32)\n\n```\n A scalar is expanded to match the other arguments:\n\n ```>>> tf.where([[True, False], [False, True]], [[1, 2], [3, 4]], 100).numpy()\n array([[ 1, 100], [100, 4]], dtype=int32)\n >>> tf.where([[True, False], [False, True]], 1, 100).numpy()\n array([[ 1, 100], [100, 1]], dtype=int32)\n\n```\n A scalar `condition` returns the complete `x` or `y` tensor, with\n broadcasting applied.\n\n ```>>> tf.where(True, [1, 2, 3, 4], 100).numpy()\n array([1, 2, 3, 4], dtype=int32)\n >>> tf.where(False, [1, 2, 3, 4], 100).numpy()\n array([100, 100, 100, 100], dtype=int32)\n\n```\n For a non-trivial example of broadcasting, here `condition` has a shape of\n `[3]`, `x` has a shape of `[3,3]`, and `y` has a shape of `[3,1]`.\n Broadcasting first expands the shape of `condition` to `[1,3]`. The final\n broadcast shape is `[3,3]`. `condition` will select columns from `x` and `y`.\n Since `y` only has one column, all columns from `y` will be identical.\n\n ```>>> tf.where([True, False, True],\n ... x=[[1, 2, 3],\n ... [4, 5, 6],\n ... [7, 8, 9]],\n ... y=[[100],\n ... [200],\n ... [300]]\n ... ).numpy()\n array([[ 1, 100, 3],\n [ 4, 200, 6],\n [ 7, 300, 9]], dtype=int32)\n\n```\n Note that if the gradient of either branch of the `tf.where` generates\n a `NaN`, then the gradient of the entire `tf.where` will be `NaN`. This is\n because the gradient calculation for `tf.where` combines the two branches, for\n performance reasons.\n\n A workaround is to use an inner `tf.where` to ensure the function has\n no asymptote, and to avoid computing a value whose gradient is `NaN` by\n replacing dangerous inputs with safe inputs.\n\n Instead of this,\n\n ```>>> x = tf.constant(0., dtype=tf.float32)\n >>> with tf.GradientTape() as tape:\n ... tape.watch(x)\n ... y = tf.where(x < 1., 0., 1. / x)\n >>> print(tape.gradient(y, x))\n tf.Tensor(nan, shape=(), dtype=float32)\n\n```\n Although, the `1. / x` values are never used, its gradient is a `NaN` when\n `x = 0`. Instead, we should guard that with another `tf.where`\n\n ```>>> x = tf.constant(0., dtype=tf.float32)\n >>> with tf.GradientTape() as tape:\n ... tape.watch(x)\n ... safe_x = tf.where(tf.equal(x, 0.), 1., x)\n ... y = tf.where(x < 1., 0., 1. / safe_x)\n >>> print(tape.gradient(y, x))\n tf.Tensor(0.0, shape=(), dtype=float32)\n\n```\n See also:\n\n * `tf.sparse` - The indices returned by the first form of `tf.where` can be\n useful in `tf.sparse.SparseTensor` objects.\n * `tf.gather_nd`, `tf.scatter_nd`, and related ops - Given the\n list of indices returned from `tf.where` the `scatter` and `gather` family\n of ops can be used fetch values or insert values at those indices.\n * `tf.strings.length` - `tf.string` is not an allowed dtype for the\n `condition`. Use the string length instead.\n\n Args:\n condition: A `tf.Tensor` of dtype bool, or any numeric dtype. `condition`\n must have dtype `bool` when `x` and `y` are provided.\n x: If provided, a Tensor which is of the same type as `y`, and has a shape\n broadcastable with `condition` and `y`.\n y: If provided, a Tensor which is of the same type as `x`, and has a shape\n broadcastable with `condition` and `x`.\n name: A name of the operation (optional).\n\n Returns:\n If `x` and `y` are provided:\n A `Tensor` with the same type as `x` and `y`, and shape that\n is broadcast from `condition`, `x`, and `y`.\n Otherwise, a `Tensor` with shape `[tf.math.count_nonzero(condition),\n tf.rank(condition)]`.\n\n Raises:\n ValueError: When exactly one of `x` or `y` is non-None, or the shapes\n are not all broadcastable.\n "},{name:"while_loop",path:"./tf/while_loop.md",desc:"Repeat `body` while the condition `cond` is true. (deprecated argument values",type:"Functions",docs:`Repeat \`body\` while the condition \`cond\` is true. (deprecated argument values) Deprecated: SOME ARGUMENT VALUES ARE DEPRECATED: \`(back_prop=False)\`. They will be removed in a future version. Instructions for updating: @@ -7930,10 +6906,10 @@ with tf.compat.v1.Session() as sess: # meaning that the counter thread is on iteration 9996, # while the other thread is on iteration 9987 print(sess.run(out).shape) -\`\`\``},{name:"zeros",path:"./tf/zeros.md",desc:"Creates a tensor with all elements set to zero.",type:"Functions",docs:"Creates a tensor with all elements set to zero.\n\n See also `tf.zeros_like`, `tf.ones`, `tf.fill`, `tf.eye`.\n\n This operation returns a tensor of type `dtype` with shape `shape` and\n all elements set to zero.\n\n >>> tf.zeros([3, 4], tf.int32)\n \n\n Args:\n shape: A `list` of integers, a `tuple` of integers, or\n a 1-D `Tensor` of type `int32`.\n dtype: The DType of an element in the resulting `Tensor`.\n name: Optional string. A name for the operation.\n\n Returns:\n A `Tensor` with all elements set to zero.\n "},{name:"zeros_like",path:"./tf/zeros_like.md",desc:"Creates a tensor with all elements set to zero.",type:"Functions",docs:"Creates a tensor with all elements set to zero.\n\n See also `tf.zeros`.\n\n Given a single tensor or array-like object (`input`), this operation returns\n a tensor of the same type and shape as `input` with all elements set to zero.\n Optionally, you can use `dtype` to specify a new type for the returned tensor.\n\n Examples:\n\n >>> tensor = tf.constant([[1, 2, 3], [4, 5, 6]])\n >>> tf.zeros_like(tensor)\n \n\n >>> tf.zeros_like(tensor, dtype=tf.float32)\n \n\n >>> tf.zeros_like([[1, 2, 3], [4, 5, 6]])\n \n\n Args:\n input: A `Tensor` or array-like object.\n dtype: A type for the returned `Tensor`. Must be `float16`, `float32`,\n `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `int64`,\n `complex64`, `complex128`, `bool` or `string` (optional).\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` with all elements set to zero.\n "}];function Xb(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let Da=Xb();function g2(e){Da=e}const b2=/[&<>"']/,v2=/[&<>"']/g,y2=/[<>"']|&(?!#?\w+;)/,_2=/[<>"']|&(?!#?\w+;)/g,w2={"&":"&","<":"<",">":">",'"':""","'":"'"},qf=e=>w2[e];function Jt(e,t){if(t){if(b2.test(e))return e.replace(v2,qf)}else if(y2.test(e))return e.replace(_2,qf);return e}const x2=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Zb(e){return e.replace(x2,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const k2=/(^|[^\[])\^/g;function Mt(e,t){e=typeof e=="string"?e:e.source,t=t||"";const n={replace:(o,r)=>(r=r.source||r,r=r.replace(k2,"$1"),e=e.replace(o,r),n),getRegex:()=>new RegExp(e,t)};return n}const T2=/[^\w:]/g,C2=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Kf(e,t,n){if(e){let o;try{o=decodeURIComponent(Zb(n)).replace(T2,"").toLowerCase()}catch{return null}if(o.indexOf("javascript:")===0||o.indexOf("vbscript:")===0||o.indexOf("data:")===0)return null}t&&!C2.test(n)&&(n=E2(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const wl={},S2=/^[^:]+:\/*[^/]*$/,$2=/^([^:]+:)[\s\S]*$/,A2=/^([^:]+:\/*[^/]*)[\s\S]*$/;function E2(e,t){wl[" "+e]||(S2.test(e)?wl[" "+e]=e+"/":wl[" "+e]=Fl(e,"/",!0)),e=wl[" "+e];const n=e.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:e.replace($2,"$1")+t:t.charAt(0)==="/"?n?t:e.replace(A2,"$1")+t:e+t}const _s={exec:function(){}};function so(e){let t=1,n,o;for(;t{let s=!1,c=i;for(;--c>=0&&l[c]==="\\";)s=!s;return s?"|":" |"}),o=n.split(/ \|/);let r=0;if(o[0].trim()||o.shift(),o.length>0&&!o[o.length-1].trim()&&o.pop(),o.length>t)o.splice(t);else for(;o.length1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function Yf(e,t,n,o){const r=t.href,a=t.title?Jt(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){o.state.inLink=!0;const l={type:"link",raw:n,href:r,title:a,text:i,tokens:o.inlineTokens(i,[])};return o.state.inLink=!1,l}return{type:"image",raw:n,href:r,title:a,text:Jt(i)}}function I2(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const o=n[1];return t.split(` +\`\`\``},{name:"zeros",path:"./tf/zeros.md",desc:"Creates a tensor with all elements set to zero.",type:"Functions",docs:"Creates a tensor with all elements set to zero.\n\n See also `tf.zeros_like`, `tf.ones`, `tf.fill`, `tf.eye`.\n\n This operation returns a tensor of type `dtype` with shape `shape` and\n all elements set to zero.\n\n ```>>> tf.zeros([3, 4], tf.int32)\n \n\n```\n Args:\n shape: A `list` of integers, a `tuple` of integers, or\n a 1-D `Tensor` of type `int32`.\n dtype: The DType of an element in the resulting `Tensor`.\n name: Optional string. A name for the operation.\n\n Returns:\n A `Tensor` with all elements set to zero.\n "},{name:"zeros_like",path:"./tf/zeros_like.md",desc:"Creates a tensor with all elements set to zero.",type:"Functions",docs:"Creates a tensor with all elements set to zero.\n\n See also `tf.zeros`.\n\n Given a single tensor or array-like object (`input`), this operation returns\n a tensor of the same type and shape as `input` with all elements set to zero.\n Optionally, you can use `dtype` to specify a new type for the returned tensor.\n\n Examples:\n\n ```>>> tensor = tf.constant([[1, 2, 3], [4, 5, 6]])\n >>> tf.zeros_like(tensor)\n \n\n```\n ```>>> tf.zeros_like(tensor, dtype=tf.float32)\n \n\n```\n ```>>> tf.zeros_like([[1, 2, 3], [4, 5, 6]])\n \n\n```\n Args:\n input: A `Tensor` or array-like object.\n dtype: A type for the returned `Tensor`. Must be `float16`, `float32`,\n `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `int64`,\n `complex64`, `complex128`, `bool` or `string` (optional).\n name: A name for the operation (optional).\n\n Returns:\n A `Tensor` with all elements set to zero.\n "}];function Xb(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let Da=Xb();function h2(e){Da=e}const m2=/[&<>"']/,g2=/[&<>"']/g,b2=/[<>"']|&(?!#?\w+;)/,v2=/[<>"']|&(?!#?\w+;)/g,y2={"&":"&","<":"<",">":">",'"':""","'":"'"},Hf=e=>y2[e];function Jt(e,t){if(t){if(m2.test(e))return e.replace(g2,Hf)}else if(b2.test(e))return e.replace(v2,Hf);return e}const _2=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Zb(e){return e.replace(_2,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const w2=/(^|[^\[])\^/g;function Mt(e,t){e=typeof e=="string"?e:e.source,t=t||"";const n={replace:(o,r)=>(r=r.source||r,r=r.replace(w2,"$1"),e=e.replace(o,r),n),getRegex:()=>new RegExp(e,t)};return n}const x2=/[^\w:]/g,k2=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function qf(e,t,n){if(e){let o;try{o=decodeURIComponent(Zb(n)).replace(x2,"").toLowerCase()}catch{return null}if(o.indexOf("javascript:")===0||o.indexOf("vbscript:")===0||o.indexOf("data:")===0)return null}t&&!k2.test(n)&&(n=$2(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const wl={},T2=/^[^:]+:\/*[^/]*$/,C2=/^([^:]+:)[\s\S]*$/,S2=/^([^:]+:\/*[^/]*)[\s\S]*$/;function $2(e,t){wl[" "+e]||(T2.test(e)?wl[" "+e]=e+"/":wl[" "+e]=Fl(e,"/",!0)),e=wl[" "+e];const n=e.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:e.replace(C2,"$1")+t:t.charAt(0)==="/"?n?t:e.replace(S2,"$1")+t:e+t}const _s={exec:function(){}};function so(e){let t=1,n,o;for(;t{let s=!1,c=i;for(;--c>=0&&l[c]==="\\";)s=!s;return s?"|":" |"}),o=n.split(/ \|/);let r=0;if(o[0].trim()||o.shift(),o.length>0&&!o[o.length-1].trim()&&o.pop(),o.length>t)o.splice(t);else for(;o.length1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function Uf(e,t,n,o){const r=t.href,a=t.title?Jt(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){o.state.inLink=!0;const l={type:"link",raw:n,href:r,title:a,text:i,tokens:o.inlineTokens(i,[])};return o.state.inLink=!1,l}return{type:"image",raw:n,href:r,title:a,text:Jt(i)}}function E2(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const o=n[1];return t.split(` `).map(r=>{const a=r.match(/^\s+/);if(a===null)return r;const[i]=a;return i.length>=o.length?r.slice(o.length):r}).join(` -`)}class Du{constructor(t){this.options=t||Da}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const o=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?o:Fl(o,` -`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const o=n[0],r=I2(o,n[3]||"");return{type:"code",raw:o,lang:n[2]?n[2].trim():n[2],text:r}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let o=n[2].trim();if(/#$/.test(o)){const a=Fl(o,"#");(this.options.pedantic||!a||/ $/.test(a))&&(o=a.trim())}const r={type:"heading",raw:n[0],depth:n[1].length,text:o,tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){const o=n[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:n[0],tokens:this.lexer.blockTokens(o,[]),text:o}}}list(t){let n=this.rules.block.list.exec(t);if(n){let o,r,a,i,l,s,c,d,u,p,f,h,b=n[1].trim();const m=b.length>1,g={type:"list",raw:"",ordered:m,start:m?+b.slice(0,-1):"",loose:!1,items:[]};b=m?`\\d{1,9}\\${b.slice(-1)}`:`\\${b}`,this.options.pedantic&&(b=m?b:"[*+-]");const v=new RegExp(`^( {0,3}${b})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(h=!1,!(!(n=v.exec(t))||this.rules.block.hr.test(t)));){if(o=n[0],t=t.substring(o.length),d=n[2].split(` +`)}class Fu{constructor(t){this.options=t||Da}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const o=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?o:Fl(o,` +`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const o=n[0],r=E2(o,n[3]||"");return{type:"code",raw:o,lang:n[2]?n[2].trim():n[2],text:r}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let o=n[2].trim();if(/#$/.test(o)){const a=Fl(o,"#");(this.options.pedantic||!a||/ $/.test(a))&&(o=a.trim())}const r={type:"heading",raw:n[0],depth:n[1].length,text:o,tokens:[]};return this.lexer.inline(r.text,r.tokens),r}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){const o=n[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:n[0],tokens:this.lexer.blockTokens(o,[]),text:o}}}list(t){let n=this.rules.block.list.exec(t);if(n){let o,r,a,i,l,s,c,d,u,p,f,h,b=n[1].trim();const m=b.length>1,g={type:"list",raw:"",ordered:m,start:m?+b.slice(0,-1):"",loose:!1,items:[]};b=m?`\\d{1,9}\\${b.slice(-1)}`:`\\${b}`,this.options.pedantic&&(b=m?b:"[*+-]");const v=new RegExp(`^( {0,3}${b})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(h=!1,!(!(n=v.exec(t))||this.rules.block.hr.test(t)));){if(o=n[0],t=t.substring(o.length),d=n[2].split(` `,1)[0],u=t.split(` `,1)[0],this.options.pedantic?(i=2,f=d.trimLeft()):(i=n[2].search(/[^ ]/),i=i>4?1:i,f=d.slice(i),i+=n[1].length),s=!1,!d&&/^ *$/.test(u)&&(o+=u+` `,t=t.substring(u.length+1),h=!0),!h){const T=new RegExp(`^ {0,${Math.min(3,i-1)}}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))`),x=new RegExp(`^ {0,${Math.min(3,i-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`);for(;t&&(p=t.split(` @@ -7941,10 +6917,10 @@ with tf.compat.v1.Session() as sess: `+d.slice(i);else if(!s)f+=` `+d;else break;!s&&!d.trim()&&(s=!0),o+=p+` `,t=t.substring(p.length+1)}}g.loose||(c?g.loose=!0:/\n *\n *$/.test(o)&&(c=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(f),r&&(a=r[0]!=="[ ] ",f=f.replace(/^\[[ xX]\] +/,""))),g.items.push({type:"list_item",raw:o,task:!!r,checked:a,loose:!1,text:f}),g.raw+=o}g.items[g.items.length-1].raw=o.trimRight(),g.items[g.items.length-1].text=f.trimRight(),g.raw=g.raw.trimRight();const y=g.items.length;for(l=0;lk.type==="space"),x=T.every(k=>{const $=k.raw.split("");let z=0;for(const P of $)if(P===` -`&&(z+=1),z>1)return!0;return!1});!g.loose&&T.length&&x&&(g.loose=!0,g.items[l].loose=!0)}return g}}html(t){const n=this.rules.block.html.exec(t);if(n){const o={type:"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:n[0]};return this.options.sanitize&&(o.type="paragraph",o.text=this.options.sanitizer?this.options.sanitizer(n[0]):Jt(n[0]),o.tokens=[],this.lexer.inline(o.text,o.tokens)),o}}def(t){const n=this.rules.block.def.exec(t);if(n){n[3]&&(n[3]=n[3].substring(1,n[3].length-1));const o=n[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:o,raw:n[0],href:n[2],title:n[3]}}}table(t){const n=this.rules.block.table.exec(t);if(n){const o={type:"table",header:Wf(n[1]).map(r=>({text:r})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(` -`):[]};if(o.header.length===o.align.length){o.raw=n[0];let r=o.align.length,a,i,l,s;for(a=0;a({text:c}));for(r=o.header.length,i=0;i/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):Jt(n[0]):n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const o=n[2].trim();if(!this.options.pedantic&&/^$/.test(o))return;const i=Fl(o.slice(0,-1),"\\");if((o.length-i.length)%2===0)return}else{const i=z2(n[2],"()");if(i>-1){const s=(n[0].indexOf("!")===0?5:4)+n[1].length+i;n[2]=n[2].substring(0,i),n[0]=n[0].substring(0,s).trim(),n[3]=""}}let r=n[2],a="";if(this.options.pedantic){const i=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);i&&(r=i[1],a=i[3])}else a=n[3]?n[3].slice(1,-1):"";return r=r.trim(),/^$/.test(o)?r=r.slice(1):r=r.slice(1,-1)),Yf(n,{href:r&&r.replace(this.rules.inline._escapes,"$1"),title:a&&a.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(t,n){let o;if((o=this.rules.inline.reflink.exec(t))||(o=this.rules.inline.nolink.exec(t))){let r=(o[2]||o[1]).replace(/\s+/g," ");if(r=n[r.toLowerCase()],!r||!r.href){const a=o[0].charAt(0);return{type:"text",raw:a,text:a}}return Yf(o,r,o[0],this.lexer)}}emStrong(t,n,o=""){let r=this.rules.inline.emStrong.lDelim.exec(t);if(!r||r[3]&&o.match(/[\p{L}\p{N}]/u))return;const a=r[1]||r[2]||"";if(!a||a&&(o===""||this.rules.inline.punctuation.exec(o))){const i=r[0].length-1;let l,s,c=i,d=0;const u=r[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,n=n.slice(-1*t.length+i);(r=u.exec(n))!=null;){if(l=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!l)continue;if(s=l.length,r[3]||r[4]){c+=s;continue}else if((r[5]||r[6])&&i%3&&!((i+s)%3)){d+=s;continue}if(c-=s,c>0)continue;if(s=Math.min(s,s+c+d),Math.min(i,s)%2){const f=t.slice(1,i+r.index+s);return{type:"em",raw:t.slice(0,i+r.index+s+1),text:f,tokens:this.lexer.inlineTokens(f,[])}}const p=t.slice(2,i+r.index+s-1);return{type:"strong",raw:t.slice(0,i+r.index+s+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let o=n[2].replace(/\n/g," ");const r=/[^ ]/.test(o),a=/^ /.test(o)&&/ $/.test(o);return r&&a&&(o=o.substring(1,o.length-1)),o=Jt(o,!0),{type:"codespan",raw:n[0],text:o}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2],[])}}autolink(t,n){const o=this.rules.inline.autolink.exec(t);if(o){let r,a;return o[2]==="@"?(r=Jt(this.options.mangle?n(o[1]):o[1]),a="mailto:"+r):(r=Jt(o[1]),a=r),{type:"link",raw:o[0],text:r,href:a,tokens:[{type:"text",raw:r,text:r}]}}}url(t,n){let o;if(o=this.rules.inline.url.exec(t)){let r,a;if(o[2]==="@")r=Jt(this.options.mangle?n(o[0]):o[0]),a="mailto:"+r;else{let i;do i=o[0],o[0]=this.rules.inline._backpedal.exec(o[0])[0];while(i!==o[0]);r=Jt(o[0]),o[1]==="www."?a="http://"+r:a=r}return{type:"link",raw:o[0],text:r,href:a,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t,n){const o=this.rules.inline.text.exec(t);if(o){let r;return this.lexer.state.inRawBlock?r=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):Jt(o[0]):o[0]:r=Jt(this.options.smartypants?n(o[0]):o[0]),{type:"text",raw:o[0],text:r}}}}const at={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:_s,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};at._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;at._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;at.def=Mt(at.def).replace("label",at._label).replace("title",at._title).getRegex();at.bullet=/(?:[*+-]|\d{1,9}[.)])/;at.listItemStart=Mt(/^( *)(bull) */).replace("bull",at.bullet).getRegex();at.list=Mt(at.list).replace(/bull/g,at.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+at.def.source+")").getRegex();at._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";at._comment=/|$)/;at.html=Mt(at.html,"i").replace("comment",at._comment).replace("tag",at._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();at.paragraph=Mt(at._paragraph).replace("hr",at.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",at._tag).getRegex();at.blockquote=Mt(at.blockquote).replace("paragraph",at.paragraph).getRegex();at.normal=so({},at);at.gfm=so({},at.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});at.gfm.table=Mt(at.gfm.table).replace("hr",at.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",at._tag).getRegex();at.gfm.paragraph=Mt(at._paragraph).replace("hr",at.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",at.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",at._tag).getRegex();at.pedantic=so({},at.normal,{html:Mt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",at._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:_s,paragraph:Mt(at.normal._paragraph).replace("hr",at.hr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",at.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const Xe={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:_s,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:_s,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~";Xe.punctuation=Mt(Xe.punctuation).replace(/punctuation/g,Xe._punctuation).getRegex();Xe.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;Xe.escapedEmSt=/\\\*|\\_/g;Xe._comment=Mt(at._comment).replace("(?:-->|$)","-->").getRegex();Xe.emStrong.lDelim=Mt(Xe.emStrong.lDelim).replace(/punct/g,Xe._punctuation).getRegex();Xe.emStrong.rDelimAst=Mt(Xe.emStrong.rDelimAst,"g").replace(/punct/g,Xe._punctuation).getRegex();Xe.emStrong.rDelimUnd=Mt(Xe.emStrong.rDelimUnd,"g").replace(/punct/g,Xe._punctuation).getRegex();Xe._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;Xe._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;Xe._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;Xe.autolink=Mt(Xe.autolink).replace("scheme",Xe._scheme).replace("email",Xe._email).getRegex();Xe._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;Xe.tag=Mt(Xe.tag).replace("comment",Xe._comment).replace("attribute",Xe._attribute).getRegex();Xe._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;Xe._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;Xe._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;Xe.link=Mt(Xe.link).replace("label",Xe._label).replace("href",Xe._href).replace("title",Xe._title).getRegex();Xe.reflink=Mt(Xe.reflink).replace("label",Xe._label).replace("ref",at._label).getRegex();Xe.nolink=Mt(Xe.nolink).replace("ref",at._label).getRegex();Xe.reflinkSearch=Mt(Xe.reflinkSearch,"g").replace("reflink",Xe.reflink).replace("nolink",Xe.nolink).getRegex();Xe.normal=so({},Xe);Xe.pedantic=so({},Xe.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Mt(/^!?\[(label)\]\((.*?)\)/).replace("label",Xe._label).getRegex(),reflink:Mt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Xe._label).getRegex()});Xe.gfm=so({},Xe.normal,{escape:Mt(Xe.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(o="x"+o.toString(16)),t+="&#"+o+";";return t}class Mo{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Da,this.options.tokenizer=this.options.tokenizer||new Du,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:at.normal,inline:Xe.normal};this.options.pedantic?(n.block=at.pedantic,n.inline=Xe.pedantic):this.options.gfm&&(n.block=at.gfm,this.options.breaks?n.inline=Xe.breaks:n.inline=Xe.gfm),this.tokenizer.rules=n}static get rules(){return{block:at,inline:Xe}}static lex(t,n){return new Mo(n).lex(t)}static lexInline(t,n){return new Mo(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,` +`&&(z+=1),z>1)return!0;return!1});!g.loose&&T.length&&x&&(g.loose=!0,g.items[l].loose=!0)}return g}}html(t){const n=this.rules.block.html.exec(t);if(n){const o={type:"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:n[0]};return this.options.sanitize&&(o.type="paragraph",o.text=this.options.sanitizer?this.options.sanitizer(n[0]):Jt(n[0]),o.tokens=[],this.lexer.inline(o.text,o.tokens)),o}}def(t){const n=this.rules.block.def.exec(t);if(n){n[3]&&(n[3]=n[3].substring(1,n[3].length-1));const o=n[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:o,raw:n[0],href:n[2],title:n[3]}}}table(t){const n=this.rules.block.table.exec(t);if(n){const o={type:"table",header:Kf(n[1]).map(r=>({text:r})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(` +`):[]};if(o.header.length===o.align.length){o.raw=n[0];let r=o.align.length,a,i,l,s;for(a=0;a({text:c}));for(r=o.header.length,i=0;i/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):Jt(n[0]):n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const o=n[2].trim();if(!this.options.pedantic&&/^$/.test(o))return;const i=Fl(o.slice(0,-1),"\\");if((o.length-i.length)%2===0)return}else{const i=A2(n[2],"()");if(i>-1){const s=(n[0].indexOf("!")===0?5:4)+n[1].length+i;n[2]=n[2].substring(0,i),n[0]=n[0].substring(0,s).trim(),n[3]=""}}let r=n[2],a="";if(this.options.pedantic){const i=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);i&&(r=i[1],a=i[3])}else a=n[3]?n[3].slice(1,-1):"";return r=r.trim(),/^$/.test(o)?r=r.slice(1):r=r.slice(1,-1)),Uf(n,{href:r&&r.replace(this.rules.inline._escapes,"$1"),title:a&&a.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(t,n){let o;if((o=this.rules.inline.reflink.exec(t))||(o=this.rules.inline.nolink.exec(t))){let r=(o[2]||o[1]).replace(/\s+/g," ");if(r=n[r.toLowerCase()],!r||!r.href){const a=o[0].charAt(0);return{type:"text",raw:a,text:a}}return Uf(o,r,o[0],this.lexer)}}emStrong(t,n,o=""){let r=this.rules.inline.emStrong.lDelim.exec(t);if(!r||r[3]&&o.match(/[\p{L}\p{N}]/u))return;const a=r[1]||r[2]||"";if(!a||a&&(o===""||this.rules.inline.punctuation.exec(o))){const i=r[0].length-1;let l,s,c=i,d=0;const u=r[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,n=n.slice(-1*t.length+i);(r=u.exec(n))!=null;){if(l=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!l)continue;if(s=l.length,r[3]||r[4]){c+=s;continue}else if((r[5]||r[6])&&i%3&&!((i+s)%3)){d+=s;continue}if(c-=s,c>0)continue;if(s=Math.min(s,s+c+d),Math.min(i,s)%2){const f=t.slice(1,i+r.index+s);return{type:"em",raw:t.slice(0,i+r.index+s+1),text:f,tokens:this.lexer.inlineTokens(f,[])}}const p=t.slice(2,i+r.index+s-1);return{type:"strong",raw:t.slice(0,i+r.index+s+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let o=n[2].replace(/\n/g," ");const r=/[^ ]/.test(o),a=/^ /.test(o)&&/ $/.test(o);return r&&a&&(o=o.substring(1,o.length-1)),o=Jt(o,!0),{type:"codespan",raw:n[0],text:o}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2],[])}}autolink(t,n){const o=this.rules.inline.autolink.exec(t);if(o){let r,a;return o[2]==="@"?(r=Jt(this.options.mangle?n(o[1]):o[1]),a="mailto:"+r):(r=Jt(o[1]),a=r),{type:"link",raw:o[0],text:r,href:a,tokens:[{type:"text",raw:r,text:r}]}}}url(t,n){let o;if(o=this.rules.inline.url.exec(t)){let r,a;if(o[2]==="@")r=Jt(this.options.mangle?n(o[0]):o[0]),a="mailto:"+r;else{let i;do i=o[0],o[0]=this.rules.inline._backpedal.exec(o[0])[0];while(i!==o[0]);r=Jt(o[0]),o[1]==="www."?a="http://"+r:a=r}return{type:"link",raw:o[0],text:r,href:a,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t,n){const o=this.rules.inline.text.exec(t);if(o){let r;return this.lexer.state.inRawBlock?r=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):Jt(o[0]):o[0]:r=Jt(this.options.smartypants?n(o[0]):o[0]),{type:"text",raw:o[0],text:r}}}}const at={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:_s,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};at._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;at._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;at.def=Mt(at.def).replace("label",at._label).replace("title",at._title).getRegex();at.bullet=/(?:[*+-]|\d{1,9}[.)])/;at.listItemStart=Mt(/^( *)(bull) */).replace("bull",at.bullet).getRegex();at.list=Mt(at.list).replace(/bull/g,at.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+at.def.source+")").getRegex();at._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";at._comment=/|$)/;at.html=Mt(at.html,"i").replace("comment",at._comment).replace("tag",at._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();at.paragraph=Mt(at._paragraph).replace("hr",at.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",at._tag).getRegex();at.blockquote=Mt(at.blockquote).replace("paragraph",at.paragraph).getRegex();at.normal=so({},at);at.gfm=so({},at.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});at.gfm.table=Mt(at.gfm.table).replace("hr",at.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",at._tag).getRegex();at.gfm.paragraph=Mt(at._paragraph).replace("hr",at.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",at.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",at._tag).getRegex();at.pedantic=so({},at.normal,{html:Mt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",at._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:_s,paragraph:Mt(at.normal._paragraph).replace("hr",at.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",at.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const Xe={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:_s,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:_s,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~";Xe.punctuation=Mt(Xe.punctuation).replace(/punctuation/g,Xe._punctuation).getRegex();Xe.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;Xe.escapedEmSt=/\\\*|\\_/g;Xe._comment=Mt(at._comment).replace("(?:-->|$)","-->").getRegex();Xe.emStrong.lDelim=Mt(Xe.emStrong.lDelim).replace(/punct/g,Xe._punctuation).getRegex();Xe.emStrong.rDelimAst=Mt(Xe.emStrong.rDelimAst,"g").replace(/punct/g,Xe._punctuation).getRegex();Xe.emStrong.rDelimUnd=Mt(Xe.emStrong.rDelimUnd,"g").replace(/punct/g,Xe._punctuation).getRegex();Xe._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;Xe._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;Xe._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;Xe.autolink=Mt(Xe.autolink).replace("scheme",Xe._scheme).replace("email",Xe._email).getRegex();Xe._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;Xe.tag=Mt(Xe.tag).replace("comment",Xe._comment).replace("attribute",Xe._attribute).getRegex();Xe._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;Xe._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;Xe._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;Xe.link=Mt(Xe.link).replace("label",Xe._label).replace("href",Xe._href).replace("title",Xe._title).getRegex();Xe.reflink=Mt(Xe.reflink).replace("label",Xe._label).replace("ref",at._label).getRegex();Xe.nolink=Mt(Xe.nolink).replace("ref",at._label).getRegex();Xe.reflinkSearch=Mt(Xe.reflinkSearch,"g").replace("reflink",Xe.reflink).replace("nolink",Xe.nolink).getRegex();Xe.normal=so({},Xe);Xe.pedantic=so({},Xe.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Mt(/^!?\[(label)\]\((.*?)\)/).replace("label",Xe._label).getRegex(),reflink:Mt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Xe._label).getRegex()});Xe.gfm=so({},Xe.normal,{escape:Mt(Xe.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(o="x"+o.toString(16)),t+="&#"+o+";";return t}class Mo{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Da,this.options.tokenizer=this.options.tokenizer||new Fu,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:at.normal,inline:Xe.normal};this.options.pedantic?(n.block=at.pedantic,n.inline=Xe.pedantic):this.options.gfm&&(n.block=at.gfm,this.options.breaks?n.inline=Xe.breaks:n.inline=Xe.gfm),this.tokenizer.rules=n}static get rules(){return{block:at,inline:Xe}}static lex(t,n){return new Mo(n).lex(t)}static lexInline(t,n){return new Mo(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,` `),this.blockTokens(t,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(t,n=[]){this.options.pedantic?t=t.replace(/\t/g," ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(l,s,c)=>s+" ".repeat(c.length));let o,r,a,i;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(l=>(o=l.call({lexer:this},t,n))?(t=t.substring(o.raw.length),n.push(o),!0):!1))){if(o=this.tokenizer.space(t)){t=t.substring(o.raw.length),o.raw.length===1&&n.length>0?n[n.length-1].raw+=` `:n.push(o);continue}if(o=this.tokenizer.code(t)){t=t.substring(o.raw.length),r=n[n.length-1],r&&(r.type==="paragraph"||r.type==="text")?(r.raw+=` `+o.raw,r.text+=` @@ -7954,7 +6930,7 @@ with tf.compat.v1.Session() as sess: `+o.raw,r.text+=` `+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):n.push(o),i=a.length!==t.length,t=t.substring(o.raw.length);continue}if(o=this.tokenizer.text(t)){t=t.substring(o.raw.length),r=n[n.length-1],r&&r.type==="text"?(r.raw+=` `+o.raw,r.text+=` -`+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):n.push(o);continue}if(t){const l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,n}inline(t,n){this.inlineQueue.push({src:t,tokens:n})}inlineTokens(t,n=[]){let o,r,a,i=t,l,s,c;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(l=this.tokenizer.rules.inline.reflinkSearch.exec(i))!=null;)d.includes(l[0].slice(l[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,l.index)+"["+Uf("a",l[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(l=this.tokenizer.rules.inline.blockSkip.exec(i))!=null;)i=i.slice(0,l.index)+"["+Uf("a",l[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(l=this.tokenizer.rules.inline.escapedEmSt.exec(i))!=null;)i=i.slice(0,l.index)+"++"+i.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;t;)if(s||(c=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(d=>(o=d.call({lexer:this},t,n))?(t=t.substring(o.raw.length),n.push(o),!0):!1))){if(o=this.tokenizer.escape(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.tag(t)){t=t.substring(o.raw.length),r=n[n.length-1],r&&o.type==="text"&&r.type==="text"?(r.raw+=o.raw,r.text+=o.text):n.push(o);continue}if(o=this.tokenizer.link(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(o.raw.length),r=n[n.length-1],r&&o.type==="text"&&r.type==="text"?(r.raw+=o.raw,r.text+=o.text):n.push(o);continue}if(o=this.tokenizer.emStrong(t,i,c)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.codespan(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.br(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.del(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.autolink(t,Gf)){t=t.substring(o.raw.length),n.push(o);continue}if(!this.state.inLink&&(o=this.tokenizer.url(t,Gf))){t=t.substring(o.raw.length),n.push(o);continue}if(a=t,this.options.extensions&&this.options.extensions.startInline){let d=1/0;const u=t.slice(1);let p;this.options.extensions.startInline.forEach(function(f){p=f.call({lexer:this},u),typeof p=="number"&&p>=0&&(d=Math.min(d,p))}),d<1/0&&d>=0&&(a=t.substring(0,d+1))}if(o=this.tokenizer.inlineText(a,N2)){t=t.substring(o.raw.length),o.raw.slice(-1)!=="_"&&(c=o.raw.slice(-1)),s=!0,r=n[n.length-1],r&&r.type==="text"?(r.raw+=o.raw,r.text+=o.text):n.push(o);continue}if(t){const d="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return n}}class Lu{constructor(t){this.options=t||Da}code(t,n,o){const r=(n||"").match(/\S*/)[0];if(this.options.highlight){const a=this.options.highlight(t,r);a!=null&&a!==t&&(o=!0,t=a)}return t=t.replace(/\n$/,"")+` +`+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):n.push(o);continue}if(t){const l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,n}inline(t,n){this.inlineQueue.push({src:t,tokens:n})}inlineTokens(t,n=[]){let o,r,a,i=t,l,s,c;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(l=this.tokenizer.rules.inline.reflinkSearch.exec(i))!=null;)d.includes(l[0].slice(l[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,l.index)+"["+Wf("a",l[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(l=this.tokenizer.rules.inline.blockSkip.exec(i))!=null;)i=i.slice(0,l.index)+"["+Wf("a",l[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(l=this.tokenizer.rules.inline.escapedEmSt.exec(i))!=null;)i=i.slice(0,l.index)+"++"+i.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;t;)if(s||(c=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(d=>(o=d.call({lexer:this},t,n))?(t=t.substring(o.raw.length),n.push(o),!0):!1))){if(o=this.tokenizer.escape(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.tag(t)){t=t.substring(o.raw.length),r=n[n.length-1],r&&o.type==="text"&&r.type==="text"?(r.raw+=o.raw,r.text+=o.text):n.push(o);continue}if(o=this.tokenizer.link(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(o.raw.length),r=n[n.length-1],r&&o.type==="text"&&r.type==="text"?(r.raw+=o.raw,r.text+=o.text):n.push(o);continue}if(o=this.tokenizer.emStrong(t,i,c)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.codespan(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.br(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.del(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.autolink(t,Yf)){t=t.substring(o.raw.length),n.push(o);continue}if(!this.state.inLink&&(o=this.tokenizer.url(t,Yf))){t=t.substring(o.raw.length),n.push(o);continue}if(a=t,this.options.extensions&&this.options.extensions.startInline){let d=1/0;const u=t.slice(1);let p;this.options.extensions.startInline.forEach(function(f){p=f.call({lexer:this},u),typeof p=="number"&&p>=0&&(d=Math.min(d,p))}),d<1/0&&d>=0&&(a=t.substring(0,d+1))}if(o=this.tokenizer.inlineText(a,z2)){t=t.substring(o.raw.length),o.raw.slice(-1)!=="_"&&(c=o.raw.slice(-1)),s=!0,r=n[n.length-1],r&&r.type==="text"?(r.raw+=o.raw,r.text+=o.text):n.push(o);continue}if(t){const d="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return n}}class Du{constructor(t){this.options=t||Da}code(t,n,o){const r=(n||"").match(/\S*/)[0];if(this.options.highlight){const a=this.options.highlight(t,r);a!=null&&a!==t&&(o=!0,t=a)}return t=t.replace(/\n$/,"")+` `,r?'
'+(o?t:Jt(t,!0))+`
`:"
"+(o?t:Jt(t,!0))+`
`}blockquote(t){return`
@@ -7974,14 +6950,14 @@ ${t}
`}tablerow(t){return` ${t} `}tablecell(t,n){const o=n.header?"th":"td";return(n.align?`<${o} align="${n.align}">`:`<${o}>`)+t+` -`}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return this.options.xhtml?"
":"
"}del(t){return`${t}`}link(t,n,o){if(t=Kf(this.options.sanitize,this.options.baseUrl,t),t===null)return o;let r='",r}image(t,n,o){if(t=Kf(this.options.sanitize,this.options.baseUrl,t),t===null)return o;let r=`${o}":">",r}text(t){return t}}class Qb{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,o){return""+o}image(t,n,o){return""+o}br(){return""}}class ev{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,n){let o=t,r=0;if(this.seen.hasOwnProperty(o)){r=this.seen[t];do r++,o=t+"-"+r;while(this.seen.hasOwnProperty(o))}return n||(this.seen[t]=r,this.seen[o]=0),o}slug(t,n={}){const o=this.serialize(t);return this.getNextSafeSlug(o,n.dryrun)}}class Ro{constructor(t){this.options=t||Da,this.options.renderer=this.options.renderer||new Lu,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Qb,this.slugger=new ev}static parse(t,n){return new Ro(n).parse(t)}static parseInline(t,n){return new Ro(n).parseInline(t)}parse(t,n=!0){let o="",r,a,i,l,s,c,d,u,p,f,h,b,m,g,v,y,T,x,k;const $=t.length;for(r=0;r<$;r++){if(f=t[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[f.type]&&(k=this.options.extensions.renderers[f.type].call({parser:this},f),k!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(f.type))){o+=k||"";continue}switch(f.type){case"space":continue;case"hr":{o+=this.renderer.hr();continue}case"heading":{o+=this.renderer.heading(this.parseInline(f.tokens),f.depth,Zb(this.parseInline(f.tokens,this.textRenderer)),this.slugger);continue}case"code":{o+=this.renderer.code(f.text,f.lang,f.escaped);continue}case"table":{for(u="",d="",l=f.header.length,a=0;a0&&v.tokens[0].type==="paragraph"?(v.tokens[0].text=x+" "+v.tokens[0].text,v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&v.tokens[0].tokens[0].type==="text"&&(v.tokens[0].tokens[0].text=x+" "+v.tokens[0].tokens[0].text)):v.tokens.unshift({type:"text",text:x}):g+=x),g+=this.parse(v.tokens,m),p+=this.renderer.listitem(g,T,y);o+=this.renderer.list(p,h,b);continue}case"html":{o+=this.renderer.html(f.text);continue}case"paragraph":{o+=this.renderer.paragraph(this.parseInline(f.tokens));continue}case"text":{for(p=f.tokens?this.parseInline(f.tokens):f.text;r+1<$&&t[r+1].type==="text";)f=t[++r],p+=` +`}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return this.options.xhtml?"
":"
"}del(t){return`${t}`}link(t,n,o){if(t=qf(this.options.sanitize,this.options.baseUrl,t),t===null)return o;let r='
",r}image(t,n,o){if(t=qf(this.options.sanitize,this.options.baseUrl,t),t===null)return o;let r=`${o}":">",r}text(t){return t}}class Qb{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,o){return""+o}image(t,n,o){return""+o}br(){return""}}class ev{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,n){let o=t,r=0;if(this.seen.hasOwnProperty(o)){r=this.seen[t];do r++,o=t+"-"+r;while(this.seen.hasOwnProperty(o))}return n||(this.seen[t]=r,this.seen[o]=0),o}slug(t,n={}){const o=this.serialize(t);return this.getNextSafeSlug(o,n.dryrun)}}class Ro{constructor(t){this.options=t||Da,this.options.renderer=this.options.renderer||new Du,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Qb,this.slugger=new ev}static parse(t,n){return new Ro(n).parse(t)}static parseInline(t,n){return new Ro(n).parseInline(t)}parse(t,n=!0){let o="",r,a,i,l,s,c,d,u,p,f,h,b,m,g,v,y,T,x,k;const $=t.length;for(r=0;r<$;r++){if(f=t[r],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[f.type]&&(k=this.options.extensions.renderers[f.type].call({parser:this},f),k!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(f.type))){o+=k||"";continue}switch(f.type){case"space":continue;case"hr":{o+=this.renderer.hr();continue}case"heading":{o+=this.renderer.heading(this.parseInline(f.tokens),f.depth,Zb(this.parseInline(f.tokens,this.textRenderer)),this.slugger);continue}case"code":{o+=this.renderer.code(f.text,f.lang,f.escaped);continue}case"table":{for(u="",d="",l=f.header.length,a=0;a0&&v.tokens[0].type==="paragraph"?(v.tokens[0].text=x+" "+v.tokens[0].text,v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&v.tokens[0].tokens[0].type==="text"&&(v.tokens[0].tokens[0].text=x+" "+v.tokens[0].tokens[0].text)):v.tokens.unshift({type:"text",text:x}):g+=x),g+=this.parse(v.tokens,m),p+=this.renderer.listitem(g,T,y);o+=this.renderer.list(p,h,b);continue}case"html":{o+=this.renderer.html(f.text);continue}case"paragraph":{o+=this.renderer.paragraph(this.parseInline(f.tokens));continue}case"text":{for(p=f.tokens?this.parseInline(f.tokens):f.text;r+1<$&&t[r+1].type==="text";)f=t[++r],p+=` `+(f.tokens?this.parseInline(f.tokens):f.text);o+=n?this.renderer.paragraph(p):p;continue}default:{const z='Token with "'+f.type+'" type was not found.';if(this.options.silent){console.error(z);return}else throw new Error(z)}}}return o}parseInline(t,n){n=n||this.renderer;let o="",r,a,i;const l=t.length;for(r=0;r{o(l.text,l.lang,function(s,c){if(s)return a(s);c!=null&&c!==l.text&&(l.text=c,l.escaped=!0),i--,i===0&&a()})},0))}),i===0&&a();return}try{const o=Mo.lex(e,t);return t.walkTokens&&ht.walkTokens(o,t.walkTokens),Ro.parse(o,t)}catch(o){if(o.message+=` -Please report this to https://github.com/markedjs/marked.`,t.silent)return"

An error occurred:

"+Jt(o.message+"",!0)+"
";throw o}}ht.options=ht.setOptions=function(e){return so(ht.defaults,e),g2(ht.defaults),ht};ht.getDefaults=Xb;ht.defaults=Da;ht.use=function(...e){const t=so({},...e),n=ht.defaults.extensions||{renderers:{},childTokens:{}};let o;e.forEach(r=>{if(r.extensions&&(o=!0,r.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if(a.renderer){const i=n.renderers?n.renderers[a.name]:null;i?n.renderers[a.name]=function(...l){let s=a.renderer.apply(this,l);return s===!1&&(s=i.apply(this,l)),s}:n.renderers[a.name]=a.renderer}if(a.tokenizer){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");n[a.level]?n[a.level].unshift(a.tokenizer):n[a.level]=[a.tokenizer],a.start&&(a.level==="block"?n.startBlock?n.startBlock.push(a.start):n.startBlock=[a.start]:a.level==="inline"&&(n.startInline?n.startInline.push(a.start):n.startInline=[a.start]))}a.childTokens&&(n.childTokens[a.name]=a.childTokens)})),r.renderer){const a=ht.defaults.renderer||new Lu;for(const i in r.renderer){const l=a[i];a[i]=(...s)=>{let c=r.renderer[i].apply(a,s);return c===!1&&(c=l.apply(a,s)),c}}t.renderer=a}if(r.tokenizer){const a=ht.defaults.tokenizer||new Du;for(const i in r.tokenizer){const l=a[i];a[i]=(...s)=>{let c=r.tokenizer[i].apply(a,s);return c===!1&&(c=l.apply(a,s)),c}}t.tokenizer=a}if(r.walkTokens){const a=ht.defaults.walkTokens;t.walkTokens=function(i){r.walkTokens.call(this,i),a&&a.call(this,i)}}o&&(t.extensions=n),ht.setOptions(t)})};ht.walkTokens=function(e,t){for(const n of e)switch(t.call(ht,n),n.type){case"table":{for(const o of n.header)ht.walkTokens(o.tokens,t);for(const o of n.rows)for(const r of o)ht.walkTokens(r.tokens,t);break}case"list":{ht.walkTokens(n.items,t);break}default:ht.defaults.extensions&&ht.defaults.extensions.childTokens&&ht.defaults.extensions.childTokens[n.type]?ht.defaults.extensions.childTokens[n.type].forEach(function(o){ht.walkTokens(n[o],t)}):n.tokens&&ht.walkTokens(n.tokens,t)}};ht.parseInline=function(e,t){if(typeof e=="undefined"||e===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof e!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=so({},ht.defaults,t||{}),Jb(t);try{const n=Mo.lexInline(e,t);return t.walkTokens&&ht.walkTokens(n,t.walkTokens),Ro.parseInline(n,t)}catch(n){if(n.message+=` -Please report this to https://github.com/markedjs/marked.`,t.silent)return"

An error occurred:

"+Jt(n.message+"",!0)+"
";throw n}};ht.Parser=Ro;ht.parser=Ro.parse;ht.Renderer=Lu;ht.TextRenderer=Qb;ht.Lexer=Mo;ht.lexer=Mo.lex;ht.Tokenizer=Du;ht.Slugger=ev;ht.parse=ht;Ro.parse;Mo.lex;var tv=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},M2=Object.defineProperty,R2=Object.getOwnPropertyDescriptor,P2=(e,t,n,o)=>{for(var r=o>1?void 0:o?R2(t,n):t,a=e.length-1,i;a>=0;a--)(i=e[a])&&(r=(o?i(t,n,r):i(r))||r);return o&&r&&M2(t,n,r),r};function O2(e,t,n){return n.indexOf(e)===t}let wd=class extends Fu{get types(){return Hf.map(e=>e.type).filter(O2)}mounted(){YG(".api").accordion({collapsible:!0,header:".header",heightStyle:"content",active:!1})}encodeHtml(e){return e?ht(e):""}apis(e){return Hf.filter(t=>t.type==e)}};wd=P2([Gb({components:{}})],wd);const F2=wd,D2={id:"Home"},L2={class:"header clickable"},V2={class:"name"},B2=["innerHTML"],j2={class:"content"},H2=["innerHTML"];function q2(e,t,n,o,r,a){return w(),I("div",D2,[(w(!0),I(Fe,null,ct(e.types,i=>(w(),I("div",{class:"category",key:i},[M("h2",null,ve(i),1),(w(!0),I(Fe,null,ct(e.apis(i),l=>(w(),I("div",{class:"api",key:l.name},[M("div",L2,[M("span",V2,ve(l.name),1),M("span",{class:"desc",innerHTML:l.desc},null,8,B2)]),M("div",j2,[M("div",{class:"md-docstring",innerHTML:e.encodeHtml(l.docs)},null,8,H2)])]))),128))]))),128))])}var K2=tv(F2,[["render",q2],["__scopeId","data-v-743fbe10"]]),W2=Object.defineProperty,U2=Object.getOwnPropertyDescriptor,Y2=(e,t,n,o)=>{for(var r=o>1?void 0:o?U2(t,n):t,a=e.length-1,i;a>=0;a--)(i=e[a])&&(r=(o?i(t,n,r):i(r))||r);return o&&r&&W2(t,n,r),r};let xd=class extends Fu{};xd=Y2([Gb({components:{}})],xd);const G2=xd,X2=e=>(kw("data-v-bdbb760e"),e=e(),Tw(),e),Z2={id:"About"},J2=it(" This is HyDEV's Template "),Q2=X2(()=>M("div",null,"for Vue 3 + Typescript + Vite + Vue Router + SASS + Element Plus + Class Components",-1)),e3=[J2,Q2];function t3(e,t,n,o,r,a){return w(),I("div",Z2,e3)}var n3=tv(G2,[["render",t3],["__scopeId","data-v-bdbb760e"]]);/*! +Please report this to https://github.com/markedjs/marked.`,t.silent)return"

An error occurred:

"+Jt(o.message+"",!0)+"
";throw o}}ht.options=ht.setOptions=function(e){return so(ht.defaults,e),h2(ht.defaults),ht};ht.getDefaults=Xb;ht.defaults=Da;ht.use=function(...e){const t=so({},...e),n=ht.defaults.extensions||{renderers:{},childTokens:{}};let o;e.forEach(r=>{if(r.extensions&&(o=!0,r.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if(a.renderer){const i=n.renderers?n.renderers[a.name]:null;i?n.renderers[a.name]=function(...l){let s=a.renderer.apply(this,l);return s===!1&&(s=i.apply(this,l)),s}:n.renderers[a.name]=a.renderer}if(a.tokenizer){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");n[a.level]?n[a.level].unshift(a.tokenizer):n[a.level]=[a.tokenizer],a.start&&(a.level==="block"?n.startBlock?n.startBlock.push(a.start):n.startBlock=[a.start]:a.level==="inline"&&(n.startInline?n.startInline.push(a.start):n.startInline=[a.start]))}a.childTokens&&(n.childTokens[a.name]=a.childTokens)})),r.renderer){const a=ht.defaults.renderer||new Du;for(const i in r.renderer){const l=a[i];a[i]=(...s)=>{let c=r.renderer[i].apply(a,s);return c===!1&&(c=l.apply(a,s)),c}}t.renderer=a}if(r.tokenizer){const a=ht.defaults.tokenizer||new Fu;for(const i in r.tokenizer){const l=a[i];a[i]=(...s)=>{let c=r.tokenizer[i].apply(a,s);return c===!1&&(c=l.apply(a,s)),c}}t.tokenizer=a}if(r.walkTokens){const a=ht.defaults.walkTokens;t.walkTokens=function(i){r.walkTokens.call(this,i),a&&a.call(this,i)}}o&&(t.extensions=n),ht.setOptions(t)})};ht.walkTokens=function(e,t){for(const n of e)switch(t.call(ht,n),n.type){case"table":{for(const o of n.header)ht.walkTokens(o.tokens,t);for(const o of n.rows)for(const r of o)ht.walkTokens(r.tokens,t);break}case"list":{ht.walkTokens(n.items,t);break}default:ht.defaults.extensions&&ht.defaults.extensions.childTokens&&ht.defaults.extensions.childTokens[n.type]?ht.defaults.extensions.childTokens[n.type].forEach(function(o){ht.walkTokens(n[o],t)}):n.tokens&&ht.walkTokens(n.tokens,t)}};ht.parseInline=function(e,t){if(typeof e=="undefined"||e===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof e!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=so({},ht.defaults,t||{}),Jb(t);try{const n=Mo.lexInline(e,t);return t.walkTokens&&ht.walkTokens(n,t.walkTokens),Ro.parseInline(n,t)}catch(n){if(n.message+=` +Please report this to https://github.com/markedjs/marked.`,t.silent)return"

An error occurred:

"+Jt(n.message+"",!0)+"
";throw n}};ht.Parser=Ro;ht.parser=Ro.parse;ht.Renderer=Du;ht.TextRenderer=Qb;ht.Lexer=Mo;ht.lexer=Mo.lex;ht.Tokenizer=Fu;ht.Slugger=ev;ht.parse=ht;Ro.parse;Mo.lex;var tv=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},I2=Object.defineProperty,N2=Object.getOwnPropertyDescriptor,M2=(e,t,n,o)=>{for(var r=o>1?void 0:o?N2(t,n):t,a=e.length-1,i;a>=0;a--)(i=e[a])&&(r=(o?i(t,n,r):i(r))||r);return o&&r&&I2(t,n,r),r};function R2(e,t,n){return n.indexOf(e)===t}let _d=class extends Ou{get types(){return jf.map(e=>e.type).filter(R2)}mounted(){jG(".api").accordion({collapsible:!0,header:".header",heightStyle:"content",active:!1})}encodeHtml(e){return e?ht(e):""}apis(e){return jf.filter(t=>t.type==e)}};_d=M2([Gb({components:{}})],_d);const P2=_d,O2={id:"Home"},F2={class:"header clickable"},D2={class:"name"},L2=["innerHTML"],V2={class:"content"},B2=["innerHTML"];function j2(e,t,n,o,r,a){return w(),I("div",O2,[(w(!0),I(Fe,null,st(e.types,i=>(w(),I("div",{class:"category",key:i},[R("h2",null,ve(i),1),(w(!0),I(Fe,null,st(e.apis(i),l=>(w(),I("div",{class:"api",key:l.name},[R("div",F2,[R("span",D2,ve(l.name),1),R("span",{class:"desc",innerHTML:l.desc},null,8,L2)]),R("div",V2,[R("div",{class:"md-docstring",innerHTML:e.encodeHtml(l.docs)},null,8,B2)])]))),128))]))),128))])}var H2=tv(P2,[["render",j2],["__scopeId","data-v-743fbe10"]]),q2=Object.defineProperty,K2=Object.getOwnPropertyDescriptor,W2=(e,t,n,o)=>{for(var r=o>1?void 0:o?K2(t,n):t,a=e.length-1,i;a>=0;a--)(i=e[a])&&(r=(o?i(t,n,r):i(r))||r);return o&&r&&q2(t,n,r),r};let wd=class extends Ou{};wd=W2([Gb({components:{}})],wd);const U2=wd,Y2={id:"About"};function G2(e,t,n,o,r,a){return w(),I("div",Y2,' Under the supervision of Professor Maleknaz Nayebi and the Faculty of Lassonde School of Engineering in the Department of EECS, worked on a project titled "Customizing and Tailoring Machine Learning Documentation". Duties and Responsibilities consist of gathering data, pre-processing and mining the metadata, pre-processing and mining images, auto-captioning, and operating databases. The research project is presented at the Lassonde Undergraduate Research Conference. ')}var X2=tv(U2,[["render",G2],["__scopeId","data-v-2536f6e8"]]);/*! * vue-router v4.0.15 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const nv=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",La=e=>nv?Symbol(e):"_vr_"+e,o3=La("rvlm"),Xf=La("rvd"),Vu=La("r"),ov=La("rl"),kd=La("rvl"),la=typeof window!="undefined";function r3(e){return e.__esModule||nv&&e[Symbol.toStringTag]==="Module"}const It=Object.assign;function Tc(e,t){const n={};for(const o in t){const r=t[o];n[o]=Array.isArray(r)?r.map(e):e(r)}return n}const mi=()=>{},a3=/\/$/,i3=e=>e.replace(a3,"");function Cc(e,t,n="/"){let o,r={},a="",i="";const l=t.indexOf("?"),s=t.indexOf("#",l>-1?l:0);return l>-1&&(o=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),r=e(a)),s>-1&&(o=o||t.slice(0,s),i=t.slice(s,t.length)),o=d3(o!=null?o:t,n),{fullPath:o+(a&&"?")+a+i,path:o,query:r,hash:i}}function l3(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Zf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function s3(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&xa(t.matched[o],n.matched[r])&&rv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xa(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!c3(e[n],t[n]))return!1;return!0}function c3(e,t){return Array.isArray(e)?Jf(e,t):Array.isArray(t)?Jf(t,e):e===t}function Jf(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function d3(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r=n.length-1,a,i;for(a=0;a({left:window.pageXOffset,top:window.pageYOffset});function m3(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=h3(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Qf(e,t){return(history.state?history.state.position-t:-1)+e}const Td=new Map;function g3(e,t){Td.set(e,t)}function b3(e){const t=Td.get(e);return Td.delete(e),t}let v3=()=>location.protocol+"//"+location.host;function av(e,t){const{pathname:n,search:o,hash:r}=t,a=e.indexOf("#");if(a>-1){let l=r.includes(e.slice(a))?e.slice(a).length:1,s=r.slice(l);return s[0]!=="/"&&(s="/"+s),Zf(s,"")}return Zf(n,e)+o+r}function y3(e,t,n,o){let r=[],a=[],i=null;const l=({state:p})=>{const f=av(e,location),h=n.value,b=t.value;let m=0;if(p){if(n.value=f,t.value=p,i&&i===h){i=null;return}m=b?p.position-b.position:0}else o(f);r.forEach(g=>{g(n.value,h,{delta:m,type:Pi.pop,direction:m?m>0?gi.forward:gi.back:gi.unknown})})};function s(){i=n.value}function c(p){r.push(p);const f=()=>{const h=r.indexOf(p);h>-1&&r.splice(h,1)};return a.push(f),f}function d(){const{history:p}=window;!p.state||p.replaceState(It({},p.state,{scroll:Gs()}),"")}function u(){for(const p of a)p();a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",d),{pauseListeners:s,listen:c,destroy:u}}function eh(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Gs():null}}function _3(e){const{history:t,location:n}=window,o={value:av(e,n)},r={value:t.state};r.value||a(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(s,c,d){const u=e.indexOf("#"),p=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+s:v3()+e+s;try{t[d?"replaceState":"pushState"](c,"",p),r.value=c}catch(f){console.error(f),n[d?"replace":"assign"](p)}}function i(s,c){const d=It({},t.state,eh(r.value.back,s,r.value.forward,!0),c,{position:r.value.position});a(s,d,!0),o.value=s}function l(s,c){const d=It({},r.value,t.state,{forward:s,scroll:Gs()});a(d.current,d,!0);const u=It({},eh(o.value,s,null),{position:d.position+1},c);a(s,u,!1),o.value=s}return{location:o,state:r,push:l,replace:i}}function w3(e){e=u3(e);const t=_3(e),n=y3(e,t.state,t.location,t.replace);function o(a,i=!0){i||n.pauseListeners(),history.go(a)}const r=It({location:"",base:e,go:o,createHref:f3.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 x3(e){return typeof e=="string"||e&&typeof e=="object"}function iv(e){return typeof e=="string"||typeof e=="symbol"}const Yo={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},lv=La("nf");var th;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(th||(th={}));function ka(e,t){return It(new Error,{type:e,[lv]:!0},t)}function Go(e,t){return e instanceof Error&&lv in e&&(t==null||!!(e.type&t))}const nh="[^/]+?",k3={sensitive:!1,strict:!1,start:!0,end:!0},T3=/[.+*?^${}()[\]/\\]/g;function C3(e,t){const n=It({},k3,t),o=[];let r=n.start?"^":"";const a=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let u=0;u1&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error(`Missing required param "${h}"`);d+=v}}return d}return{re:i,score:o,keys:a,parse:l,stringify:s}}function S3(e,t){let n=0;for(;nt.length?t.length===1&&t[0]===40+40?1:-1:0}function $3(e,t){let n=0;const o=e.score,r=t.score;for(;n1&&(s==="*"||s==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:d,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l{i(v)}:mi}function i(d){if(iv(d)){const u=o.get(d);u&&(o.delete(d),n.splice(n.indexOf(u),1),u.children.forEach(i),u.alias.forEach(i))}else{const u=n.indexOf(d);u>-1&&(n.splice(u,1),d.record.name&&o.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function s(d){let u=0;for(;u=0&&(d.record.path!==n[u].record.path||!sv(d,n[u]));)u++;n.splice(u,0,d),d.record.name&&!oh(d)&&o.set(d.record.name,d)}function c(d,u){let p,f={},h,b;if("name"in d&&d.name){if(p=o.get(d.name),!p)throw ka(1,{location:d});b=p.record.name,f=It(M3(u.params,p.keys.filter(v=>!v.optional).map(v=>v.name)),d.params),h=p.stringify(f)}else if("path"in d)h=d.path,p=n.find(v=>v.re.test(h)),p&&(f=p.parse(h),b=p.record.name);else{if(p=u.name?o.get(u.name):n.find(v=>v.re.test(u.path)),!p)throw ka(1,{location:d,currentLocation:u});b=p.record.name,f=It({},u.params,d.params),h=p.stringify(f)}const m=[];let g=p;for(;g;)m.unshift(g.record),g=g.parent;return{name:b,path:h,params:f,matched:m,meta:O3(m)}}return e.forEach(d=>a(d)),{addRoute:a,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function M3(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function R3(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:P3(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function P3(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=="boolean"?n:n[o];return t}function oh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function O3(e){return e.reduce((t,n)=>It(t,n.meta),{})}function rh(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function sv(e,t){return t.children.some(n=>n===e||sv(e,n))}const cv=/#/g,F3=/&/g,D3=/\//g,L3=/=/g,V3=/\?/g,dv=/\+/g,B3=/%5B/g,j3=/%5D/g,uv=/%5E/g,H3=/%60/g,pv=/%7B/g,q3=/%7C/g,fv=/%7D/g,K3=/%20/g;function Bu(e){return encodeURI(""+e).replace(q3,"|").replace(B3,"[").replace(j3,"]")}function W3(e){return Bu(e).replace(pv,"{").replace(fv,"}").replace(uv,"^")}function Cd(e){return Bu(e).replace(dv,"%2B").replace(K3,"+").replace(cv,"%23").replace(F3,"%26").replace(H3,"`").replace(pv,"{").replace(fv,"}").replace(uv,"^")}function U3(e){return Cd(e).replace(L3,"%3D")}function Y3(e){return Bu(e).replace(cv,"%23").replace(V3,"%3F")}function G3(e){return e==null?"":Y3(e).replace(D3,"%2F")}function ws(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function X3(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ra&&Cd(a)):[o&&Cd(o)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function Z3(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Array.isArray(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}function Qa(){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,reset:n}}function nr(e,t,n,o,r){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const s=u=>{u===!1?l(ka(4,{from:n,to:t})):u instanceof Error?l(u):x3(u)?l(ka(2,{from:t,to:u})):(a&&o.enterCallbacks[r]===a&&typeof u=="function"&&a.push(u),i())},c=e.call(o&&o.instances[r],t,n,s);let d=Promise.resolve(c);e.length<3&&(d=d.then(s)),d.catch(u=>l(u))})}function Sc(e,t,n,o){const r=[];for(const a of e)for(const i in a.components){let l=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(J3(l)){const c=(l.__vccOpts||l)[t];c&&r.push(nr(c,n,o,a,i))}else{let s=l();r.push(()=>s.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${a.path}"`));const d=r3(c)?c.default:c;a.components[i]=d;const p=(d.__vccOpts||d)[t];return p&&nr(p,n,o,a,i)()}))}}return r}function J3(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ih(e){const t=Ie(Vu),n=Ie(ov),o=C(()=>t.resolve(_(e.to))),r=C(()=>{const{matched:s}=o.value,{length:c}=s,d=s[c-1],u=n.matched;if(!d||!u.length)return-1;const p=u.findIndex(xa.bind(null,d));if(p>-1)return p;const f=lh(s[c-2]);return c>1&&lh(d)===f&&u[u.length-1].path!==f?u.findIndex(xa.bind(null,s[c-2])):p}),a=C(()=>r.value>-1&&nk(n.params,o.value.params)),i=C(()=>r.value>-1&&r.value===n.matched.length-1&&rv(n.params,o.value.params));function l(s={}){return tk(s)?t[_(e.replace)?"replace":"push"](_(e.to)).catch(mi):Promise.resolve()}return{route:o,href:C(()=>o.value.href),isActive:a,isExactActive:i,navigate:l}}const Q3=ee({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ih,setup(e,{slots:t}){const n=vt(ih(e)),{options:o}=Ie(Vu),r=C(()=>({[sh(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[sh(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:Re("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},a)}}}),ek=Q3;function tk(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 nk(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(!Array.isArray(r)||r.length!==o.length||o.some((a,i)=>a!==r[i]))return!1}return!0}function lh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const sh=(e,t,n)=>e!=null?e:t!=null?t:n,ok=ee({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ie(kd),r=C(()=>e.route||o.value),a=Ie(Xf,0),i=C(()=>r.value.matched[a]);ot(Xf,a+1),ot(o3,i),ot(kd,r);const l=A();return ge(()=>[l.value,i.value,e.name],([s,c,d],[u,p,f])=>{c&&(c.instances[d]=s,p&&p!==c&&s&&s===u&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),s&&c&&(!p||!xa(c,p)||!u)&&(c.enterCallbacks[d]||[]).forEach(h=>h(s))},{flush:"post"}),()=>{const s=r.value,c=i.value,d=c&&c.components[e.name],u=e.name;if(!d)return ch(n.default,{Component:d,route:s});const p=c.props[e.name],f=p?p===!0?s.params:typeof p=="function"?p(s):p:null,b=Re(d,It({},f,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(c.instances[u]=null)},ref:l}));return ch(n.default,{Component:b,route:s})||b}}});function ch(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const rk=ok;function ak(e){const t=N3(e.routes,e),n=e.parseQuery||X3,o=e.stringifyQuery||ah,r=e.history,a=Qa(),i=Qa(),l=Qa(),s=Kt(Yo);let c=Yo;la&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Tc.bind(null,oe=>""+oe),u=Tc.bind(null,G3),p=Tc.bind(null,ws);function f(oe,H){let ne,ie;return iv(oe)?(ne=t.getRecordMatcher(oe),ie=H):ie=oe,t.addRoute(ie,ne)}function h(oe){const H=t.getRecordMatcher(oe);H&&t.removeRoute(H)}function b(){return t.getRoutes().map(oe=>oe.record)}function m(oe){return!!t.getRecordMatcher(oe)}function g(oe,H){if(H=It({},H||s.value),typeof oe=="string"){const Me=Cc(n,oe,H.path),j=t.resolve({path:Me.path},H),X=r.createHref(Me.fullPath);return It(Me,j,{params:p(j.params),hash:ws(Me.hash),redirectedFrom:void 0,href:X})}let ne;if("path"in oe)ne=It({},oe,{path:Cc(n,oe.path,H.path).path});else{const Me=It({},oe.params);for(const j in Me)Me[j]==null&&delete Me[j];ne=It({},oe,{params:u(oe.params)}),H.params=u(H.params)}const ie=t.resolve(ne,H),be=oe.hash||"";ie.params=d(p(ie.params));const $e=l3(o,It({},oe,{hash:W3(be),path:ie.path})),Ne=r.createHref($e);return It({fullPath:$e,hash:be,query:o===ah?Z3(oe.query):oe.query||{}},ie,{redirectedFrom:void 0,href:Ne})}function v(oe){return typeof oe=="string"?Cc(n,oe,s.value.path):It({},oe)}function y(oe,H){if(c!==oe)return ka(8,{from:H,to:oe})}function T(oe){return $(oe)}function x(oe){return T(It(v(oe),{replace:!0}))}function k(oe){const H=oe.matched[oe.matched.length-1];if(H&&H.redirect){const{redirect:ne}=H;let ie=typeof ne=="function"?ne(oe):ne;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=v(ie):{path:ie},ie.params={}),It({query:oe.query,hash:oe.hash,params:oe.params},ie)}}function $(oe,H){const ne=c=g(oe),ie=s.value,be=oe.state,$e=oe.force,Ne=oe.replace===!0,Me=k(ne);if(Me)return $(It(v(Me),{state:be,force:$e,replace:Ne}),H||ne);const j=ne;j.redirectedFrom=H;let X;return!$e&&s3(o,ie,ne)&&(X=ka(16,{to:j,from:ie}),Y(ie,ie,!0,!1)),(X?Promise.resolve(X):P(j,ie)).catch(de=>Go(de)?Go(de,2)?de:W(de):E(de,j,ie)).then(de=>{if(de){if(Go(de,2))return $(It(v(de.to),{state:be,force:$e,replace:Ne}),H||j)}else de=D(j,ie,!0,Ne,be);return O(j,ie,de),de})}function z(oe,H){const ne=y(oe,H);return ne?Promise.reject(ne):Promise.resolve()}function P(oe,H){let ne;const[ie,be,$e]=ik(oe,H);ne=Sc(ie.reverse(),"beforeRouteLeave",oe,H);for(const Me of ie)Me.leaveGuards.forEach(j=>{ne.push(nr(j,oe,H))});const Ne=z.bind(null,oe,H);return ne.push(Ne),Qr(ne).then(()=>{ne=[];for(const Me of a.list())ne.push(nr(Me,oe,H));return ne.push(Ne),Qr(ne)}).then(()=>{ne=Sc(be,"beforeRouteUpdate",oe,H);for(const Me of be)Me.updateGuards.forEach(j=>{ne.push(nr(j,oe,H))});return ne.push(Ne),Qr(ne)}).then(()=>{ne=[];for(const Me of oe.matched)if(Me.beforeEnter&&!H.matched.includes(Me))if(Array.isArray(Me.beforeEnter))for(const j of Me.beforeEnter)ne.push(nr(j,oe,H));else ne.push(nr(Me.beforeEnter,oe,H));return ne.push(Ne),Qr(ne)}).then(()=>(oe.matched.forEach(Me=>Me.enterCallbacks={}),ne=Sc($e,"beforeRouteEnter",oe,H),ne.push(Ne),Qr(ne))).then(()=>{ne=[];for(const Me of i.list())ne.push(nr(Me,oe,H));return ne.push(Ne),Qr(ne)}).catch(Me=>Go(Me,8)?Me:Promise.reject(Me))}function O(oe,H,ne){for(const ie of l.list())ie(oe,H,ne)}function D(oe,H,ne,ie,be){const $e=y(oe,H);if($e)return $e;const Ne=H===Yo,Me=la?history.state:{};ne&&(ie||Ne?r.replace(oe.fullPath,It({scroll:Ne&&Me&&Me.scroll},be)):r.push(oe.fullPath,be)),s.value=oe,Y(oe,H,ne,Ne),W()}let L;function F(){L||(L=r.listen((oe,H,ne)=>{const ie=g(oe),be=k(ie);if(be){$(It(be,{replace:!0}),ie).catch(mi);return}c=ie;const $e=s.value;la&&g3(Qf($e.fullPath,ne.delta),Gs()),P(ie,$e).catch(Ne=>Go(Ne,12)?Ne:Go(Ne,2)?($(Ne.to,ie).then(Me=>{Go(Me,20)&&!ne.delta&&ne.type===Pi.pop&&r.go(-1,!1)}).catch(mi),Promise.reject()):(ne.delta&&r.go(-ne.delta,!1),E(Ne,ie,$e))).then(Ne=>{Ne=Ne||D(ie,$e,!1),Ne&&(ne.delta?r.go(-ne.delta,!1):ne.type===Pi.pop&&Go(Ne,20)&&r.go(-1,!1)),O(ie,$e,Ne)}).catch(mi)}))}let V=Qa(),q=Qa(),R;function E(oe,H,ne){W(oe);const ie=q.list();return ie.length?ie.forEach(be=>be(oe,H,ne)):console.error(oe),Promise.reject(oe)}function N(){return R&&s.value!==Yo?Promise.resolve():new Promise((oe,H)=>{V.add([oe,H])})}function W(oe){return R||(R=!oe,F(),V.list().forEach(([H,ne])=>oe?ne(oe):H()),V.reset()),oe}function Y(oe,H,ne,ie){const{scrollBehavior:be}=e;if(!la||!be)return Promise.resolve();const $e=!ne&&b3(Qf(oe.fullPath,0))||(ie||!ne)&&history.state&&history.state.scroll||null;return je().then(()=>be(oe,H,$e)).then(Ne=>Ne&&m3(Ne)).catch(Ne=>E(Ne,oe,H))}const J=oe=>r.go(oe);let Z;const se=new Set;return{currentRoute:s,addRoute:f,removeRoute:h,hasRoute:m,getRoutes:b,resolve:g,options:e,push:T,replace:x,go:J,back:()=>J(-1),forward:()=>J(1),beforeEach:a.add,beforeResolve:i.add,afterEach:l.add,onError:q.add,isReady:N,install(oe){const H=this;oe.component("RouterLink",ek),oe.component("RouterView",rk),oe.config.globalProperties.$router=H,Object.defineProperty(oe.config.globalProperties,"$route",{enumerable:!0,get:()=>_(s)}),la&&!Z&&s.value===Yo&&(Z=!0,T(r.location).catch(be=>{}));const ne={};for(const be in Yo)ne[be]=C(()=>s.value[be]);oe.provide(Vu,H),oe.provide(ov,vt(ne)),oe.provide(kd,s);const ie=oe.unmount;se.add(oe),oe.unmount=function(){se.delete(oe),se.size<1&&(c=Yo,L&&L(),L=null,s.value=Yo,Z=!1,R=!1),ie()}}}}function Qr(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function ik(e,t){const n=[],o=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;ixa(c,l))?o.push(l):n.push(l));const s=e.matched[i];s&&(t.matched.find(c=>xa(c,s))||r.push(s))}return[n,o,r]}const lk=[{path:"/",name:"Home",component:K2},{path:"/about",name:"About",component:n3}],sk=ak({history:w3(),routes:lk});var ck=typeof global=="object"&&global&&global.Object===Object&&global,hv=ck,dk=typeof self=="object"&&self&&self.Object===Object&&self,uk=hv||dk||Function("return this")(),co=uk,pk=co.Symbol,jn=pk,mv=Object.prototype,fk=mv.hasOwnProperty,hk=mv.toString,ei=jn?jn.toStringTag:void 0;function mk(e){var t=fk.call(e,ei),n=e[ei];try{e[ei]=void 0;var o=!0}catch{}var r=hk.call(e);return o&&(t?e[ei]=n:delete e[ei]),r}var gk=Object.prototype,bk=gk.toString;function vk(e){return bk.call(e)}var yk="[object Null]",_k="[object Undefined]",dh=jn?jn.toStringTag:void 0;function Va(e){return e==null?e===void 0?_k:yk:dh&&dh in Object(e)?mk(e):vk(e)}function Po(e){return e!=null&&typeof e=="object"}var wk="[object Symbol]";function Xs(e){return typeof e=="symbol"||Po(e)&&Va(e)==wk}function xk(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n0){if(++t>=n6)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function i6(e){return function(){return e}}var l6=function(){try{var e=Yr(Object,"defineProperty");return e({},"",{}),e}catch{}}(),xs=l6,s6=xs?function(e,t){return xs(e,"toString",{configurable:!0,enumerable:!1,value:i6(t),writable:!0})}:bv,c6=s6,d6=a6(c6),yv=d6;function u6(e,t){for(var n=-1,o=e==null?0:e.length;++n-1}var b6=9007199254740991,v6=/^(?:0|[1-9]\d*)$/;function ju(e,t){var n=typeof e;return t=t==null?b6:t,!!t&&(n=="number"||n!="symbol"&&v6.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=x6}function Wu(e){return e!=null&&Ku(e.length)&&!vv(e)}var k6=Object.prototype;function Uu(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||k6;return e===n}function T6(e,t){for(var n=-1,o=Array(e);++n-1}function LT(e,t){var n=this.__data__,o=Js(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function Vo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(l)?t>1?nc(l,t-1,n,o,r):Qu(r,l):o||(r[r.length]=l)}return r}function oC(e){var t=e==null?0:e.length;return t?nc(e,1):[]}function rC(e){return yv(wv(e,void 0,oC),e+"")}var aC=$v(Object.getPrototypeOf,Object),Ev=aC;function Di(){if(!arguments.length)return[];var e=arguments[0];return ro(e)?e:[e]}function iC(){this.__data__=new Vo,this.size=0}function lC(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function sC(e){return this.__data__.get(e)}function cC(e){return this.__data__.has(e)}var dC=200;function uC(e,t){var n=this.__data__;if(n instanceof Vo){var o=n.__data__;if(!Fi||o.lengthl))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var u=-1,p=!0,f=n&ZS?new Vi:void 0;for(a.set(e,t),a.set(t,e);++u=t||$<0||u&&z>=a}function g(){var k=zc();if(m(k))return v(k);l=setTimeout(g,b(k))}function v(k){return l=void 0,p&&o?f(k):(o=r=void 0,i)}function y(){l!==void 0&&clearTimeout(l),c=0,o=s=r=l=void 0}function T(){return l===void 0?i:v(zc())}function x(){var k=zc(),$=m(k);if(o=arguments,r=this,s=k,$){if(l===void 0)return h(s);if(u)return clearTimeout(l),l=setTimeout(g,t),f(s)}return l===void 0&&(l=setTimeout(g,t)),i}return x.cancel=y,x.flush=T,x}function $4(e){return Po(e)&&Wu(e)}function A4(e,t,n){for(var o=-1,r=e==null?0:e.length;++o=L4){var c=t?null:D4(e);if(c)return np(c);i=!1,r=Fv,s=new Vi}else s=t?[]:l;e:for(;++ogetComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,Vh=e=>Array.from(e.querySelectorAll(j4)).filter(t=>q4(t)&&H4(t)),q4=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.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}},Ll=function(e,t,...n){let o;t.includes("mouse")||t.includes("click")?o="MouseEvents":t.includes("key")?o="KeyboardEvent":o="HTMLEvents";const r=document.createEvent(o);return r.initEvent(t,...n),e.dispatchEvent(r),e},jv=e=>!e.getAttribute("aria-owns"),Hv=(e,t,n)=>{const{parentNode:o}=e;if(!o)return null;const r=o.querySelectorAll(n),a=Array.prototype.indexOf.call(r,e);return r[a+t]||null},Vl=e=>{!e||(e.focus(),!jv(e)&&e.click())},At=(e,t,n,o=!1)=>{e&&t&&n&&(e==null||e.addEventListener(t,n,o))},Bt=(e,t,n,o=!1)=>{e&&t&&n&&(e==null||e.removeEventListener(t,n,o))},K4=(e,t,n)=>{const o=function(...r){n&&n.apply(this,r),Bt(e,t,o)};At(e,t,o)},Ot=(e,t,{checkForDefaultPrevented:n=!0}={})=>r=>{const a=e==null?void 0:e(r);if(n===!1||!a)return t==null?void 0:t(r)},Bh=e=>t=>t.pointerType==="mouse"?e(t):void 0;var W4=Object.defineProperty,U4=Object.defineProperties,Y4=Object.getOwnPropertyDescriptors,jh=Object.getOwnPropertySymbols,G4=Object.prototype.hasOwnProperty,X4=Object.prototype.propertyIsEnumerable,Hh=(e,t,n)=>t in e?W4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z4=(e,t)=>{for(var n in t||(t={}))G4.call(t,n)&&Hh(e,n,t[n]);if(jh)for(var n of jh(t))X4.call(t,n)&&Hh(e,n,t[n]);return e},J4=(e,t)=>U4(e,Y4(t));function qh(e,t){var n;const o=Kt();return Dn(()=>{o.value=e()},J4(Z4({},t),{flush:(n=t==null?void 0:t.flush)!=null?n:"sync"})),Zi(o)}function oc(e){return R1()?(Hg(e),!0):!1}const dt=typeof window!="undefined",on=e=>typeof e=="boolean",mt=e=>typeof e=="number",Q4=e=>typeof e=="string",Nc=()=>{};function qv(e,t){function n(...o){e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})}return n}function e$(e,t={}){let n,o;return a=>{const i=_(e),l=_(t.maxWait);if(n&&clearTimeout(n),i<=0||l!==void 0&&l<=0)return o&&(clearTimeout(o),o=null),a();l&&!o&&(o=setTimeout(()=>{n&&clearTimeout(n),o=null,a()},l)),n=setTimeout(()=>{o&&clearTimeout(o),o=null,a()},i)}}function t$(e,t=!0,n=!0){let o=0,r,a=!n;const i=()=>{r&&(clearTimeout(r),r=void 0)};return s=>{const c=_(e),d=Date.now()-o;if(i(),c<=0)return o=Date.now(),s();d>c&&(o=Date.now(),a?a=!1:s()),t&&(r=setTimeout(()=>{o=Date.now(),n||(a=!0),i(),s()},c)),!n&&!r&&(r=setTimeout(()=>a=!0,c))}}function n$(e,t=200,n={}){return qv(e$(t,n),e)}function o$(e,t=200,n={}){if(t<=0)return e;const o=A(e.value),r=n$(()=>{o.value=e.value},t,n);return ge(e,()=>r()),o}function Kv(e,t=200,n=!0,o=!0){return qv(t$(t,n,o),e)}function r$(e,t=!0){nt()?et(e):t?e():je(e)}function jr(e,t,n={}){const{immediate:o=!0}=n,r=A(!1);let a=null;function i(){a&&(clearTimeout(a),a=null)}function l(){r.value=!1,i()}function s(...c){i(),r.value=!0,a=setTimeout(()=>{r.value=!1,a=null,e(...c)},_(t))}return o&&(r.value=!0,dt&&s()),oc(l),{isPending:r,start:s,stop:l}}function no(e){var t;const n=_(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ol=dt?window:void 0,a$=dt?window.document:void 0;function Ht(...e){let t,n,o,r;if(Q4(e[0])?([n,o,r]=e,t=ol):[t,n,o,r]=e,!t)return Nc;let a=Nc;const i=ge(()=>no(t),s=>{a(),s&&(s.addEventListener(n,o,r),a=()=>{s.removeEventListener(n,o,r),a=Nc})},{immediate:!0,flush:"post"}),l=()=>{i(),a()};return oc(l),l}function Cs(e,t,n={}){const{window:o=ol,ignore:r,capture:a=!0}=n;if(!o)return;const i=A(!0),s=[Ht(o,"click",d=>{const u=no(e),p=d.composedPath();!u||u===d.target||p.includes(u)||!i.value||r&&r.length>0&&r.some(f=>{const h=no(f);return h&&(d.target===h||p.includes(h))})||t(d)},{passive:!0,capture:a}),Ht(o,"pointerdown",d=>{const u=no(e);i.value=!!u&&!d.composedPath().includes(u)},{passive:!0})];return()=>s.forEach(d=>d())}const zd=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Id="__vueuse_ssr_handlers__";zd[Id]=zd[Id]||{};zd[Id];function i$({document:e=a$}={}){if(!e)return A("visible");const t=A(e.visibilityState);return Ht(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Kh=Object.getOwnPropertySymbols,l$=Object.prototype.hasOwnProperty,s$=Object.prototype.propertyIsEnumerable,c$=(e,t)=>{var n={};for(var o in e)l$.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Kh)for(var o of Kh(e))t.indexOf(o)<0&&s$.call(e,o)&&(n[o]=e[o]);return n};function Ba(e,t,n={}){const o=n,{window:r=ol}=o,a=c$(o,["window"]);let i;const l=r&&"ResizeObserver"in r,s=()=>{i&&(i.disconnect(),i=void 0)},c=ge(()=>no(e),u=>{s(),l&&r&&u&&(i=new ResizeObserver(t),i.observe(u,a))},{immediate:!0,flush:"post"}),d=()=>{s(),c()};return oc(d),{isSupported:l,stop:d}}function Wh(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:r=!0}=t,a=A(0),i=A(0),l=A(0),s=A(0),c=A(0),d=A(0),u=A(0),p=A(0);function f(){const h=no(e);if(!h){n&&(a.value=0,i.value=0,l.value=0,s.value=0,c.value=0,d.value=0,u.value=0,p.value=0);return}const b=h.getBoundingClientRect();a.value=b.height,i.value=b.bottom,l.value=b.left,s.value=b.right,c.value=b.top,d.value=b.width,u.value=b.x,p.value=b.y}return Ba(e,f),ge(()=>no(e),h=>!h&&f()),r&&Ht("scroll",f,{passive:!0}),o&&Ht("resize",f,{passive:!0}),{height:a,bottom:i,left:l,right:s,top:c,width:d,x:u,y:p,update:f}}var Uh,Yh;dt&&(window==null?void 0:window.navigator)&&((Uh=window==null?void 0:window.navigator)==null?void 0:Uh.platform)&&/iP(ad|hone|od)/.test((Yh=window==null?void 0:window.navigator)==null?void 0:Yh.platform);function d$({window:e=ol}={}){if(!e)return A(!1);const t=A(e.document.hasFocus());return Ht(e,"blur",()=>{t.value=!1}),Ht(e,"focus",()=>{t.value=!0}),t}function u$({window:e=ol,initialWidth:t=1/0,initialHeight:n=1/0}={}){const o=A(t),r=A(n),a=()=>{e&&(o.value=e.innerWidth,r.value=e.innerHeight)};return a(),r$(a),Ht("resize",a,{passive:!0}),{width:o,height:r}}const p$=(e,t)=>{if(!dt||!e||!t)return!1;const n=e.getBoundingClientRect();let o;return t instanceof Element?o=t.getBoundingClientRect():o={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.topo.top&&n.right>o.left&&n.left{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},f$=(e,t)=>Math.abs(Gh(e)-Gh(t)),rp=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},h$=function(e){for(const t of e){const n=t.target.__resizeListeners__||[];n.length&&n.forEach(o=>{o()})}},ja=function(e,t){!dt||!e||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new ResizeObserver(h$),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},Ha=function(e,t){var n;!e||!e.__resizeListeners__||(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(n=e.__ro__)==null||n.disconnect())},Cn=e=>e===void 0,Bi=e=>!e&&e!==0||Ye(e)&&e.length===0||ut(e)&&!Object.keys(e).length,Hr=e=>typeof Element=="undefined"?!1:e instanceof Element,m$=e=>op(e),g$=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Nd=e=>Object.keys(e),b$=e=>Object.entries(e),Bl=(e,t,n)=>({get value(){return Pt(e,t,n)},set value(o){R4(e,t,o)}}),Wv=(e="")=>e.split(" ").filter(t=>!!t.trim()),oo=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},bo=(e,t)=>{!e||!t.trim()||e.classList.add(...Wv(t))},hn=(e,t)=>{!e||!t.trim()||e.classList.remove(...Wv(t))},go=(e,t)=>{var n;if(!dt||!e||!t)return"";Bn(t);try{const o=e.style[t];if(o)return o;const r=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return r?r[t]:""}catch{return e.style[t]}},v$=(e,t)=>{if(!dt)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],o=go(e,n);return["scroll","auto","overlay"].some(r=>o.includes(r))},ap=(e,t)=>{if(!dt)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(v$(n,t))return n;n=n.parentNode}return n};let kl;const y$=()=>{var e;if(!dt)return 0;if(kl!==void 0)return kl;const t=document.createElement("div");t.className="el-scrollbar__wrap",t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const n=t.offsetWidth;t.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",t.appendChild(o);const r=o.offsetWidth;return(e=t.parentNode)==null||e.removeChild(t),kl=n-r,kl};function Uv(e,t){if(!dt)return;if(!t){e.scrollTop=0;return}const n=[];let o=t.offsetParent;for(;o!==null&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const r=t.offsetTop+n.reduce((s,c)=>s+c.offsetTop,0),a=r+t.offsetHeight,i=e.scrollTop,l=i+e.clientHeight;rl&&(e.scrollTop=a-e.clientHeight)}var yt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const _$=ee({name:"ArrowDown"}),w$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},x$=M("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),k$=[x$];function T$(e,t,n,o,r,a){return w(),I("svg",w$,k$)}var Gr=yt(_$,[["render",T$]]);const C$=ee({name:"ArrowLeft"}),S$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},$$=M("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"},null,-1),A$=[$$];function E$(e,t,n,o,r,a){return w(),I("svg",S$,A$)}var Xr=yt(C$,[["render",E$]]);const z$=ee({name:"ArrowRight"}),I$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},N$=M("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),M$=[N$];function R$(e,t,n,o,r,a){return w(),I("svg",I$,M$)}var Yn=yt(z$,[["render",R$]]);const P$=ee({name:"ArrowUp"}),O$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},F$=M("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0z"},null,-1),D$=[F$];function L$(e,t,n,o,r,a){return w(),I("svg",O$,D$)}var rl=yt(P$,[["render",L$]]);const V$=ee({name:"Back"}),B$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},j$=M("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z"},null,-1),H$=M("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z"},null,-1),q$=[j$,H$];function K$(e,t,n,o,r,a){return w(),I("svg",B$,q$)}var W$=yt(V$,[["render",K$]]);const U$=ee({name:"Calendar"}),Y$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},G$=M("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64H128zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0v32zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64z"},null,-1),X$=[G$];function Z$(e,t,n,o,r,a){return w(),I("svg",Y$,X$)}var J$=yt(U$,[["render",Z$]]);const Q$=ee({name:"CaretRight"}),eA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},tA=M("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"},null,-1),nA=[tA];function oA(e,t,n,o,r,a){return w(),I("svg",eA,nA)}var Yv=yt(Q$,[["render",oA]]);const rA=ee({name:"CaretTop"}),aA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},iA=M("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"},null,-1),lA=[iA];function sA(e,t,n,o,r,a){return w(),I("svg",aA,lA)}var cA=yt(rA,[["render",sA]]);const dA=ee({name:"Check"}),uA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},pA=M("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1),fA=[pA];function hA(e,t,n,o,r,a){return w(),I("svg",uA,fA)}var Ca=yt(dA,[["render",hA]]);const mA=ee({name:"CircleCheckFilled"}),gA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},bA=M("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),vA=[bA];function yA(e,t,n,o,r,a){return w(),I("svg",gA,vA)}var _A=yt(mA,[["render",yA]]);const wA=ee({name:"CircleCheck"}),xA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},kA=M("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),TA=M("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),CA=[kA,TA];function SA(e,t,n,o,r,a){return w(),I("svg",xA,CA)}var Ss=yt(wA,[["render",SA]]);const $A=ee({name:"CircleCloseFilled"}),AA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},EA=M("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1),zA=[EA];function IA(e,t,n,o,r,a){return w(),I("svg",AA,zA)}var ip=yt($A,[["render",IA]]);const NA=ee({name:"CircleClose"}),MA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},RA=M("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),PA=M("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),OA=[RA,PA];function FA(e,t,n,o,r,a){return w(),I("svg",MA,OA)}var Oo=yt(NA,[["render",FA]]);const DA=ee({name:"Clock"}),LA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},VA=M("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),BA=M("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1),jA=M("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32z"},null,-1),HA=[VA,BA,jA];function qA(e,t,n,o,r,a){return w(),I("svg",LA,HA)}var Gv=yt(DA,[["render",qA]]);const KA=ee({name:"Close"}),WA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},UA=M("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),YA=[UA];function GA(e,t,n,o,r,a){return w(),I("svg",WA,YA)}var Hn=yt(KA,[["render",GA]]);const XA=ee({name:"DArrowLeft"}),ZA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},JA=M("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"},null,-1),QA=[JA];function eE(e,t,n,o,r,a){return w(),I("svg",ZA,QA)}var rc=yt(XA,[["render",eE]]);const tE=ee({name:"DArrowRight"}),nE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},oE=M("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688zm-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"},null,-1),rE=[oE];function aE(e,t,n,o,r,a){return w(),I("svg",nE,rE)}var ac=yt(tE,[["render",aE]]);const iE=ee({name:"Delete"}),lE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},sE=M("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"},null,-1),cE=[sE];function dE(e,t,n,o,r,a){return w(),I("svg",lE,cE)}var uE=yt(iE,[["render",dE]]);const pE=ee({name:"Document"}),fE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},hE=M("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"},null,-1),mE=[hE];function gE(e,t,n,o,r,a){return w(),I("svg",fE,mE)}var bE=yt(pE,[["render",gE]]);const vE=ee({name:"FullScreen"}),yE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_E=M("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64l-192 .192zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64v-.064z"},null,-1),wE=[_E];function xE(e,t,n,o,r,a){return w(),I("svg",yE,wE)}var kE=yt(vE,[["render",xE]]);const TE=ee({name:"Hide"}),CE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},SE=M("path",{d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z",fill:"currentColor"},null,-1),$E=M("path",{d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z",fill:"currentColor"},null,-1),AE=[SE,$E];function EE(e,t,n,o,r,a){return w(),I("svg",CE,AE)}var zE=yt(TE,[["render",EE]]);const IE=ee({name:"InfoFilled"}),NE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ME=M("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),RE=[ME];function PE(e,t,n,o,r,a){return w(),I("svg",NE,RE)}var lp=yt(IE,[["render",PE]]);const OE=ee({name:"Loading"}),FE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},DE=M("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),LE=[DE];function VE(e,t,n,o,r,a){return w(),I("svg",FE,LE)}var hr=yt(OE,[["render",VE]]);const BE=ee({name:"Minus"}),jE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},HE=M("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"},null,-1),qE=[HE];function KE(e,t,n,o,r,a){return w(),I("svg",jE,qE)}var WE=yt(BE,[["render",KE]]);const UE=ee({name:"MoreFilled"}),YE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},GE=M("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224z"},null,-1),XE=[GE];function ZE(e,t,n,o,r,a){return w(),I("svg",YE,XE)}var JE=yt(UE,[["render",ZE]]);const QE=ee({name:"More"}),e5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},t5=M("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"},null,-1),n5=[t5];function o5(e,t,n,o,r,a){return w(),I("svg",e5,n5)}var r5=yt(QE,[["render",o5]]);const a5=ee({name:"PictureFilled"}),i5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},l5=M("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32H96zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112zM256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384z"},null,-1),s5=[l5];function c5(e,t,n,o,r,a){return w(),I("svg",i5,s5)}var d5=yt(a5,[["render",c5]]);const u5=ee({name:"Plus"}),p5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},f5=M("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"},null,-1),h5=[f5];function m5(e,t,n,o,r,a){return w(),I("svg",p5,h5)}var Xv=yt(u5,[["render",m5]]);const g5=ee({name:"QuestionFilled"}),b5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},v5=M("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"},null,-1),y5=[v5];function _5(e,t,n,o,r,a){return w(),I("svg",b5,y5)}var w5=yt(g5,[["render",_5]]);const x5=ee({name:"RefreshLeft"}),k5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},T5=M("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"},null,-1),C5=[T5];function S5(e,t,n,o,r,a){return w(),I("svg",k5,C5)}var $5=yt(x5,[["render",S5]]);const A5=ee({name:"RefreshRight"}),E5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},z5=M("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"},null,-1),I5=[z5];function N5(e,t,n,o,r,a){return w(),I("svg",E5,I5)}var M5=yt(A5,[["render",N5]]);const R5=ee({name:"ScaleToOriginal"}),P5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},O5=M("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zM512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412zM512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512z"},null,-1),F5=[O5];function D5(e,t,n,o,r,a){return w(),I("svg",P5,F5)}var L5=yt(R5,[["render",D5]]);const V5=ee({name:"Search"}),B5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},j5=M("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704z"},null,-1),H5=[j5];function q5(e,t,n,o,r,a){return w(),I("svg",B5,H5)}var K5=yt(V5,[["render",q5]]);const W5=ee({name:"StarFilled"}),U5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Y5=M("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"},null,-1),G5=[Y5];function X5(e,t,n,o,r,a){return w(),I("svg",U5,G5)}var Tl=yt(W5,[["render",X5]]);const Z5=ee({name:"Star"}),J5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Q5=M("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72L512 747.84zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"},null,-1),ez=[Q5];function tz(e,t,n,o,r,a){return w(),I("svg",J5,ez)}var nz=yt(Z5,[["render",tz]]);const oz=ee({name:"SuccessFilled"}),rz={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},az=M("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),iz=[az];function lz(e,t,n,o,r,a){return w(),I("svg",rz,iz)}var Zv=yt(oz,[["render",lz]]);const sz=ee({name:"View"}),cz={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},dz=M("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),uz=[dz];function pz(e,t,n,o,r,a){return w(),I("svg",cz,uz)}var fz=yt(sz,[["render",pz]]);const hz=ee({name:"WarningFilled"}),mz={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},gz=M("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),bz=[gz];function vz(e,t,n,o,r,a){return w(),I("svg",mz,bz)}var ji=yt(hz,[["render",vz]]);const yz=ee({name:"ZoomIn"}),_z={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},wz=M("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z"},null,-1),xz=[wz];function kz(e,t,n,o,r,a){return w(),I("svg",_z,xz)}var Jv=yt(yz,[["render",kz]]);const Tz=ee({name:"ZoomOut"}),Cz={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Sz=M("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zM352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),$z=[Sz];function Az(e,t,n,o,r,a){return w(),I("svg",Cz,$z)}var Ez=yt(Tz,[["render",Az]]);const Md=Symbol(),Xh="__elPropsReservedKey";function uo(e,t){if(!ut(e)||!!e[Xh])return e;const{values:n,required:o,default:r,type:a,validator:i}=e,l=n||i?c=>{let d=!1,u=[];if(n&&(u=Array.from(n),lt(e,"default")&&u.push(r),d||(d=u.includes(c))),i&&(d||(d=i(c))),!d&&u.length>0){const p=[...new Set(u)].map(f=>JSON.stringify(f)).join(", ");pw(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${p}], got value ${JSON.stringify(c)}.`)}return d}:void 0,s={type:ut(a)&&Object.getOwnPropertySymbols(a).includes(Md)?a[Md]:a,required:!!o,validator:l,[Xh]:!0};return lt(e,"default")&&(s.default=r),s}const Le=e=>Vv(Object.entries(e).map(([t,n])=>[t,uo(n,t)])),Te=e=>({[Md]:e}),an=Te([String,Object,Function]),zz={Close:Hn},ic={Close:Hn,SuccessFilled:Zv,InfoFilled:lp,WarningFilled:ji,CircleCloseFilled:ip},Fo={success:Zv,warning:ji,error:ip,info:lp},Qv={validating:hr,success:Ss,error:Oo},rt=(e,t)=>{if(e.install=n=>{for(const o of[e,...Object.values(t!=null?t:{})])n.component(o.name,o)},t)for(const[n,o]of Object.entries(t))e[n]=o;return e},ey=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),Dt=e=>(e.install=wt,e),sp=(...e)=>t=>{e.forEach(n=>{Je(n)?n(t):n.value=t})};class Iz extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Wt(e,t){throw new Iz(`[${e}] ${t}`)}function io(e,t="px"){if(!e)return"";if(Qe(e))return e;if(mt(e))return`${e}${t}`}const Pe={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},Nz=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],Mc=["sun","mon","tue","wed","thu","fri","sat"],tt="update:modelValue",Xt="change",pr="input",wo=["","default","small","large"],Mz={large:40,default:32,small:24},ty=(e="default")=>Mz[e||"default"],Nn=e=>["",...wo].includes(e),ny=e=>[...Nz].includes(e);var On=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(On||{});function oy(e){return jt(e)&&e.type===Fe}function Rz(e){return jt(e)&&e.type===dn}function Pz(e){return jt(e)&&!oy(e)&&!Rz(e)}const Oz=e=>{if(!jt(e))return{};const t=e.props||{},n=(jt(e.type)?e.type.props:void 0)||{},o={};return Object.keys(n).forEach(r=>{lt(n[r],"default")&&(o[r]=n[r].default)}),Object.keys(t).forEach(r=>{o[Bn(r)]=t[r]}),o},Fz=e=>{if(!Ye(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},Zh=e=>e**3,Dz=e=>e<.5?Zh(e*2)/2:1-Zh((1-e)*2)/2,Jh=e=>[...new Set(e)],Or=e=>!e&&e!==0?[]:Array.isArray(e)?e:[e],cp=()=>dt&&/firefox/i.test(window.navigator.userAgent),lc=e=>/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e),ry=e=>dt?window.requestAnimationFrame(e):setTimeout(e,16),ay=e=>dt?window.cancelAnimationFrame(e):clearTimeout(e),al=()=>Math.floor(Math.random()*1e4),Ft=e=>e,Lz=["class","style"],Vz=/^on[A-Z]/,dp=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=n.concat(Lz),r=nt();return C(r?()=>{var a;return Vv(Object.entries((a=r.proxy)==null?void 0:a.$attrs).filter(([i])=>!o.includes(i)&&!(t&&Vz.test(i))))}:()=>({}))},iy=Symbol("breadcrumbKey"),ly=Symbol("buttonGroupContextKey"),sy=Symbol("carouselContextKey"),cy=Symbol("collapseContextKey"),dy=Symbol(),uy=Symbol("dialogInjectionKey"),Mn=Symbol("formContextKey"),qn=Symbol("formItemContextKey"),py=Symbol("elPaginationKey"),fy=Symbol("radioGroupKey"),hy=Symbol("rowContextKey"),my=Symbol("scrollbarContextKey"),sc=Symbol("tabsRootContextKey"),gy=Symbol("uploadContextKey"),up=Symbol("popper"),by=Symbol("popperContent"),cc=Symbol("tooltipV2"),vy=Symbol("tooltipV2Content"),Rc="tooltip_v2.open",yy=e=>{const t=nt();return C(()=>{var n,o;return(o=(n=t.proxy)==null?void 0:n.$props[e])!=null?o:void 0})},$s=A();function qa(e,t=void 0){const n=nt()?Ie(dy,$s):$s;return e?C(()=>{var o,r;return(r=(o=n.value)==null?void 0:o[e])!=null?r:t}):n}const _y=(e,t,n=!1)=>{var o;const r=!!nt(),a=r?qa():void 0,i=(o=t==null?void 0:t.provide)!=null?o:r?ot:void 0;if(!i)return;const l=C(()=>{const s=_(e);return a!=null&&a.value?Bz(a.value,s):s});return i(dy,l),(n||!$s.value)&&($s.value=l.value),l},Bz=(e,t)=>{var n;const o=[...new Set([...Nd(e),...Nd(t)])],r={};for(const a of o)r[a]=(n=t[a])!=null?n:e[a];return r},dc=uo({type:String,values:wo,required:!1}),Ut=(e,t={})=>{const n=A(void 0),o=t.prop?n:yy("size"),r=t.global?n:qa("size"),a=t.form?{size:void 0}:Ie(Mn,void 0),i=t.formItem?{size:void 0}:Ie(qn,void 0);return C(()=>o.value||_(e)||(i==null?void 0:i.size)||(a==null?void 0:a.size)||r.value||"")},Zr=e=>{const t=yy("disabled"),n=Ie(Mn,void 0);return C(()=>t.value||_(e)||(n==null?void 0:n.disabled)||!1)},il=({from:e,replacement:t,scope:n,version:o,ref:r,type:a="API"},i)=>{ge(()=>_(i),l=>{},{immediate:!0})},wy=(e,t,n)=>{let o={offsetX:0,offsetY:0};const r=l=>{const s=l.clientX,c=l.clientY,{offsetX:d,offsetY:u}=o,p=e.value.getBoundingClientRect(),f=p.left,h=p.top,b=p.width,m=p.height,g=document.documentElement.clientWidth,v=document.documentElement.clientHeight,y=-f+d,T=-h+u,x=g-f-b+d,k=v-h-m+u,$=P=>{const O=Math.min(Math.max(d+P.clientX-s,y),x),D=Math.min(Math.max(u+P.clientY-c,T),k);o={offsetX:O,offsetY:D},e.value.style.transform=`translate(${io(O)}, ${io(D)})`},z=()=>{document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",z)};document.addEventListener("mousemove",$),document.addEventListener("mouseup",z)},a=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",r)},i=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",r)};et(()=>{Dn(()=>{n.value?a():i()})}),$t(()=>{i()})},jz=e=>({focus:()=>{var t,n;(n=(t=e.value)==null?void 0:t.focus)==null||n.call(t)}}),Ka=()=>{const e=Ie(Mn,void 0),t=Ie(qn,void 0);return{form:e,formItem:t}};var Hz={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const qz=e=>(t,n)=>Kz(t,n,_(e)),Kz=(e,t,n)=>Pt(n,e,e).replace(/\{(\w+)\}/g,(o,r)=>{var a;return`${(a=t==null?void 0:t[r])!=null?a:`{${r}}`}`}),Wz=e=>{const t=C(()=>_(e).name),n=Vt(e)?e:A(e);return{lang:t,locale:n,t:qz(e)}},Tt=()=>{const e=qa("locale");return Wz(C(()=>e.value||Hz))},xy=e=>{if(Vt(e)||Wt("[useLockscreen]","You need to pass a ref param to this function"),!dt||oo(document.body,"el-popup-parent--hidden"))return;let t=0,n=!1,o="0",r=0;const a=()=>{hn(document.body,"el-popup-parent--hidden"),n&&(document.body.style.paddingRight=o)};ge(e,i=>{if(!i){a();return}n=!oo(document.body,"el-popup-parent--hidden"),n&&(o=document.body.style.paddingRight,r=Number.parseInt(go(document.body,"paddingRight"),10)),t=y$();const l=document.documentElement.clientHeight0&&(l||s==="scroll")&&n&&(document.body.style.paddingRight=`${r+t}px`),bo(document.body,"el-popup-parent--hidden")}),Hg(()=>a())},ma=[],Uz=e=>{ma.length!==0&&e.code===Pe.esc&&(e.stopPropagation(),ma[ma.length-1].handleClose())},ky=(e,t)=>{ge(t,n=>{n?ma.push(e):ma.splice(ma.indexOf(e),1)})};dt&&Ht(document,"keydown",Uz);const Yz=uo({type:Te(Boolean),default:null}),Gz=uo({type:Te(Function)}),Xz=e=>{const t={[e]:Yz,[`onUpdate:${e}`]:Gz},n=[`update:${e}`];return{useModelToggle:({indicator:r,shouldHideWhenRouteChanges:a,shouldProceed:i,onShow:l,onHide:s})=>{const c=nt(),d=c.props,{emit:u}=c,p=`update:${e}`,f=C(()=>Je(d[`onUpdate:${e}`])),h=C(()=>d[e]===null),b=()=>{r.value!==!0&&(r.value=!0,Je(l)&&l())},m=()=>{r.value!==!1&&(r.value=!1,Je(s)&&s())},g=()=>{if(d.disabled===!0||Je(i)&&!i())return;const x=f.value&&dt;x&&u(p,!0),(h.value||!x)&&b()},v=()=>{if(d.disabled===!0||!dt)return;const x=f.value&&dt;x&&u(p,!1),(h.value||!x)&&m()},y=x=>{!on(x)||(d.disabled&&x?f.value&&u(p,!1):r.value!==x&&(x?b():m()))},T=()=>{r.value?v():g()};return ge(()=>d[e],y),a&&c.appContext.config.globalProperties.$route!==void 0&&ge(()=>he({},c.proxy.$route),()=>{a.value&&r.value&&v()}),et(()=>{y(d[e])}),{hide:v,show:g,toggle:T}},useModelToggleProps:t,useModelToggleEmits:n}},Zz=(e,t,n)=>{const o=a=>{n(a)&&a.stopImmediatePropagation()};let r;ge(()=>e.value,a=>{a?r=Ht(document,t,o,!0):r==null||r()},{immediate:!0})},Ty=(e,t)=>{let n;ge(()=>e.value,o=>{var r,a;o?(n=document.activeElement,Vt(t)&&((a=(r=t.value).focus)==null||a.call(r))):n.focus()})},pp=e=>{if(!e)return{onClick:wt,onMousedown:wt,onMouseup:wt};let t=!1,n=!1;return{onClick:i=>{t&&n&&e(i),t=n=!1},onMousedown:i=>{t=i.target===i.currentTarget},onMouseup:i=>{n=i.target===i.currentTarget}}},Jz=(e,t=0)=>{if(t===0)return e;const n=A(!1);let o=0;const r=()=>{o&&clearTimeout(o),o=window.setTimeout(()=>{n.value=e.value},t)};return et(r),ge(()=>e.value,a=>{a?r():n.value=a}),n};function Qz(){let e;const t=(o,r)=>{n(),e=window.setTimeout(o,r)},n=()=>window.clearTimeout(e);return oc(()=>n()),{registerTimeout:t,cancelTimeout:n}}const e8={prefix:Math.floor(Math.random()*1e4),current:0},t8=Symbol("elIdInjection"),fp=e=>{const t=Ie(t8,e8);return C(()=>_(e)||`el-id-${t.prefix}-${t.current++}`)},n8=e=>{const t=n=>{const o=n;o.key===Pe.esc&&(e==null||e(o))};et(()=>{At(document,"keydown",t)}),$t(()=>{Bt(document,"keydown",t)})};let Qh;const Cy=`el-popper-container-${al()}`,Sy=`#${Cy}`,o8=()=>{const e=document.createElement("div");return e.id=Cy,document.body.appendChild(e),e},r8=()=>{Ji(()=>{!dt||(!Qh||!document.body.querySelector(Sy))&&(Qh=o8())})},a8=Le({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200}}),i8=({showAfter:e,hideAfter:t,open:n,close:o})=>{const{registerTimeout:r}=Qz();return{onOpen:()=>{r(()=>{n()},_(e))},onClose:()=>{r(()=>{o()},_(t))}}},$y=Symbol("elForwardRef"),l8=e=>{ot($y,{setForwardRef:n=>{e.value=n}})},s8=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),c8="el",d8="is-",_r=(e,t,n,o,r)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),o&&(a+=`__${o}`),r&&(a+=`--${r}`),a},ke=e=>{const t=qa("namespace"),n=C(()=>t.value||c8);return{namespace:n,b:(u="")=>_r(_(n),e,u,"",""),e:u=>u?_r(_(n),e,"",u,""):"",m:u=>u?_r(_(n),e,"","",u):"",be:(u,p)=>u&&p?_r(_(n),e,u,p,""):"",em:(u,p)=>u&&p?_r(_(n),e,"",u,p):"",bm:(u,p)=>u&&p?_r(_(n),e,u,"",p):"",bem:(u,p,f)=>u&&p&&f?_r(_(n),e,u,p,f):"",is:(u,...p)=>{const f=p.length>=1?p[0]:!0;return u&&f?`${d8}${u}`:""}}},em=A(0),jo=()=>{const e=qa("zIndex",2e3),t=C(()=>e.value+em.value);return{initialZIndex:e,currentZIndex:t,nextZIndex:()=>(em.value++,t.value)}};function hp(e){return e.split("-")[0]}function Ay(e){return e.split("-")[1]}function mp(e){return["top","bottom"].includes(hp(e))?"x":"y"}function Ey(e){return e==="y"?"height":"width"}function tm(e,t,n){let{reference:o,floating:r}=e;const a=o.x+o.width/2-r.width/2,i=o.y+o.height/2-r.height/2,l=mp(t),s=Ey(l),c=o[s]/2-r[s]/2,d=l==="x";let u;switch(hp(t)){case"top":u={x:a,y:o.y-r.height};break;case"bottom":u={x:a,y:o.y+o.height};break;case"right":u={x:o.x+o.width,y:i};break;case"left":u={x:o.x-r.width,y:i};break;default:u={x:o.x,y:o.y}}switch(Ay(t)){case"start":u[l]-=c*(n&&d?-1:1);break;case"end":u[l]+=c*(n&&d?-1:1)}return u}const u8=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:a=[],platform:i}=n,l=await(i.isRTL==null?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:d}=tm(s,o,l),u=o,p={};for(let f=0;f({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=e!=null?e:{},{x:r,y:a,placement:i,rects:l,platform:s}=t;if(n==null)return{};const c=p8(o),d={x:r,y:a},u=mp(i),p=Ey(u),f=await s.getDimensions(n),h=u==="y"?"top":"left",b=u==="y"?"bottom":"right",m=l.reference[p]+l.reference[u]-d[u]-l.floating[p],g=d[u]-l.reference[u],v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(n)),y=v?u==="y"?v.clientHeight||0:v.clientWidth||0:0,T=m/2-g/2,x=c[h],k=y-f[p]-c[b],$=y/2-f[p]/2+T,z=m8(x,$,k);return{data:{[u]:z,centerOffset:$-z}}}}),b8=["top","right","bottom","left"];b8.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const v8=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o,placement:r,rects:a,platform:i,elements:l}=t,s=function(c,d,u,p){p===void 0&&(p=!1);const f=hp(c),h=Ay(c),b=mp(c)==="x",m=["left","top"].includes(f)?-1:1,g=p&&b?-1:1,v=typeof u=="function"?u(ze(he({},d),{placement:c})):u,y=typeof v=="number";let{mainAxis:T,crossAxis:x,alignmentAxis:k}=y?{mainAxis:v,crossAxis:0,alignmentAxis:null}:he({mainAxis:0,crossAxis:0,alignmentAxis:null},v);return h&&typeof k=="number"&&(x=h==="end"?-1*k:k),b?{x:x*g,y:T*m}:{x:T*m,y:x*g}}(r,a,e,await(i.isRTL==null?void 0:i.isRTL(l.floating)));return{x:n+s.x,y:o+s.y,data:s}}}};function zy(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Ho(e){if(e==null)return window;if(!zy(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function ll(e){return Ho(e).getComputedStyle(e)}function zo(e){return zy(e)?"":e?(e.nodeName||"").toLowerCase():""}function yo(e){return e instanceof Ho(e).HTMLElement}function Sa(e){return e instanceof Ho(e).Element}function gp(e){return e instanceof Ho(e).ShadowRoot||e instanceof ShadowRoot}function uc(e){const{overflow:t,overflowX:n,overflowY:o}=ll(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function y8(e){return["table","td","th"].includes(zo(e))}function om(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=ll(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Iy(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const rm=Math.min,vi=Math.max,As=Math.round;function Fr(e,t,n){var o,r,a,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect();let s=1,c=1;t&&yo(e)&&(s=e.offsetWidth>0&&As(l.width)/e.offsetWidth||1,c=e.offsetHeight>0&&As(l.height)/e.offsetHeight||1);const d=Sa(e)?Ho(e):window,u=!Iy()&&n,p=(l.left+(u&&(o=(r=d.visualViewport)==null?void 0:r.offsetLeft)!=null?o:0))/s,f=(l.top+(u&&(a=(i=d.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/c,h=l.width/s,b=l.height/c;return{width:h,height:b,top:f,right:p+h,bottom:f+b,left:p,x:p,y:f}}function lr(e){return(t=e,(t instanceof Ho(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function pc(e){return Sa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ny(e){return Fr(lr(e)).left+pc(e).scrollLeft}function _8(e,t,n){const o=yo(t),r=lr(t),a=Fr(e,o&&function(s){const c=Fr(s);return As(c.width)!==s.offsetWidth||As(c.height)!==s.offsetHeight}(t),n==="fixed");let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&n!=="fixed")if((zo(t)!=="body"||uc(r))&&(i=pc(t)),yo(t)){const s=Fr(t,!0);l.x=s.x+t.clientLeft,l.y=s.y+t.clientTop}else r&&(l.x=Ny(r));return{x:a.left+i.scrollLeft-l.x,y:a.top+i.scrollTop-l.y,width:a.width,height:a.height}}function My(e){return zo(e)==="html"?e:e.assignedSlot||e.parentNode||(gp(e)?e.host:null)||lr(e)}function am(e){return yo(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function Rd(e){const t=Ho(e);let n=am(e);for(;n&&y8(n)&&getComputedStyle(n).position==="static";)n=am(n);return n&&(zo(n)==="html"||zo(n)==="body"&&getComputedStyle(n).position==="static"&&!om(n))?t:n||function(o){let r=My(o);for(gp(r)&&(r=r.host);yo(r)&&!["html","body"].includes(zo(r));){if(om(r))return r;r=r.parentNode}return null}(e)||t}function im(e){if(yo(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Fr(e);return{width:t.width,height:t.height}}function Ry(e){const t=My(e);return["html","body","#document"].includes(zo(t))?e.ownerDocument.body:yo(t)&&uc(t)?t:Ry(t)}function Py(e,t){var n;t===void 0&&(t=[]);const o=Ry(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),a=Ho(o),i=r?[a].concat(a.visualViewport||[],uc(o)?o:[]):o,l=t.concat(i);return r?l:l.concat(Py(i))}function lm(e,t,n){return t==="viewport"?nm(function(o,r){const a=Ho(o),i=lr(o),l=a.visualViewport;let s=i.clientWidth,c=i.clientHeight,d=0,u=0;if(l){s=l.width,c=l.height;const p=Iy();(p||!p&&r==="fixed")&&(d=l.offsetLeft,u=l.offsetTop)}return{width:s,height:c,x:d,y:u}}(e,n)):Sa(t)?function(o,r){const a=Fr(o,!1,r==="fixed"),i=a.top+o.clientTop,l=a.left+o.clientLeft;return{top:i,left:l,x:l,y:i,right:l+o.clientWidth,bottom:i+o.clientHeight,width:o.clientWidth,height:o.clientHeight}}(t,n):nm(function(o){var r;const a=lr(o),i=pc(o),l=(r=o.ownerDocument)==null?void 0:r.body,s=vi(a.scrollWidth,a.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),c=vi(a.scrollHeight,a.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0);let d=-i.scrollLeft+Ny(o);const u=-i.scrollTop;return ll(l||a).direction==="rtl"&&(d+=vi(a.clientWidth,l?l.clientWidth:0)-s),{width:s,height:c,x:d,y:u}}(lr(e)))}function w8(e){const t=Py(e),n=["absolute","fixed"].includes(ll(e).position)&&yo(e)?Rd(e):e;return Sa(n)?t.filter(o=>Sa(o)&&function(r,a){const i=a==null||a.getRootNode==null?void 0:a.getRootNode();if(r!=null&&r.contains(a))return!0;if(i&&gp(i)){let l=a;do{if(l&&r===l)return!0;l=l.parentNode||l.host}while(l)}return!1}(o,n)&&zo(o)!=="body"):[]}const x8={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const a=[...n==="clippingAncestors"?w8(t):[].concat(n),o],i=a[0],l=a.reduce((s,c)=>{const d=lm(t,c,r);return s.top=vi(d.top,s.top),s.right=rm(d.right,s.right),s.bottom=rm(d.bottom,s.bottom),s.left=vi(d.left,s.left),s},lm(t,i,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=yo(n),a=lr(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&o!=="fixed")&&((zo(n)!=="body"||uc(a))&&(i=pc(n)),yo(n))){const s=Fr(n,!0);l.x=s.x+n.clientLeft,l.y=s.y+n.clientTop}return ze(he({},t),{x:t.x-i.scrollLeft+l.x,y:t.y-i.scrollTop+l.y})},isElement:Sa,getDimensions:im,getOffsetParent:Rd,getDocumentElement:lr,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:_8(t,Rd(n),o),floating:ze(he({},im(n)),{x:0,y:0})}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ll(e).direction==="rtl"},k8=(e,t,n)=>u8(e,t,he({platform:x8},n));Le({});const T8=e=>{if(!dt)return;if(!e)return e;const t=no(e);return t||(Vt(e)?t:e)},C8=({middleware:e,placement:t,strategy:n})=>{const o=A(),r=A(),a=A(),i=A(),l=A({}),s={x:a,y:i,placement:t,strategy:n,middlewareData:l},c=async()=>{if(!dt)return;const d=T8(o),u=no(r);if(!d||!u)return;const p=await k8(d,u,{placement:_(t),strategy:_(n),middleware:_(e)});Object.keys(s).forEach(f=>{s[f].value=p[f]})};return et(()=>{Dn(()=>{c()})}),ze(he({},s),{update:c,referenceRef:o,contentRef:r})},S8=({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(n){const o=_(e);return o?g8({element:o,padding:t}).fn(n):{}}}),$8="2.1.9",sm=Symbol("INSTALLED_KEY"),A8=(e=[])=>({version:$8,install:(n,o)=>{n[sm]||(n[sm]=!0,e.forEach(r=>n.use(r)),o&&_y(o,n,!0))}}),E8=Le({zIndex:{type:Te([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),z8={scroll:({scrollTop:e,fixed:t})=>typeof e=="number"&&typeof t=="boolean",change:e=>typeof e=="boolean"};var _e=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const I8={name:"ElAffix"},N8=ee(ze(he({},I8),{props:E8,emits:z8,setup(e,{expose:t,emit:n}){const o=e,r="ElAffix",a=ke("affix"),i=Kt(),l=Kt(),s=Kt(),{height:c}=u$(),{height:d,width:u,top:p,bottom:f,update:h}=Wh(l),b=Wh(i),m=A(!1),g=A(0),v=A(0),y=C(()=>({height:m.value?`${d.value}px`:"",width:m.value?`${u.value}px`:""})),T=C(()=>{if(!m.value)return{};const $=o.offset?`${o.offset}px`:0;return{height:`${d.value}px`,width:`${u.value}px`,top:o.position==="top"?$:"",bottom:o.position==="bottom"?$:"",transform:v.value?`translateY(${v.value}px)`:"",zIndex:o.zIndex}}),x=()=>{if(!!s.value)if(g.value=s.value instanceof Window?document.documentElement.scrollTop:s.value.scrollTop||0,o.position==="top")if(o.target){const $=b.bottom.value-o.offset-d.value;m.value=o.offset>p.value&&b.bottom.value>0,v.value=$<0?$:0}else m.value=o.offset>p.value;else if(o.target){const $=c.value-b.top.value-o.offset-d.value;m.value=c.value-o.offsetb.top.value,v.value=$<0?-$:0}else m.value=c.value-o.offset{n("scroll",{scrollTop:g.value,fixed:m.value})};return ge(m,$=>n("change",$)),et(()=>{var $;o.target?(i.value=($=document.querySelector(o.target))!=null?$:void 0,i.value||Wt(r,`Target is not existed: ${o.target}`)):i.value=document.documentElement,s.value=ap(l.value,!0),h()}),Ht(s,"scroll",k),Dn(x),t({update:x}),($,z)=>(w(),I("div",{ref_key:"root",ref:l,class:S(_(a).b()),style:Oe(_(y))},[M("div",{class:S({[_(a).m("fixed")]:m.value}),style:Oe(_(T))},[ue($.$slots,"default")],6)],6))}}));var M8=_e(N8,[["__file","/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);const R8=rt(M8),P8=Le({size:{type:Te([Number,String])},color:{type:String}}),O8={name:"ElIcon",inheritAttrs:!1},F8=ee(ze(he({},O8),{props:P8,setup(e){const t=e,n=ke("icon"),o=C(()=>!t.size&&!t.color?{}:{fontSize:Cn(t.size)?void 0:io(t.size),"--color":t.color});return(r,a)=>(w(),I("i",St({class:_(n).b(),style:_(o)},r.$attrs),[ue(r.$slots,"default")],16))}}));var D8=_e(F8,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const qe=rt(D8),L8=["light","dark"],V8=Le({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:Nd(Fo),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:L8,default:"light"}}),B8={close:e=>e instanceof MouseEvent},j8={name:"ElAlert"},H8=ee(ze(he({},j8),{props:V8,emits:B8,setup(e,{emit:t}){const n=e,{Close:o}=ic,r=nl(),a=ke("alert"),i=A(!0),l=C(()=>Fo[n.type]||Fo.info),s=C(()=>n.description||{[a.is("big")]:r.default}),c=C(()=>n.description||{[a.is("bold")]:r.default}),d=u=>{i.value=!1,t("close",u)};return(u,p)=>(w(),Q(qt,{name:_(a).b("fade")},{default:K(()=>[Ue(M("div",{class:S([_(a).b(),_(a).m(u.type),_(a).is("center",u.center),_(a).is(u.effect)]),role:"alert"},[u.showIcon&&_(l)?(w(),Q(_(qe),{key:0,class:S([_(a).e("icon"),_(s)])},{default:K(()=>[(w(),Q(pt(_(l))))]),_:1},8,["class"])):G("v-if",!0),M("div",{class:S(_(a).e("content"))},[u.title||u.$slots.title?(w(),I("span",{key:0,class:S([_(a).e("title"),_(c)])},[ue(u.$slots,"title",{},()=>[it(ve(u.title),1)])],2)):G("v-if",!0),u.$slots.default||u.description?(w(),I("p",{key:1,class:S(_(a).e("description"))},[ue(u.$slots,"default",{},()=>[it(ve(u.description),1)])],2)):G("v-if",!0),u.closable?(w(),I(Fe,{key:2},[u.closeText?(w(),I("div",{key:0,class:S([_(a).e("close-btn"),_(a).is("customed")]),onClick:d},ve(u.closeText),3)):(w(),Q(_(qe),{key:1,class:S(_(a).e("close-btn")),onClick:d},{default:K(()=>[U(_(o))]),_:1},8,["class"]))],2112)):G("v-if",!0)],2)],2),[[ft,i.value]])]),_:3},8,["name"]))}}));var q8=_e(H8,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const K8=rt(q8);let Xn;const W8=` + */const nv=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",La=e=>nv?Symbol(e):"_vr_"+e,Z2=La("rvlm"),Gf=La("rvd"),Lu=La("r"),ov=La("rl"),xd=La("rvl"),la=typeof window!="undefined";function J2(e){return e.__esModule||nv&&e[Symbol.toStringTag]==="Module"}const It=Object.assign;function kc(e,t){const n={};for(const o in t){const r=t[o];n[o]=Array.isArray(r)?r.map(e):e(r)}return n}const mi=()=>{},Q2=/\/$/,e3=e=>e.replace(Q2,"");function Tc(e,t,n="/"){let o,r={},a="",i="";const l=t.indexOf("?"),s=t.indexOf("#",l>-1?l:0);return l>-1&&(o=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),r=e(a)),s>-1&&(o=o||t.slice(0,s),i=t.slice(s,t.length)),o=r3(o!=null?o:t,n),{fullPath:o+(a&&"?")+a+i,path:o,query:r,hash:i}}function t3(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Xf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function n3(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&xa(t.matched[o],n.matched[r])&&rv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xa(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!o3(e[n],t[n]))return!1;return!0}function o3(e,t){return Array.isArray(e)?Zf(e,t):Array.isArray(t)?Zf(t,e):e===t}function Zf(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function r3(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r=n.length-1,a,i;for(a=0;a({left:window.pageXOffset,top:window.pageYOffset});function c3(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=s3(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Jf(e,t){return(history.state?history.state.position-t:-1)+e}const kd=new Map;function d3(e,t){kd.set(e,t)}function u3(e){const t=kd.get(e);return kd.delete(e),t}let p3=()=>location.protocol+"//"+location.host;function av(e,t){const{pathname:n,search:o,hash:r}=t,a=e.indexOf("#");if(a>-1){let l=r.includes(e.slice(a))?e.slice(a).length:1,s=r.slice(l);return s[0]!=="/"&&(s="/"+s),Xf(s,"")}return Xf(n,e)+o+r}function f3(e,t,n,o){let r=[],a=[],i=null;const l=({state:p})=>{const f=av(e,location),h=n.value,b=t.value;let m=0;if(p){if(n.value=f,t.value=p,i&&i===h){i=null;return}m=b?p.position-b.position:0}else o(f);r.forEach(g=>{g(n.value,h,{delta:m,type:Pi.pop,direction:m?m>0?gi.forward:gi.back:gi.unknown})})};function s(){i=n.value}function c(p){r.push(p);const f=()=>{const h=r.indexOf(p);h>-1&&r.splice(h,1)};return a.push(f),f}function d(){const{history:p}=window;!p.state||p.replaceState(It({},p.state,{scroll:Ys()}),"")}function u(){for(const p of a)p();a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",d),{pauseListeners:s,listen:c,destroy:u}}function Qf(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Ys():null}}function h3(e){const{history:t,location:n}=window,o={value:av(e,n)},r={value:t.state};r.value||a(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(s,c,d){const u=e.indexOf("#"),p=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+s:p3()+e+s;try{t[d?"replaceState":"pushState"](c,"",p),r.value=c}catch(f){console.error(f),n[d?"replace":"assign"](p)}}function i(s,c){const d=It({},t.state,Qf(r.value.back,s,r.value.forward,!0),c,{position:r.value.position});a(s,d,!0),o.value=s}function l(s,c){const d=It({},r.value,t.state,{forward:s,scroll:Ys()});a(d.current,d,!0);const u=It({},Qf(o.value,s,null),{position:d.position+1},c);a(s,u,!1),o.value=s}return{location:o,state:r,push:l,replace:i}}function m3(e){e=a3(e);const t=h3(e),n=f3(e,t.state,t.location,t.replace);function o(a,i=!0){i||n.pauseListeners(),history.go(a)}const r=It({location:"",base:e,go:o,createHref:l3.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 g3(e){return typeof e=="string"||e&&typeof e=="object"}function iv(e){return typeof e=="string"||typeof e=="symbol"}const Yo={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},lv=La("nf");var eh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(eh||(eh={}));function ka(e,t){return It(new Error,{type:e,[lv]:!0},t)}function Go(e,t){return e instanceof Error&&lv in e&&(t==null||!!(e.type&t))}const th="[^/]+?",b3={sensitive:!1,strict:!1,start:!0,end:!0},v3=/[.+*?^${}()[\]/\\]/g;function y3(e,t){const n=It({},b3,t),o=[];let r=n.start?"^":"";const a=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let u=0;u1&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error(`Missing required param "${h}"`);d+=v}}return d}return{re:i,score:o,keys:a,parse:l,stringify:s}}function _3(e,t){let n=0;for(;nt.length?t.length===1&&t[0]===40+40?1:-1:0}function w3(e,t){let n=0;const o=e.score,r=t.score;for(;n1&&(s==="*"||s==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:d,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l{i(v)}:mi}function i(d){if(iv(d)){const u=o.get(d);u&&(o.delete(d),n.splice(n.indexOf(u),1),u.children.forEach(i),u.alias.forEach(i))}else{const u=n.indexOf(d);u>-1&&(n.splice(u,1),d.record.name&&o.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function s(d){let u=0;for(;u=0&&(d.record.path!==n[u].record.path||!sv(d,n[u]));)u++;n.splice(u,0,d),d.record.name&&!nh(d)&&o.set(d.record.name,d)}function c(d,u){let p,f={},h,b;if("name"in d&&d.name){if(p=o.get(d.name),!p)throw ka(1,{location:d});b=p.record.name,f=It($3(u.params,p.keys.filter(v=>!v.optional).map(v=>v.name)),d.params),h=p.stringify(f)}else if("path"in d)h=d.path,p=n.find(v=>v.re.test(h)),p&&(f=p.parse(h),b=p.record.name);else{if(p=u.name?o.get(u.name):n.find(v=>v.re.test(u.path)),!p)throw ka(1,{location:d,currentLocation:u});b=p.record.name,f=It({},u.params,d.params),h=p.stringify(f)}const m=[];let g=p;for(;g;)m.unshift(g.record),g=g.parent;return{name:b,path:h,params:f,matched:m,meta:z3(m)}}return e.forEach(d=>a(d)),{addRoute:a,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function $3(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function A3(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:E3(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function E3(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=="boolean"?n:n[o];return t}function nh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function z3(e){return e.reduce((t,n)=>It(t,n.meta),{})}function oh(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function sv(e,t){return t.children.some(n=>n===e||sv(e,n))}const cv=/#/g,I3=/&/g,N3=/\//g,M3=/=/g,R3=/\?/g,dv=/\+/g,P3=/%5B/g,O3=/%5D/g,uv=/%5E/g,F3=/%60/g,pv=/%7B/g,D3=/%7C/g,fv=/%7D/g,L3=/%20/g;function Vu(e){return encodeURI(""+e).replace(D3,"|").replace(P3,"[").replace(O3,"]")}function V3(e){return Vu(e).replace(pv,"{").replace(fv,"}").replace(uv,"^")}function Td(e){return Vu(e).replace(dv,"%2B").replace(L3,"+").replace(cv,"%23").replace(I3,"%26").replace(F3,"`").replace(pv,"{").replace(fv,"}").replace(uv,"^")}function B3(e){return Td(e).replace(M3,"%3D")}function j3(e){return Vu(e).replace(cv,"%23").replace(R3,"%3F")}function H3(e){return e==null?"":j3(e).replace(N3,"%2F")}function ws(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function q3(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ra&&Td(a)):[o&&Td(o)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function K3(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Array.isArray(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}function Qa(){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,reset:n}}function nr(e,t,n,o,r){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const s=u=>{u===!1?l(ka(4,{from:n,to:t})):u instanceof Error?l(u):g3(u)?l(ka(2,{from:t,to:u})):(a&&o.enterCallbacks[r]===a&&typeof u=="function"&&a.push(u),i())},c=e.call(o&&o.instances[r],t,n,s);let d=Promise.resolve(c);e.length<3&&(d=d.then(s)),d.catch(u=>l(u))})}function Cc(e,t,n,o){const r=[];for(const a of e)for(const i in a.components){let l=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(W3(l)){const c=(l.__vccOpts||l)[t];c&&r.push(nr(c,n,o,a,i))}else{let s=l();r.push(()=>s.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${a.path}"`));const d=J2(c)?c.default:c;a.components[i]=d;const p=(d.__vccOpts||d)[t];return p&&nr(p,n,o,a,i)()}))}}return r}function W3(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ah(e){const t=Ie(Lu),n=Ie(ov),o=C(()=>t.resolve(_(e.to))),r=C(()=>{const{matched:s}=o.value,{length:c}=s,d=s[c-1],u=n.matched;if(!d||!u.length)return-1;const p=u.findIndex(xa.bind(null,d));if(p>-1)return p;const f=ih(s[c-2]);return c>1&&ih(d)===f&&u[u.length-1].path!==f?u.findIndex(xa.bind(null,s[c-2])):p}),a=C(()=>r.value>-1&&X3(n.params,o.value.params)),i=C(()=>r.value>-1&&r.value===n.matched.length-1&&rv(n.params,o.value.params));function l(s={}){return G3(s)?t[_(e.replace)?"replace":"push"](_(e.to)).catch(mi):Promise.resolve()}return{route:o,href:C(()=>o.value.href),isActive:a,isExactActive:i,navigate:l}}const U3=ee({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ah,setup(e,{slots:t}){const n=vt(ah(e)),{options:o}=Ie(Lu),r=C(()=>({[lh(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[lh(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:Re("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},a)}}}),Y3=U3;function G3(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 X3(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(!Array.isArray(r)||r.length!==o.length||o.some((a,i)=>a!==r[i]))return!1}return!0}function ih(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const lh=(e,t,n)=>e!=null?e:t!=null?t:n,Z3=ee({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ie(xd),r=C(()=>e.route||o.value),a=Ie(Gf,0),i=C(()=>r.value.matched[a]);ot(Gf,a+1),ot(Z2,i),ot(xd,r);const l=A();return ge(()=>[l.value,i.value,e.name],([s,c,d],[u,p,f])=>{c&&(c.instances[d]=s,p&&p!==c&&s&&s===u&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),s&&c&&(!p||!xa(c,p)||!u)&&(c.enterCallbacks[d]||[]).forEach(h=>h(s))},{flush:"post"}),()=>{const s=r.value,c=i.value,d=c&&c.components[e.name],u=e.name;if(!d)return sh(n.default,{Component:d,route:s});const p=c.props[e.name],f=p?p===!0?s.params:typeof p=="function"?p(s):p:null,b=Re(d,It({},f,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(c.instances[u]=null)},ref:l}));return sh(n.default,{Component:b,route:s})||b}}});function sh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const J3=Z3;function Q3(e){const t=S3(e.routes,e),n=e.parseQuery||q3,o=e.stringifyQuery||rh,r=e.history,a=Qa(),i=Qa(),l=Qa(),s=Kt(Yo);let c=Yo;la&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=kc.bind(null,oe=>""+oe),u=kc.bind(null,H3),p=kc.bind(null,ws);function f(oe,H){let ne,ie;return iv(oe)?(ne=t.getRecordMatcher(oe),ie=H):ie=oe,t.addRoute(ie,ne)}function h(oe){const H=t.getRecordMatcher(oe);H&&t.removeRoute(H)}function b(){return t.getRoutes().map(oe=>oe.record)}function m(oe){return!!t.getRecordMatcher(oe)}function g(oe,H){if(H=It({},H||s.value),typeof oe=="string"){const Me=Tc(n,oe,H.path),j=t.resolve({path:Me.path},H),X=r.createHref(Me.fullPath);return It(Me,j,{params:p(j.params),hash:ws(Me.hash),redirectedFrom:void 0,href:X})}let ne;if("path"in oe)ne=It({},oe,{path:Tc(n,oe.path,H.path).path});else{const Me=It({},oe.params);for(const j in Me)Me[j]==null&&delete Me[j];ne=It({},oe,{params:u(oe.params)}),H.params=u(H.params)}const ie=t.resolve(ne,H),be=oe.hash||"";ie.params=d(p(ie.params));const $e=t3(o,It({},oe,{hash:V3(be),path:ie.path})),Ne=r.createHref($e);return It({fullPath:$e,hash:be,query:o===rh?K3(oe.query):oe.query||{}},ie,{redirectedFrom:void 0,href:Ne})}function v(oe){return typeof oe=="string"?Tc(n,oe,s.value.path):It({},oe)}function y(oe,H){if(c!==oe)return ka(8,{from:H,to:oe})}function T(oe){return $(oe)}function x(oe){return T(It(v(oe),{replace:!0}))}function k(oe){const H=oe.matched[oe.matched.length-1];if(H&&H.redirect){const{redirect:ne}=H;let ie=typeof ne=="function"?ne(oe):ne;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=v(ie):{path:ie},ie.params={}),It({query:oe.query,hash:oe.hash,params:oe.params},ie)}}function $(oe,H){const ne=c=g(oe),ie=s.value,be=oe.state,$e=oe.force,Ne=oe.replace===!0,Me=k(ne);if(Me)return $(It(v(Me),{state:be,force:$e,replace:Ne}),H||ne);const j=ne;j.redirectedFrom=H;let X;return!$e&&n3(o,ie,ne)&&(X=ka(16,{to:j,from:ie}),Y(ie,ie,!0,!1)),(X?Promise.resolve(X):P(j,ie)).catch(de=>Go(de)?Go(de,2)?de:W(de):E(de,j,ie)).then(de=>{if(de){if(Go(de,2))return $(It(v(de.to),{state:be,force:$e,replace:Ne}),H||j)}else de=D(j,ie,!0,Ne,be);return O(j,ie,de),de})}function z(oe,H){const ne=y(oe,H);return ne?Promise.reject(ne):Promise.resolve()}function P(oe,H){let ne;const[ie,be,$e]=ek(oe,H);ne=Cc(ie.reverse(),"beforeRouteLeave",oe,H);for(const Me of ie)Me.leaveGuards.forEach(j=>{ne.push(nr(j,oe,H))});const Ne=z.bind(null,oe,H);return ne.push(Ne),Qr(ne).then(()=>{ne=[];for(const Me of a.list())ne.push(nr(Me,oe,H));return ne.push(Ne),Qr(ne)}).then(()=>{ne=Cc(be,"beforeRouteUpdate",oe,H);for(const Me of be)Me.updateGuards.forEach(j=>{ne.push(nr(j,oe,H))});return ne.push(Ne),Qr(ne)}).then(()=>{ne=[];for(const Me of oe.matched)if(Me.beforeEnter&&!H.matched.includes(Me))if(Array.isArray(Me.beforeEnter))for(const j of Me.beforeEnter)ne.push(nr(j,oe,H));else ne.push(nr(Me.beforeEnter,oe,H));return ne.push(Ne),Qr(ne)}).then(()=>(oe.matched.forEach(Me=>Me.enterCallbacks={}),ne=Cc($e,"beforeRouteEnter",oe,H),ne.push(Ne),Qr(ne))).then(()=>{ne=[];for(const Me of i.list())ne.push(nr(Me,oe,H));return ne.push(Ne),Qr(ne)}).catch(Me=>Go(Me,8)?Me:Promise.reject(Me))}function O(oe,H,ne){for(const ie of l.list())ie(oe,H,ne)}function D(oe,H,ne,ie,be){const $e=y(oe,H);if($e)return $e;const Ne=H===Yo,Me=la?history.state:{};ne&&(ie||Ne?r.replace(oe.fullPath,It({scroll:Ne&&Me&&Me.scroll},be)):r.push(oe.fullPath,be)),s.value=oe,Y(oe,H,ne,Ne),W()}let L;function F(){L||(L=r.listen((oe,H,ne)=>{const ie=g(oe),be=k(ie);if(be){$(It(be,{replace:!0}),ie).catch(mi);return}c=ie;const $e=s.value;la&&d3(Jf($e.fullPath,ne.delta),Ys()),P(ie,$e).catch(Ne=>Go(Ne,12)?Ne:Go(Ne,2)?($(Ne.to,ie).then(Me=>{Go(Me,20)&&!ne.delta&&ne.type===Pi.pop&&r.go(-1,!1)}).catch(mi),Promise.reject()):(ne.delta&&r.go(-ne.delta,!1),E(Ne,ie,$e))).then(Ne=>{Ne=Ne||D(ie,$e,!1),Ne&&(ne.delta?r.go(-ne.delta,!1):ne.type===Pi.pop&&Go(Ne,20)&&r.go(-1,!1)),O(ie,$e,Ne)}).catch(mi)}))}let V=Qa(),q=Qa(),M;function E(oe,H,ne){W(oe);const ie=q.list();return ie.length?ie.forEach(be=>be(oe,H,ne)):console.error(oe),Promise.reject(oe)}function N(){return M&&s.value!==Yo?Promise.resolve():new Promise((oe,H)=>{V.add([oe,H])})}function W(oe){return M||(M=!oe,F(),V.list().forEach(([H,ne])=>oe?ne(oe):H()),V.reset()),oe}function Y(oe,H,ne,ie){const{scrollBehavior:be}=e;if(!la||!be)return Promise.resolve();const $e=!ne&&u3(Jf(oe.fullPath,0))||(ie||!ne)&&history.state&&history.state.scroll||null;return je().then(()=>be(oe,H,$e)).then(Ne=>Ne&&c3(Ne)).catch(Ne=>E(Ne,oe,H))}const J=oe=>r.go(oe);let Z;const se=new Set;return{currentRoute:s,addRoute:f,removeRoute:h,hasRoute:m,getRoutes:b,resolve:g,options:e,push:T,replace:x,go:J,back:()=>J(-1),forward:()=>J(1),beforeEach:a.add,beforeResolve:i.add,afterEach:l.add,onError:q.add,isReady:N,install(oe){const H=this;oe.component("RouterLink",Y3),oe.component("RouterView",J3),oe.config.globalProperties.$router=H,Object.defineProperty(oe.config.globalProperties,"$route",{enumerable:!0,get:()=>_(s)}),la&&!Z&&s.value===Yo&&(Z=!0,T(r.location).catch(be=>{}));const ne={};for(const be in Yo)ne[be]=C(()=>s.value[be]);oe.provide(Lu,H),oe.provide(ov,vt(ne)),oe.provide(xd,s);const ie=oe.unmount;se.add(oe),oe.unmount=function(){se.delete(oe),se.size<1&&(c=Yo,L&&L(),L=null,s.value=Yo,Z=!1,M=!1),ie()}}}}function Qr(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function ek(e,t){const n=[],o=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;ixa(c,l))?o.push(l):n.push(l));const s=e.matched[i];s&&(t.matched.find(c=>xa(c,s))||r.push(s))}return[n,o,r]}const tk=[{path:"/",name:"Home",component:H2},{path:"/about",name:"About",component:X2}],nk=Q3({history:m3(),routes:tk});var ok=typeof global=="object"&&global&&global.Object===Object&&global,hv=ok,rk=typeof self=="object"&&self&&self.Object===Object&&self,ak=hv||rk||Function("return this")(),co=ak,ik=co.Symbol,jn=ik,mv=Object.prototype,lk=mv.hasOwnProperty,sk=mv.toString,ei=jn?jn.toStringTag:void 0;function ck(e){var t=lk.call(e,ei),n=e[ei];try{e[ei]=void 0;var o=!0}catch{}var r=sk.call(e);return o&&(t?e[ei]=n:delete e[ei]),r}var dk=Object.prototype,uk=dk.toString;function pk(e){return uk.call(e)}var fk="[object Null]",hk="[object Undefined]",ch=jn?jn.toStringTag:void 0;function Va(e){return e==null?e===void 0?hk:fk:ch&&ch in Object(e)?ck(e):pk(e)}function Po(e){return e!=null&&typeof e=="object"}var mk="[object Symbol]";function Gs(e){return typeof e=="symbol"||Po(e)&&Va(e)==mk}function gk(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n0){if(++t>=Xk)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function e6(e){return function(){return e}}var t6=function(){try{var e=Yr(Object,"defineProperty");return e({},"",{}),e}catch{}}(),xs=t6,n6=xs?function(e,t){return xs(e,"toString",{configurable:!0,enumerable:!1,value:e6(t),writable:!0})}:bv,o6=n6,r6=Qk(o6),yv=r6;function a6(e,t){for(var n=-1,o=e==null?0:e.length;++n-1}var u6=9007199254740991,p6=/^(?:0|[1-9]\d*)$/;function Bu(e,t){var n=typeof e;return t=t==null?u6:t,!!t&&(n=="number"||n!="symbol"&&p6.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=g6}function Ku(e){return e!=null&&qu(e.length)&&!vv(e)}var b6=Object.prototype;function Wu(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||b6;return e===n}function v6(e,t){for(var n=-1,o=Array(e);++n-1}function MT(e,t){var n=this.__data__,o=Zs(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function Vo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(l)?t>1?tc(l,t-1,n,o,r):Ju(r,l):o||(r[r.length]=l)}return r}function ZT(e){var t=e==null?0:e.length;return t?tc(e,1):[]}function JT(e){return yv(wv(e,void 0,ZT),e+"")}var QT=$v(Object.getPrototypeOf,Object),Ev=QT;function Di(){if(!arguments.length)return[];var e=arguments[0];return ro(e)?e:[e]}function eC(){this.__data__=new Vo,this.size=0}function tC(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function nC(e){return this.__data__.get(e)}function oC(e){return this.__data__.has(e)}var rC=200;function aC(e,t){var n=this.__data__;if(n instanceof Vo){var o=n.__data__;if(!Fi||o.lengthl))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var u=-1,p=!0,f=n&KS?new Vi:void 0;for(a.set(e,t),a.set(t,e);++u=t||$<0||u&&z>=a}function g(){var k=Ec();if(m(k))return v(k);l=setTimeout(g,b(k))}function v(k){return l=void 0,p&&o?f(k):(o=r=void 0,i)}function y(){l!==void 0&&clearTimeout(l),c=0,o=s=r=l=void 0}function T(){return l===void 0?i:v(Ec())}function x(){var k=Ec(),$=m(k);if(o=arguments,r=this,s=k,$){if(l===void 0)return h(s);if(u)return clearTimeout(l),l=setTimeout(g,t),f(s)}return l===void 0&&(l=setTimeout(g,t)),i}return x.cancel=y,x.flush=T,x}function w4(e){return Po(e)&&Ku(e)}function x4(e,t,n){for(var o=-1,r=e==null?0:e.length;++o=M4){var c=t?null:N4(e);if(c)return tp(c);i=!1,r=Fv,s=new Vi}else s=t?[]:l;e:for(;++ogetComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,Lh=e=>Array.from(e.querySelectorAll(O4)).filter(t=>D4(t)&&F4(t)),D4=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.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}},Ll=function(e,t,...n){let o;t.includes("mouse")||t.includes("click")?o="MouseEvents":t.includes("key")?o="KeyboardEvent":o="HTMLEvents";const r=document.createEvent(o);return r.initEvent(t,...n),e.dispatchEvent(r),e},jv=e=>!e.getAttribute("aria-owns"),Hv=(e,t,n)=>{const{parentNode:o}=e;if(!o)return null;const r=o.querySelectorAll(n),a=Array.prototype.indexOf.call(r,e);return r[a+t]||null},Vl=e=>{!e||(e.focus(),!jv(e)&&e.click())},At=(e,t,n,o=!1)=>{e&&t&&n&&(e==null||e.addEventListener(t,n,o))},Bt=(e,t,n,o=!1)=>{e&&t&&n&&(e==null||e.removeEventListener(t,n,o))},L4=(e,t,n)=>{const o=function(...r){n&&n.apply(this,r),Bt(e,t,o)};At(e,t,o)},Ot=(e,t,{checkForDefaultPrevented:n=!0}={})=>r=>{const a=e==null?void 0:e(r);if(n===!1||!a)return t==null?void 0:t(r)},Vh=e=>t=>t.pointerType==="mouse"?e(t):void 0;var V4=Object.defineProperty,B4=Object.defineProperties,j4=Object.getOwnPropertyDescriptors,Bh=Object.getOwnPropertySymbols,H4=Object.prototype.hasOwnProperty,q4=Object.prototype.propertyIsEnumerable,jh=(e,t,n)=>t in e?V4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K4=(e,t)=>{for(var n in t||(t={}))H4.call(t,n)&&jh(e,n,t[n]);if(Bh)for(var n of Bh(t))q4.call(t,n)&&jh(e,n,t[n]);return e},W4=(e,t)=>B4(e,j4(t));function Hh(e,t){var n;const o=Kt();return Dn(()=>{o.value=e()},W4(K4({},t),{flush:(n=t==null?void 0:t.flush)!=null?n:"sync"})),Zi(o)}function nc(e){return R1()?(jg(e),!0):!1}const dt=typeof window!="undefined",on=e=>typeof e=="boolean",mt=e=>typeof e=="number",U4=e=>typeof e=="string",Ic=()=>{};function qv(e,t){function n(...o){e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})}return n}function Y4(e,t={}){let n,o;return a=>{const i=_(e),l=_(t.maxWait);if(n&&clearTimeout(n),i<=0||l!==void 0&&l<=0)return o&&(clearTimeout(o),o=null),a();l&&!o&&(o=setTimeout(()=>{n&&clearTimeout(n),o=null,a()},l)),n=setTimeout(()=>{o&&clearTimeout(o),o=null,a()},i)}}function G4(e,t=!0,n=!0){let o=0,r,a=!n;const i=()=>{r&&(clearTimeout(r),r=void 0)};return s=>{const c=_(e),d=Date.now()-o;if(i(),c<=0)return o=Date.now(),s();d>c&&(o=Date.now(),a?a=!1:s()),t&&(r=setTimeout(()=>{o=Date.now(),n||(a=!0),i(),s()},c)),!n&&!r&&(r=setTimeout(()=>a=!0,c))}}function X4(e,t=200,n={}){return qv(Y4(t,n),e)}function Z4(e,t=200,n={}){if(t<=0)return e;const o=A(e.value),r=X4(()=>{o.value=e.value},t,n);return ge(e,()=>r()),o}function Kv(e,t=200,n=!0,o=!0){return qv(G4(t,n,o),e)}function J4(e,t=!0){nt()?et(e):t?e():je(e)}function jr(e,t,n={}){const{immediate:o=!0}=n,r=A(!1);let a=null;function i(){a&&(clearTimeout(a),a=null)}function l(){r.value=!1,i()}function s(...c){i(),r.value=!0,a=setTimeout(()=>{r.value=!1,a=null,e(...c)},_(t))}return o&&(r.value=!0,dt&&s()),nc(l),{isPending:r,start:s,stop:l}}function no(e){var t;const n=_(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ol=dt?window:void 0,Q4=dt?window.document:void 0;function Ht(...e){let t,n,o,r;if(U4(e[0])?([n,o,r]=e,t=ol):[t,n,o,r]=e,!t)return Ic;let a=Ic;const i=ge(()=>no(t),s=>{a(),s&&(s.addEventListener(n,o,r),a=()=>{s.removeEventListener(n,o,r),a=Ic})},{immediate:!0,flush:"post"}),l=()=>{i(),a()};return nc(l),l}function Cs(e,t,n={}){const{window:o=ol,ignore:r,capture:a=!0}=n;if(!o)return;const i=A(!0),s=[Ht(o,"click",d=>{const u=no(e),p=d.composedPath();!u||u===d.target||p.includes(u)||!i.value||r&&r.length>0&&r.some(f=>{const h=no(f);return h&&(d.target===h||p.includes(h))})||t(d)},{passive:!0,capture:a}),Ht(o,"pointerdown",d=>{const u=no(e);i.value=!!u&&!d.composedPath().includes(u)},{passive:!0})];return()=>s.forEach(d=>d())}const Ed=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},zd="__vueuse_ssr_handlers__";Ed[zd]=Ed[zd]||{};Ed[zd];function e$({document:e=Q4}={}){if(!e)return A("visible");const t=A(e.visibilityState);return Ht(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var qh=Object.getOwnPropertySymbols,t$=Object.prototype.hasOwnProperty,n$=Object.prototype.propertyIsEnumerable,o$=(e,t)=>{var n={};for(var o in e)t$.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&qh)for(var o of qh(e))t.indexOf(o)<0&&n$.call(e,o)&&(n[o]=e[o]);return n};function Ba(e,t,n={}){const o=n,{window:r=ol}=o,a=o$(o,["window"]);let i;const l=r&&"ResizeObserver"in r,s=()=>{i&&(i.disconnect(),i=void 0)},c=ge(()=>no(e),u=>{s(),l&&r&&u&&(i=new ResizeObserver(t),i.observe(u,a))},{immediate:!0,flush:"post"}),d=()=>{s(),c()};return nc(d),{isSupported:l,stop:d}}function Kh(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:r=!0}=t,a=A(0),i=A(0),l=A(0),s=A(0),c=A(0),d=A(0),u=A(0),p=A(0);function f(){const h=no(e);if(!h){n&&(a.value=0,i.value=0,l.value=0,s.value=0,c.value=0,d.value=0,u.value=0,p.value=0);return}const b=h.getBoundingClientRect();a.value=b.height,i.value=b.bottom,l.value=b.left,s.value=b.right,c.value=b.top,d.value=b.width,u.value=b.x,p.value=b.y}return Ba(e,f),ge(()=>no(e),h=>!h&&f()),r&&Ht("scroll",f,{passive:!0}),o&&Ht("resize",f,{passive:!0}),{height:a,bottom:i,left:l,right:s,top:c,width:d,x:u,y:p,update:f}}var Wh,Uh;dt&&(window==null?void 0:window.navigator)&&((Wh=window==null?void 0:window.navigator)==null?void 0:Wh.platform)&&/iP(ad|hone|od)/.test((Uh=window==null?void 0:window.navigator)==null?void 0:Uh.platform);function r$({window:e=ol}={}){if(!e)return A(!1);const t=A(e.document.hasFocus());return Ht(e,"blur",()=>{t.value=!1}),Ht(e,"focus",()=>{t.value=!0}),t}function a$({window:e=ol,initialWidth:t=1/0,initialHeight:n=1/0}={}){const o=A(t),r=A(n),a=()=>{e&&(o.value=e.innerWidth,r.value=e.innerHeight)};return a(),J4(a),Ht("resize",a,{passive:!0}),{width:o,height:r}}const i$=(e,t)=>{if(!dt||!e||!t)return!1;const n=e.getBoundingClientRect();let o;return t instanceof Element?o=t.getBoundingClientRect():o={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.topo.top&&n.right>o.left&&n.left{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},l$=(e,t)=>Math.abs(Yh(e)-Yh(t)),op=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},s$=function(e){for(const t of e){const n=t.target.__resizeListeners__||[];n.length&&n.forEach(o=>{o()})}},ja=function(e,t){!dt||!e||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new ResizeObserver(s$),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},Ha=function(e,t){var n;!e||!e.__resizeListeners__||(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(n=e.__ro__)==null||n.disconnect())},Cn=e=>e===void 0,Bi=e=>!e&&e!==0||Ye(e)&&e.length===0||ut(e)&&!Object.keys(e).length,Hr=e=>typeof Element=="undefined"?!1:e instanceof Element,c$=e=>np(e),d$=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Id=e=>Object.keys(e),u$=e=>Object.entries(e),Bl=(e,t,n)=>({get value(){return Pt(e,t,n)},set value(o){A4(e,t,o)}}),Wv=(e="")=>e.split(" ").filter(t=>!!t.trim()),oo=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},bo=(e,t)=>{!e||!t.trim()||e.classList.add(...Wv(t))},hn=(e,t)=>{!e||!t.trim()||e.classList.remove(...Wv(t))},go=(e,t)=>{var n;if(!dt||!e||!t)return"";Bn(t);try{const o=e.style[t];if(o)return o;const r=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return r?r[t]:""}catch{return e.style[t]}},p$=(e,t)=>{if(!dt)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],o=go(e,n);return["scroll","auto","overlay"].some(r=>o.includes(r))},rp=(e,t)=>{if(!dt)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(p$(n,t))return n;n=n.parentNode}return n};let kl;const f$=()=>{var e;if(!dt)return 0;if(kl!==void 0)return kl;const t=document.createElement("div");t.className="el-scrollbar__wrap",t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const n=t.offsetWidth;t.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",t.appendChild(o);const r=o.offsetWidth;return(e=t.parentNode)==null||e.removeChild(t),kl=n-r,kl};function Uv(e,t){if(!dt)return;if(!t){e.scrollTop=0;return}const n=[];let o=t.offsetParent;for(;o!==null&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const r=t.offsetTop+n.reduce((s,c)=>s+c.offsetTop,0),a=r+t.offsetHeight,i=e.scrollTop,l=i+e.clientHeight;rl&&(e.scrollTop=a-e.clientHeight)}var yt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const h$=ee({name:"ArrowDown"}),m$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},g$=R("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),b$=[g$];function v$(e,t,n,o,r,a){return w(),I("svg",m$,b$)}var Gr=yt(h$,[["render",v$]]);const y$=ee({name:"ArrowLeft"}),_$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},w$=R("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"},null,-1),x$=[w$];function k$(e,t,n,o,r,a){return w(),I("svg",_$,x$)}var Xr=yt(y$,[["render",k$]]);const T$=ee({name:"ArrowRight"}),C$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},S$=R("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),$$=[S$];function A$(e,t,n,o,r,a){return w(),I("svg",C$,$$)}var Yn=yt(T$,[["render",A$]]);const E$=ee({name:"ArrowUp"}),z$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},I$=R("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0z"},null,-1),N$=[I$];function M$(e,t,n,o,r,a){return w(),I("svg",z$,N$)}var rl=yt(E$,[["render",M$]]);const R$=ee({name:"Back"}),P$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},O$=R("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z"},null,-1),F$=R("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z"},null,-1),D$=[O$,F$];function L$(e,t,n,o,r,a){return w(),I("svg",P$,D$)}var V$=yt(R$,[["render",L$]]);const B$=ee({name:"Calendar"}),j$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},H$=R("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64H128zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0v32zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64z"},null,-1),q$=[H$];function K$(e,t,n,o,r,a){return w(),I("svg",j$,q$)}var W$=yt(B$,[["render",K$]]);const U$=ee({name:"CaretRight"}),Y$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},G$=R("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"},null,-1),X$=[G$];function Z$(e,t,n,o,r,a){return w(),I("svg",Y$,X$)}var Yv=yt(U$,[["render",Z$]]);const J$=ee({name:"CaretTop"}),Q$={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},eA=R("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"},null,-1),tA=[eA];function nA(e,t,n,o,r,a){return w(),I("svg",Q$,tA)}var oA=yt(J$,[["render",nA]]);const rA=ee({name:"Check"}),aA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},iA=R("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1),lA=[iA];function sA(e,t,n,o,r,a){return w(),I("svg",aA,lA)}var Ca=yt(rA,[["render",sA]]);const cA=ee({name:"CircleCheckFilled"}),dA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},uA=R("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),pA=[uA];function fA(e,t,n,o,r,a){return w(),I("svg",dA,pA)}var hA=yt(cA,[["render",fA]]);const mA=ee({name:"CircleCheck"}),gA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},bA=R("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),vA=R("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),yA=[bA,vA];function _A(e,t,n,o,r,a){return w(),I("svg",gA,yA)}var Ss=yt(mA,[["render",_A]]);const wA=ee({name:"CircleCloseFilled"}),xA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},kA=R("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1),TA=[kA];function CA(e,t,n,o,r,a){return w(),I("svg",xA,TA)}var ap=yt(wA,[["render",CA]]);const SA=ee({name:"CircleClose"}),$A={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},AA=R("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),EA=R("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),zA=[AA,EA];function IA(e,t,n,o,r,a){return w(),I("svg",$A,zA)}var Oo=yt(SA,[["render",IA]]);const NA=ee({name:"Clock"}),MA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},RA=R("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),PA=R("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1),OA=R("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32z"},null,-1),FA=[RA,PA,OA];function DA(e,t,n,o,r,a){return w(),I("svg",MA,FA)}var Gv=yt(NA,[["render",DA]]);const LA=ee({name:"Close"}),VA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},BA=R("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),jA=[BA];function HA(e,t,n,o,r,a){return w(),I("svg",VA,jA)}var Hn=yt(LA,[["render",HA]]);const qA=ee({name:"DArrowLeft"}),KA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},WA=R("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"},null,-1),UA=[WA];function YA(e,t,n,o,r,a){return w(),I("svg",KA,UA)}var oc=yt(qA,[["render",YA]]);const GA=ee({name:"DArrowRight"}),XA={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ZA=R("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688zm-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"},null,-1),JA=[ZA];function QA(e,t,n,o,r,a){return w(),I("svg",XA,JA)}var rc=yt(GA,[["render",QA]]);const eE=ee({name:"Delete"}),tE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},nE=R("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"},null,-1),oE=[nE];function rE(e,t,n,o,r,a){return w(),I("svg",tE,oE)}var aE=yt(eE,[["render",rE]]);const iE=ee({name:"Document"}),lE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},sE=R("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"},null,-1),cE=[sE];function dE(e,t,n,o,r,a){return w(),I("svg",lE,cE)}var uE=yt(iE,[["render",dE]]);const pE=ee({name:"FullScreen"}),fE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},hE=R("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64l-192 .192zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64v-.064z"},null,-1),mE=[hE];function gE(e,t,n,o,r,a){return w(),I("svg",fE,mE)}var bE=yt(pE,[["render",gE]]);const vE=ee({name:"Hide"}),yE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_E=R("path",{d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z",fill:"currentColor"},null,-1),wE=R("path",{d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z",fill:"currentColor"},null,-1),xE=[_E,wE];function kE(e,t,n,o,r,a){return w(),I("svg",yE,xE)}var TE=yt(vE,[["render",kE]]);const CE=ee({name:"InfoFilled"}),SE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},$E=R("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),AE=[$E];function EE(e,t,n,o,r,a){return w(),I("svg",SE,AE)}var ip=yt(CE,[["render",EE]]);const zE=ee({name:"Loading"}),IE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},NE=R("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),ME=[NE];function RE(e,t,n,o,r,a){return w(),I("svg",IE,ME)}var hr=yt(zE,[["render",RE]]);const PE=ee({name:"Minus"}),OE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},FE=R("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"},null,-1),DE=[FE];function LE(e,t,n,o,r,a){return w(),I("svg",OE,DE)}var VE=yt(PE,[["render",LE]]);const BE=ee({name:"MoreFilled"}),jE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},HE=R("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224z"},null,-1),qE=[HE];function KE(e,t,n,o,r,a){return w(),I("svg",jE,qE)}var WE=yt(BE,[["render",KE]]);const UE=ee({name:"More"}),YE={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},GE=R("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"},null,-1),XE=[GE];function ZE(e,t,n,o,r,a){return w(),I("svg",YE,XE)}var JE=yt(UE,[["render",ZE]]);const QE=ee({name:"PictureFilled"}),e5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},t5=R("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32H96zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112zM256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384z"},null,-1),n5=[t5];function o5(e,t,n,o,r,a){return w(),I("svg",e5,n5)}var r5=yt(QE,[["render",o5]]);const a5=ee({name:"Plus"}),i5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},l5=R("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"},null,-1),s5=[l5];function c5(e,t,n,o,r,a){return w(),I("svg",i5,s5)}var Xv=yt(a5,[["render",c5]]);const d5=ee({name:"QuestionFilled"}),u5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},p5=R("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"},null,-1),f5=[p5];function h5(e,t,n,o,r,a){return w(),I("svg",u5,f5)}var m5=yt(d5,[["render",h5]]);const g5=ee({name:"RefreshLeft"}),b5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},v5=R("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"},null,-1),y5=[v5];function _5(e,t,n,o,r,a){return w(),I("svg",b5,y5)}var w5=yt(g5,[["render",_5]]);const x5=ee({name:"RefreshRight"}),k5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},T5=R("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"},null,-1),C5=[T5];function S5(e,t,n,o,r,a){return w(),I("svg",k5,C5)}var $5=yt(x5,[["render",S5]]);const A5=ee({name:"ScaleToOriginal"}),E5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},z5=R("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zM512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412zM512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512z"},null,-1),I5=[z5];function N5(e,t,n,o,r,a){return w(),I("svg",E5,I5)}var M5=yt(A5,[["render",N5]]);const R5=ee({name:"Search"}),P5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},O5=R("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704z"},null,-1),F5=[O5];function D5(e,t,n,o,r,a){return w(),I("svg",P5,F5)}var L5=yt(R5,[["render",D5]]);const V5=ee({name:"StarFilled"}),B5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},j5=R("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"},null,-1),H5=[j5];function q5(e,t,n,o,r,a){return w(),I("svg",B5,H5)}var Tl=yt(V5,[["render",q5]]);const K5=ee({name:"Star"}),W5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},U5=R("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72L512 747.84zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"},null,-1),Y5=[U5];function G5(e,t,n,o,r,a){return w(),I("svg",W5,Y5)}var X5=yt(K5,[["render",G5]]);const Z5=ee({name:"SuccessFilled"}),J5={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Q5=R("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),ez=[Q5];function tz(e,t,n,o,r,a){return w(),I("svg",J5,ez)}var Zv=yt(Z5,[["render",tz]]);const nz=ee({name:"View"}),oz={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},rz=R("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),az=[rz];function iz(e,t,n,o,r,a){return w(),I("svg",oz,az)}var lz=yt(nz,[["render",iz]]);const sz=ee({name:"WarningFilled"}),cz={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},dz=R("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),uz=[dz];function pz(e,t,n,o,r,a){return w(),I("svg",cz,uz)}var ji=yt(sz,[["render",pz]]);const fz=ee({name:"ZoomIn"}),hz={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},mz=R("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z"},null,-1),gz=[mz];function bz(e,t,n,o,r,a){return w(),I("svg",hz,gz)}var Jv=yt(fz,[["render",bz]]);const vz=ee({name:"ZoomOut"}),yz={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_z=R("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zM352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),wz=[_z];function xz(e,t,n,o,r,a){return w(),I("svg",yz,wz)}var kz=yt(vz,[["render",xz]]);const Nd=Symbol(),Gh="__elPropsReservedKey";function uo(e,t){if(!ut(e)||!!e[Gh])return e;const{values:n,required:o,default:r,type:a,validator:i}=e,l=n||i?c=>{let d=!1,u=[];if(n&&(u=Array.from(n),it(e,"default")&&u.push(r),d||(d=u.includes(c))),i&&(d||(d=i(c))),!d&&u.length>0){const p=[...new Set(u)].map(f=>JSON.stringify(f)).join(", ");pw(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${p}], got value ${JSON.stringify(c)}.`)}return d}:void 0,s={type:ut(a)&&Object.getOwnPropertySymbols(a).includes(Nd)?a[Nd]:a,required:!!o,validator:l,[Gh]:!0};return it(e,"default")&&(s.default=r),s}const Le=e=>Vv(Object.entries(e).map(([t,n])=>[t,uo(n,t)])),Te=e=>({[Nd]:e}),an=Te([String,Object,Function]),Tz={Close:Hn},ac={Close:Hn,SuccessFilled:Zv,InfoFilled:ip,WarningFilled:ji,CircleCloseFilled:ap},Fo={success:Zv,warning:ji,error:ap,info:ip},Qv={validating:hr,success:Ss,error:Oo},rt=(e,t)=>{if(e.install=n=>{for(const o of[e,...Object.values(t!=null?t:{})])n.component(o.name,o)},t)for(const[n,o]of Object.entries(t))e[n]=o;return e},ey=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),Dt=e=>(e.install=wt,e),lp=(...e)=>t=>{e.forEach(n=>{Je(n)?n(t):n.value=t})};class Cz extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Wt(e,t){throw new Cz(`[${e}] ${t}`)}function io(e,t="px"){if(!e)return"";if(Qe(e))return e;if(mt(e))return`${e}${t}`}const Pe={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},Sz=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],Nc=["sun","mon","tue","wed","thu","fri","sat"],tt="update:modelValue",Xt="change",pr="input",wo=["","default","small","large"],$z={large:40,default:32,small:24},ty=(e="default")=>$z[e||"default"],Nn=e=>["",...wo].includes(e),ny=e=>[...Sz].includes(e);var On=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(On||{});function oy(e){return jt(e)&&e.type===Fe}function Az(e){return jt(e)&&e.type===dn}function Ez(e){return jt(e)&&!oy(e)&&!Az(e)}const zz=e=>{if(!jt(e))return{};const t=e.props||{},n=(jt(e.type)?e.type.props:void 0)||{},o={};return Object.keys(n).forEach(r=>{it(n[r],"default")&&(o[r]=n[r].default)}),Object.keys(t).forEach(r=>{o[Bn(r)]=t[r]}),o},Iz=e=>{if(!Ye(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},Xh=e=>e**3,Nz=e=>e<.5?Xh(e*2)/2:1-Xh((1-e)*2)/2,Zh=e=>[...new Set(e)],Or=e=>!e&&e!==0?[]:Array.isArray(e)?e:[e],sp=()=>dt&&/firefox/i.test(window.navigator.userAgent),ic=e=>/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e),ry=e=>dt?window.requestAnimationFrame(e):setTimeout(e,16),ay=e=>dt?window.cancelAnimationFrame(e):clearTimeout(e),al=()=>Math.floor(Math.random()*1e4),Ft=e=>e,Mz=["class","style"],Rz=/^on[A-Z]/,cp=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=n.concat(Mz),r=nt();return C(r?()=>{var a;return Vv(Object.entries((a=r.proxy)==null?void 0:a.$attrs).filter(([i])=>!o.includes(i)&&!(t&&Rz.test(i))))}:()=>({}))},iy=Symbol("breadcrumbKey"),ly=Symbol("buttonGroupContextKey"),sy=Symbol("carouselContextKey"),cy=Symbol("collapseContextKey"),dy=Symbol(),uy=Symbol("dialogInjectionKey"),Mn=Symbol("formContextKey"),qn=Symbol("formItemContextKey"),py=Symbol("elPaginationKey"),fy=Symbol("radioGroupKey"),hy=Symbol("rowContextKey"),my=Symbol("scrollbarContextKey"),lc=Symbol("tabsRootContextKey"),gy=Symbol("uploadContextKey"),dp=Symbol("popper"),by=Symbol("popperContent"),sc=Symbol("tooltipV2"),vy=Symbol("tooltipV2Content"),Mc="tooltip_v2.open",yy=e=>{const t=nt();return C(()=>{var n,o;return(o=(n=t.proxy)==null?void 0:n.$props[e])!=null?o:void 0})},$s=A();function qa(e,t=void 0){const n=nt()?Ie(dy,$s):$s;return e?C(()=>{var o,r;return(r=(o=n.value)==null?void 0:o[e])!=null?r:t}):n}const _y=(e,t,n=!1)=>{var o;const r=!!nt(),a=r?qa():void 0,i=(o=t==null?void 0:t.provide)!=null?o:r?ot:void 0;if(!i)return;const l=C(()=>{const s=_(e);return a!=null&&a.value?Pz(a.value,s):s});return i(dy,l),(n||!$s.value)&&($s.value=l.value),l},Pz=(e,t)=>{var n;const o=[...new Set([...Id(e),...Id(t)])],r={};for(const a of o)r[a]=(n=t[a])!=null?n:e[a];return r},cc=uo({type:String,values:wo,required:!1}),Ut=(e,t={})=>{const n=A(void 0),o=t.prop?n:yy("size"),r=t.global?n:qa("size"),a=t.form?{size:void 0}:Ie(Mn,void 0),i=t.formItem?{size:void 0}:Ie(qn,void 0);return C(()=>o.value||_(e)||(i==null?void 0:i.size)||(a==null?void 0:a.size)||r.value||"")},Zr=e=>{const t=yy("disabled"),n=Ie(Mn,void 0);return C(()=>t.value||_(e)||(n==null?void 0:n.disabled)||!1)},il=({from:e,replacement:t,scope:n,version:o,ref:r,type:a="API"},i)=>{ge(()=>_(i),l=>{},{immediate:!0})},wy=(e,t,n)=>{let o={offsetX:0,offsetY:0};const r=l=>{const s=l.clientX,c=l.clientY,{offsetX:d,offsetY:u}=o,p=e.value.getBoundingClientRect(),f=p.left,h=p.top,b=p.width,m=p.height,g=document.documentElement.clientWidth,v=document.documentElement.clientHeight,y=-f+d,T=-h+u,x=g-f-b+d,k=v-h-m+u,$=P=>{const O=Math.min(Math.max(d+P.clientX-s,y),x),D=Math.min(Math.max(u+P.clientY-c,T),k);o={offsetX:O,offsetY:D},e.value.style.transform=`translate(${io(O)}, ${io(D)})`},z=()=>{document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",z)};document.addEventListener("mousemove",$),document.addEventListener("mouseup",z)},a=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",r)},i=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",r)};et(()=>{Dn(()=>{n.value?a():i()})}),$t(()=>{i()})},Oz=e=>({focus:()=>{var t,n;(n=(t=e.value)==null?void 0:t.focus)==null||n.call(t)}}),Ka=()=>{const e=Ie(Mn,void 0),t=Ie(qn,void 0);return{form:e,formItem:t}};var Fz={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const Dz=e=>(t,n)=>Lz(t,n,_(e)),Lz=(e,t,n)=>Pt(n,e,e).replace(/\{(\w+)\}/g,(o,r)=>{var a;return`${(a=t==null?void 0:t[r])!=null?a:`{${r}}`}`}),Vz=e=>{const t=C(()=>_(e).name),n=Vt(e)?e:A(e);return{lang:t,locale:n,t:Dz(e)}},Tt=()=>{const e=qa("locale");return Vz(C(()=>e.value||Fz))},xy=e=>{if(Vt(e)||Wt("[useLockscreen]","You need to pass a ref param to this function"),!dt||oo(document.body,"el-popup-parent--hidden"))return;let t=0,n=!1,o="0",r=0;const a=()=>{hn(document.body,"el-popup-parent--hidden"),n&&(document.body.style.paddingRight=o)};ge(e,i=>{if(!i){a();return}n=!oo(document.body,"el-popup-parent--hidden"),n&&(o=document.body.style.paddingRight,r=Number.parseInt(go(document.body,"paddingRight"),10)),t=f$();const l=document.documentElement.clientHeight0&&(l||s==="scroll")&&n&&(document.body.style.paddingRight=`${r+t}px`),bo(document.body,"el-popup-parent--hidden")}),jg(()=>a())},ma=[],Bz=e=>{ma.length!==0&&e.code===Pe.esc&&(e.stopPropagation(),ma[ma.length-1].handleClose())},ky=(e,t)=>{ge(t,n=>{n?ma.push(e):ma.splice(ma.indexOf(e),1)})};dt&&Ht(document,"keydown",Bz);const jz=uo({type:Te(Boolean),default:null}),Hz=uo({type:Te(Function)}),qz=e=>{const t={[e]:jz,[`onUpdate:${e}`]:Hz},n=[`update:${e}`];return{useModelToggle:({indicator:r,shouldHideWhenRouteChanges:a,shouldProceed:i,onShow:l,onHide:s})=>{const c=nt(),d=c.props,{emit:u}=c,p=`update:${e}`,f=C(()=>Je(d[`onUpdate:${e}`])),h=C(()=>d[e]===null),b=()=>{r.value!==!0&&(r.value=!0,Je(l)&&l())},m=()=>{r.value!==!1&&(r.value=!1,Je(s)&&s())},g=()=>{if(d.disabled===!0||Je(i)&&!i())return;const x=f.value&&dt;x&&u(p,!0),(h.value||!x)&&b()},v=()=>{if(d.disabled===!0||!dt)return;const x=f.value&&dt;x&&u(p,!1),(h.value||!x)&&m()},y=x=>{!on(x)||(d.disabled&&x?f.value&&u(p,!1):r.value!==x&&(x?b():m()))},T=()=>{r.value?v():g()};return ge(()=>d[e],y),a&&c.appContext.config.globalProperties.$route!==void 0&&ge(()=>he({},c.proxy.$route),()=>{a.value&&r.value&&v()}),et(()=>{y(d[e])}),{hide:v,show:g,toggle:T}},useModelToggleProps:t,useModelToggleEmits:n}},Kz=(e,t,n)=>{const o=a=>{n(a)&&a.stopImmediatePropagation()};let r;ge(()=>e.value,a=>{a?r=Ht(document,t,o,!0):r==null||r()},{immediate:!0})},Ty=(e,t)=>{let n;ge(()=>e.value,o=>{var r,a;o?(n=document.activeElement,Vt(t)&&((a=(r=t.value).focus)==null||a.call(r))):n.focus()})},up=e=>{if(!e)return{onClick:wt,onMousedown:wt,onMouseup:wt};let t=!1,n=!1;return{onClick:i=>{t&&n&&e(i),t=n=!1},onMousedown:i=>{t=i.target===i.currentTarget},onMouseup:i=>{n=i.target===i.currentTarget}}},Wz=(e,t=0)=>{if(t===0)return e;const n=A(!1);let o=0;const r=()=>{o&&clearTimeout(o),o=window.setTimeout(()=>{n.value=e.value},t)};return et(r),ge(()=>e.value,a=>{a?r():n.value=a}),n};function Uz(){let e;const t=(o,r)=>{n(),e=window.setTimeout(o,r)},n=()=>window.clearTimeout(e);return nc(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Yz={prefix:Math.floor(Math.random()*1e4),current:0},Gz=Symbol("elIdInjection"),pp=e=>{const t=Ie(Gz,Yz);return C(()=>_(e)||`el-id-${t.prefix}-${t.current++}`)},Xz=e=>{const t=n=>{const o=n;o.key===Pe.esc&&(e==null||e(o))};et(()=>{At(document,"keydown",t)}),$t(()=>{Bt(document,"keydown",t)})};let Jh;const Cy=`el-popper-container-${al()}`,Sy=`#${Cy}`,Zz=()=>{const e=document.createElement("div");return e.id=Cy,document.body.appendChild(e),e},Jz=()=>{Ji(()=>{!dt||(!Jh||!document.body.querySelector(Sy))&&(Jh=Zz())})},Qz=Le({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200}}),e8=({showAfter:e,hideAfter:t,open:n,close:o})=>{const{registerTimeout:r}=Uz();return{onOpen:()=>{r(()=>{n()},_(e))},onClose:()=>{r(()=>{o()},_(t))}}},$y=Symbol("elForwardRef"),t8=e=>{ot($y,{setForwardRef:n=>{e.value=n}})},n8=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),o8="el",r8="is-",_r=(e,t,n,o,r)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),o&&(a+=`__${o}`),r&&(a+=`--${r}`),a},ke=e=>{const t=qa("namespace"),n=C(()=>t.value||o8);return{namespace:n,b:(u="")=>_r(_(n),e,u,"",""),e:u=>u?_r(_(n),e,"",u,""):"",m:u=>u?_r(_(n),e,"","",u):"",be:(u,p)=>u&&p?_r(_(n),e,u,p,""):"",em:(u,p)=>u&&p?_r(_(n),e,"",u,p):"",bm:(u,p)=>u&&p?_r(_(n),e,u,"",p):"",bem:(u,p,f)=>u&&p&&f?_r(_(n),e,u,p,f):"",is:(u,...p)=>{const f=p.length>=1?p[0]:!0;return u&&f?`${r8}${u}`:""}}},Qh=A(0),jo=()=>{const e=qa("zIndex",2e3),t=C(()=>e.value+Qh.value);return{initialZIndex:e,currentZIndex:t,nextZIndex:()=>(Qh.value++,t.value)}};function fp(e){return e.split("-")[0]}function Ay(e){return e.split("-")[1]}function hp(e){return["top","bottom"].includes(fp(e))?"x":"y"}function Ey(e){return e==="y"?"height":"width"}function em(e,t,n){let{reference:o,floating:r}=e;const a=o.x+o.width/2-r.width/2,i=o.y+o.height/2-r.height/2,l=hp(t),s=Ey(l),c=o[s]/2-r[s]/2,d=l==="x";let u;switch(fp(t)){case"top":u={x:a,y:o.y-r.height};break;case"bottom":u={x:a,y:o.y+o.height};break;case"right":u={x:o.x+o.width,y:i};break;case"left":u={x:o.x-r.width,y:i};break;default:u={x:o.x,y:o.y}}switch(Ay(t)){case"start":u[l]-=c*(n&&d?-1:1);break;case"end":u[l]+=c*(n&&d?-1:1)}return u}const a8=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:a=[],platform:i}=n,l=await(i.isRTL==null?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:d}=em(s,o,l),u=o,p={};for(let f=0;f({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=e!=null?e:{},{x:r,y:a,placement:i,rects:l,platform:s}=t;if(n==null)return{};const c=i8(o),d={x:r,y:a},u=hp(i),p=Ey(u),f=await s.getDimensions(n),h=u==="y"?"top":"left",b=u==="y"?"bottom":"right",m=l.reference[p]+l.reference[u]-d[u]-l.floating[p],g=d[u]-l.reference[u],v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(n)),y=v?u==="y"?v.clientHeight||0:v.clientWidth||0:0,T=m/2-g/2,x=c[h],k=y-f[p]-c[b],$=y/2-f[p]/2+T,z=c8(x,$,k);return{data:{[u]:z,centerOffset:$-z}}}}),u8=["top","right","bottom","left"];u8.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const p8=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o,placement:r,rects:a,platform:i,elements:l}=t,s=function(c,d,u,p){p===void 0&&(p=!1);const f=fp(c),h=Ay(c),b=hp(c)==="x",m=["left","top"].includes(f)?-1:1,g=p&&b?-1:1,v=typeof u=="function"?u(ze(he({},d),{placement:c})):u,y=typeof v=="number";let{mainAxis:T,crossAxis:x,alignmentAxis:k}=y?{mainAxis:v,crossAxis:0,alignmentAxis:null}:he({mainAxis:0,crossAxis:0,alignmentAxis:null},v);return h&&typeof k=="number"&&(x=h==="end"?-1*k:k),b?{x:x*g,y:T*m}:{x:T*m,y:x*g}}(r,a,e,await(i.isRTL==null?void 0:i.isRTL(l.floating)));return{x:n+s.x,y:o+s.y,data:s}}}};function zy(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Ho(e){if(e==null)return window;if(!zy(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function ll(e){return Ho(e).getComputedStyle(e)}function zo(e){return zy(e)?"":e?(e.nodeName||"").toLowerCase():""}function yo(e){return e instanceof Ho(e).HTMLElement}function Sa(e){return e instanceof Ho(e).Element}function mp(e){return e instanceof Ho(e).ShadowRoot||e instanceof ShadowRoot}function dc(e){const{overflow:t,overflowX:n,overflowY:o}=ll(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function f8(e){return["table","td","th"].includes(zo(e))}function nm(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=ll(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Iy(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const om=Math.min,vi=Math.max,As=Math.round;function Fr(e,t,n){var o,r,a,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect();let s=1,c=1;t&&yo(e)&&(s=e.offsetWidth>0&&As(l.width)/e.offsetWidth||1,c=e.offsetHeight>0&&As(l.height)/e.offsetHeight||1);const d=Sa(e)?Ho(e):window,u=!Iy()&&n,p=(l.left+(u&&(o=(r=d.visualViewport)==null?void 0:r.offsetLeft)!=null?o:0))/s,f=(l.top+(u&&(a=(i=d.visualViewport)==null?void 0:i.offsetTop)!=null?a:0))/c,h=l.width/s,b=l.height/c;return{width:h,height:b,top:f,right:p+h,bottom:f+b,left:p,x:p,y:f}}function lr(e){return(t=e,(t instanceof Ho(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function uc(e){return Sa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ny(e){return Fr(lr(e)).left+uc(e).scrollLeft}function h8(e,t,n){const o=yo(t),r=lr(t),a=Fr(e,o&&function(s){const c=Fr(s);return As(c.width)!==s.offsetWidth||As(c.height)!==s.offsetHeight}(t),n==="fixed");let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&n!=="fixed")if((zo(t)!=="body"||dc(r))&&(i=uc(t)),yo(t)){const s=Fr(t,!0);l.x=s.x+t.clientLeft,l.y=s.y+t.clientTop}else r&&(l.x=Ny(r));return{x:a.left+i.scrollLeft-l.x,y:a.top+i.scrollTop-l.y,width:a.width,height:a.height}}function My(e){return zo(e)==="html"?e:e.assignedSlot||e.parentNode||(mp(e)?e.host:null)||lr(e)}function rm(e){return yo(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function Md(e){const t=Ho(e);let n=rm(e);for(;n&&f8(n)&&getComputedStyle(n).position==="static";)n=rm(n);return n&&(zo(n)==="html"||zo(n)==="body"&&getComputedStyle(n).position==="static"&&!nm(n))?t:n||function(o){let r=My(o);for(mp(r)&&(r=r.host);yo(r)&&!["html","body"].includes(zo(r));){if(nm(r))return r;r=r.parentNode}return null}(e)||t}function am(e){if(yo(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Fr(e);return{width:t.width,height:t.height}}function Ry(e){const t=My(e);return["html","body","#document"].includes(zo(t))?e.ownerDocument.body:yo(t)&&dc(t)?t:Ry(t)}function Py(e,t){var n;t===void 0&&(t=[]);const o=Ry(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),a=Ho(o),i=r?[a].concat(a.visualViewport||[],dc(o)?o:[]):o,l=t.concat(i);return r?l:l.concat(Py(i))}function im(e,t,n){return t==="viewport"?tm(function(o,r){const a=Ho(o),i=lr(o),l=a.visualViewport;let s=i.clientWidth,c=i.clientHeight,d=0,u=0;if(l){s=l.width,c=l.height;const p=Iy();(p||!p&&r==="fixed")&&(d=l.offsetLeft,u=l.offsetTop)}return{width:s,height:c,x:d,y:u}}(e,n)):Sa(t)?function(o,r){const a=Fr(o,!1,r==="fixed"),i=a.top+o.clientTop,l=a.left+o.clientLeft;return{top:i,left:l,x:l,y:i,right:l+o.clientWidth,bottom:i+o.clientHeight,width:o.clientWidth,height:o.clientHeight}}(t,n):tm(function(o){var r;const a=lr(o),i=uc(o),l=(r=o.ownerDocument)==null?void 0:r.body,s=vi(a.scrollWidth,a.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),c=vi(a.scrollHeight,a.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0);let d=-i.scrollLeft+Ny(o);const u=-i.scrollTop;return ll(l||a).direction==="rtl"&&(d+=vi(a.clientWidth,l?l.clientWidth:0)-s),{width:s,height:c,x:d,y:u}}(lr(e)))}function m8(e){const t=Py(e),n=["absolute","fixed"].includes(ll(e).position)&&yo(e)?Md(e):e;return Sa(n)?t.filter(o=>Sa(o)&&function(r,a){const i=a==null||a.getRootNode==null?void 0:a.getRootNode();if(r!=null&&r.contains(a))return!0;if(i&&mp(i)){let l=a;do{if(l&&r===l)return!0;l=l.parentNode||l.host}while(l)}return!1}(o,n)&&zo(o)!=="body"):[]}const g8={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const a=[...n==="clippingAncestors"?m8(t):[].concat(n),o],i=a[0],l=a.reduce((s,c)=>{const d=im(t,c,r);return s.top=vi(d.top,s.top),s.right=om(d.right,s.right),s.bottom=om(d.bottom,s.bottom),s.left=vi(d.left,s.left),s},im(t,i,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=yo(n),a=lr(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&o!=="fixed")&&((zo(n)!=="body"||dc(a))&&(i=uc(n)),yo(n))){const s=Fr(n,!0);l.x=s.x+n.clientLeft,l.y=s.y+n.clientTop}return ze(he({},t),{x:t.x-i.scrollLeft+l.x,y:t.y-i.scrollTop+l.y})},isElement:Sa,getDimensions:am,getOffsetParent:Md,getDocumentElement:lr,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:h8(t,Md(n),o),floating:ze(he({},am(n)),{x:0,y:0})}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ll(e).direction==="rtl"},b8=(e,t,n)=>a8(e,t,he({platform:g8},n));Le({});const v8=e=>{if(!dt)return;if(!e)return e;const t=no(e);return t||(Vt(e)?t:e)},y8=({middleware:e,placement:t,strategy:n})=>{const o=A(),r=A(),a=A(),i=A(),l=A({}),s={x:a,y:i,placement:t,strategy:n,middlewareData:l},c=async()=>{if(!dt)return;const d=v8(o),u=no(r);if(!d||!u)return;const p=await b8(d,u,{placement:_(t),strategy:_(n),middleware:_(e)});Object.keys(s).forEach(f=>{s[f].value=p[f]})};return et(()=>{Dn(()=>{c()})}),ze(he({},s),{update:c,referenceRef:o,contentRef:r})},_8=({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(n){const o=_(e);return o?d8({element:o,padding:t}).fn(n):{}}}),w8="2.1.9",lm=Symbol("INSTALLED_KEY"),x8=(e=[])=>({version:w8,install:(n,o)=>{n[lm]||(n[lm]=!0,e.forEach(r=>n.use(r)),o&&_y(o,n,!0))}}),k8=Le({zIndex:{type:Te([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),T8={scroll:({scrollTop:e,fixed:t})=>typeof e=="number"&&typeof t=="boolean",change:e=>typeof e=="boolean"};var _e=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const C8={name:"ElAffix"},S8=ee(ze(he({},C8),{props:k8,emits:T8,setup(e,{expose:t,emit:n}){const o=e,r="ElAffix",a=ke("affix"),i=Kt(),l=Kt(),s=Kt(),{height:c}=a$(),{height:d,width:u,top:p,bottom:f,update:h}=Kh(l),b=Kh(i),m=A(!1),g=A(0),v=A(0),y=C(()=>({height:m.value?`${d.value}px`:"",width:m.value?`${u.value}px`:""})),T=C(()=>{if(!m.value)return{};const $=o.offset?`${o.offset}px`:0;return{height:`${d.value}px`,width:`${u.value}px`,top:o.position==="top"?$:"",bottom:o.position==="bottom"?$:"",transform:v.value?`translateY(${v.value}px)`:"",zIndex:o.zIndex}}),x=()=>{if(!!s.value)if(g.value=s.value instanceof Window?document.documentElement.scrollTop:s.value.scrollTop||0,o.position==="top")if(o.target){const $=b.bottom.value-o.offset-d.value;m.value=o.offset>p.value&&b.bottom.value>0,v.value=$<0?$:0}else m.value=o.offset>p.value;else if(o.target){const $=c.value-b.top.value-o.offset-d.value;m.value=c.value-o.offsetb.top.value,v.value=$<0?-$:0}else m.value=c.value-o.offset{n("scroll",{scrollTop:g.value,fixed:m.value})};return ge(m,$=>n("change",$)),et(()=>{var $;o.target?(i.value=($=document.querySelector(o.target))!=null?$:void 0,i.value||Wt(r,`Target is not existed: ${o.target}`)):i.value=document.documentElement,s.value=rp(l.value,!0),h()}),Ht(s,"scroll",k),Dn(x),t({update:x}),($,z)=>(w(),I("div",{ref_key:"root",ref:l,class:S(_(a).b()),style:Oe(_(y))},[R("div",{class:S({[_(a).m("fixed")]:m.value}),style:Oe(_(T))},[ue($.$slots,"default")],6)],6))}}));var $8=_e(S8,[["__file","/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);const A8=rt($8),E8=Le({size:{type:Te([Number,String])},color:{type:String}}),z8={name:"ElIcon",inheritAttrs:!1},I8=ee(ze(he({},z8),{props:E8,setup(e){const t=e,n=ke("icon"),o=C(()=>!t.size&&!t.color?{}:{fontSize:Cn(t.size)?void 0:io(t.size),"--color":t.color});return(r,a)=>(w(),I("i",St({class:_(n).b(),style:_(o)},r.$attrs),[ue(r.$slots,"default")],16))}}));var N8=_e(I8,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const qe=rt(N8),M8=["light","dark"],R8=Le({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:Id(Fo),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:M8,default:"light"}}),P8={close:e=>e instanceof MouseEvent},O8={name:"ElAlert"},F8=ee(ze(he({},O8),{props:R8,emits:P8,setup(e,{emit:t}){const n=e,{Close:o}=ac,r=nl(),a=ke("alert"),i=A(!0),l=C(()=>Fo[n.type]||Fo.info),s=C(()=>n.description||{[a.is("big")]:r.default}),c=C(()=>n.description||{[a.is("bold")]:r.default}),d=u=>{i.value=!1,t("close",u)};return(u,p)=>(w(),Q(qt,{name:_(a).b("fade")},{default:K(()=>[Ue(R("div",{class:S([_(a).b(),_(a).m(u.type),_(a).is("center",u.center),_(a).is(u.effect)]),role:"alert"},[u.showIcon&&_(l)?(w(),Q(_(qe),{key:0,class:S([_(a).e("icon"),_(s)])},{default:K(()=>[(w(),Q(pt(_(l))))]),_:1},8,["class"])):G("v-if",!0),R("div",{class:S(_(a).e("content"))},[u.title||u.$slots.title?(w(),I("span",{key:0,class:S([_(a).e("title"),_(c)])},[ue(u.$slots,"title",{},()=>[ct(ve(u.title),1)])],2)):G("v-if",!0),u.$slots.default||u.description?(w(),I("p",{key:1,class:S(_(a).e("description"))},[ue(u.$slots,"default",{},()=>[ct(ve(u.description),1)])],2)):G("v-if",!0),u.closable?(w(),I(Fe,{key:2},[u.closeText?(w(),I("div",{key:0,class:S([_(a).e("close-btn"),_(a).is("customed")]),onClick:d},ve(u.closeText),3)):(w(),Q(_(qe),{key:1,class:S(_(a).e("close-btn")),onClick:d},{default:K(()=>[U(_(o))]),_:1},8,["class"]))],2112)):G("v-if",!0)],2)],2),[[ft,i.value]])]),_:3},8,["name"]))}}));var D8=_e(F8,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const L8=rt(D8);let Xn;const V8=` height:0 !important; visibility:hidden !important; overflow:hidden !important; @@ -7989,7 +6965,7 @@ Please report this to https://github.com/markedjs/marked.`,t.silent)return"

An z-index:-1000 !important; top:0 !important; right:0 !important; -`,U8=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Y8(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),r=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:U8.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:o,borderSize:r,boxSizing:n}}function cm(e,t=1,n){var o;Xn||(Xn=document.createElement("textarea"),document.body.appendChild(Xn));const{paddingSize:r,borderSize:a,boxSizing:i,contextStyle:l}=Y8(e);Xn.setAttribute("style",`${l};${W8}`),Xn.value=e.value||e.placeholder||"";let s=Xn.scrollHeight;const c={};i==="border-box"?s=s+a:i==="content-box"&&(s=s-r),Xn.value="";const d=Xn.scrollHeight-r;if(mt(t)){let u=d*t;i==="border-box"&&(u=u+r+a),s=Math.max(u,s),c.minHeight=`${u}px`}if(mt(n)){let u=d*n;i==="border-box"&&(u=u+r+a),s=Math.min(u,s)}return c.height=`${s}px`,(o=Xn.parentNode)==null||o.removeChild(Xn),Xn=void 0,c}const G8=Le({size:dc,disabled:Boolean,modelValue:{type:Te([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Te([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},placeholder:{type:String},form:{type:String,default:""},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:an,default:""},prefixIcon:{type:an,default:""},label:{type:String},tabindex:{type:[Number,String]},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Te([Object,Array,String]),default:()=>Ft({})}}),X8={[tt]:e=>Qe(e),input:e=>Qe(e),change:e=>Qe(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Z8=["type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder"],J8=["tabindex","disabled","readonly","autocomplete","aria-label","placeholder"],Q8={name:"ElInput",inheritAttrs:!1},eI=ee(ze(he({},Q8),{props:G8,emits:X8,setup(e,{expose:t,emit:n}){const o=e,r={suffix:"append",prefix:"prepend"},a=nt(),i=Rb(),l=nl(),s=dp(),{form:c,formItem:d}=Ka(),u=Ut(),p=Zr(),f=ke("input"),h=ke("textarea"),b=Kt(),m=Kt(),g=A(!1),v=A(!1),y=A(!1),T=A(!1),x=Kt(o.inputStyle),k=C(()=>b.value||m.value),$=C(()=>{var B;return(B=c==null?void 0:c.statusIcon)!=null?B:!1}),z=C(()=>(d==null?void 0:d.validateState)||""),P=C(()=>Qv[z.value]),O=C(()=>T.value?fz:zE),D=C(()=>[i.style,o.inputStyle]),L=C(()=>[o.inputStyle,x.value,{resize:o.resize}]),F=C(()=>op(o.modelValue)?"":String(o.modelValue)),V=C(()=>o.clearable&&!p.value&&!o.readonly&&!!F.value&&(g.value||v.value)),q=C(()=>o.showPassword&&!p.value&&!o.readonly&&(!!F.value||g.value)),R=C(()=>o.showWordLimit&&!!s.value.maxlength&&(o.type==="text"||o.type==="textarea")&&!p.value&&!o.readonly&&!o.showPassword),E=C(()=>Array.from(F.value).length),N=C(()=>!!R.value&&E.value>Number(s.value.maxlength)),W=C(()=>!!l.suffix||!!o.suffixIcon||V.value||o.showPassword||R.value||!!z.value&&$.value),Y=()=>{const{type:B,autosize:me}=o;if(!(!dt||B!=="textarea"))if(me){const Be=ut(me)?me.minRows:void 0,Ze=ut(me)?me.maxRows:void 0;x.value=he({},cm(m.value,Be,Ze))}else x.value={minHeight:cm(m.value).minHeight}},J=()=>{const B=k.value;!B||B.value===F.value||(B.value=F.value)},Z=B=>{const{el:me}=a.vnode;if(!me)return;const Ze=Array.from(me.querySelectorAll(`.${f.e(B)}`)).find(re=>re.parentNode===me);if(!Ze)return;const Ve=r[B];l[Ve]?Ze.style.transform=`translateX(${B==="suffix"?"-":""}${me.querySelector(`.${f.be("group",Ve)}`).offsetWidth}px)`:Ze.removeAttribute("style")},se=()=>{Z("prefix"),Z("suffix")},Se=async B=>{const{value:me}=B.target;y.value||me!==F.value&&(n(tt,me),n("input",me),await je(),J())},oe=B=>{n("change",B.target.value)},H=B=>{n("compositionstart",B),y.value=!0},ne=B=>{var me;n("compositionupdate",B);const Be=(me=B.target)==null?void 0:me.value,Ze=Be[Be.length-1]||"";y.value=!lc(Ze)},ie=B=>{n("compositionend",B),y.value&&(y.value=!1,Se(B))},be=()=>{T.value=!T.value,$e()},$e=async()=>{var B;await je(),(B=k.value)==null||B.focus()},Ne=()=>{var B;return(B=k.value)==null?void 0:B.blur()},Me=B=>{g.value=!0,n("focus",B)},j=B=>{var me;g.value=!1,n("blur",B),o.validateEvent&&((me=d==null?void 0:d.validate)==null||me.call(d,"blur").catch(Be=>void 0))},X=B=>{v.value=!1,n("mouseleave",B)},de=B=>{v.value=!0,n("mouseenter",B)},xe=B=>{n("keydown",B)},we=()=>{var B;(B=k.value)==null||B.select()},Ae=()=>{n(tt,""),n("change",""),n("clear"),n("input","")};ge(()=>o.modelValue,()=>{var B;je(()=>Y()),o.validateEvent&&((B=d==null?void 0:d.validate)==null||B.call(d,"change").catch(me=>void 0))}),ge(F,()=>J()),ge(()=>o.type,async()=>{await je(),J(),Y(),se()});const ce=A(),ae=A(),te=A({}),pe=(B,me)=>{if(B.value){const Be=B.value.offsetWidth;return Be>0?Be+16:me}return me},De=()=>{te.value=he({paddingRight:`${pe(ce,0)}px`,paddingLeft:`${pe(ae,11)}px`},o.inputStyle)};return ge(V,()=>{je(()=>{De()})}),et(async()=>{De(),J(),se(),await je(),Y()}),Un(async()=>{await je(),se()}),t({input:b,textarea:m,ref:k,textareaStyle:L,autosize:Yt(o,"autosize"),focus:$e,blur:Ne,select:we,clear:Ae,resizeTextarea:Y}),(B,me)=>Ue((w(),I("div",{class:S([B.type==="textarea"?_(h).b():_(f).b(),_(f).m(_(u)),_(f).is("disabled",_(p)),_(f).is("exceed",_(N)),{[_(f).b("group")]:B.$slots.prepend||B.$slots.append,[_(f).bm("group","append")]:B.$slots.append,[_(f).bm("group","prepend")]:B.$slots.prepend,[_(f).m("prefix")]:B.$slots.prefix||B.prefixIcon,[_(f).m("suffix")]:B.$slots.suffix||B.suffixIcon||B.clearable||B.showPassword,[_(f).m("suffix--password-clear")]:_(V)&&_(q)},B.$attrs.class]),style:Oe(_(D)),onMouseenter:de,onMouseleave:X},[G(" input "),B.type!=="textarea"?(w(),I(Fe,{key:0},[G(" prepend slot "),B.$slots.prepend?(w(),I("div",{key:0,class:S(_(f).be("group","prepend"))},[ue(B.$slots,"prepend")],2)):G("v-if",!0),M("input",St({ref_key:"input",ref:b,class:_(f).e("inner")},_(s),{type:B.showPassword?T.value?"text":"password":B.type,disabled:_(p),readonly:B.readonly,autocomplete:B.autocomplete,tabindex:B.tabindex,"aria-label":B.label,placeholder:B.placeholder,style:te.value,onCompositionstart:H,onCompositionupdate:ne,onCompositionend:ie,onInput:Se,onFocus:Me,onBlur:j,onChange:oe,onKeydown:xe}),null,16,Z8),G(" prefix slot "),B.$slots.prefix||B.prefixIcon?(w(),I("span",{key:1,class:S(_(f).e("prefix"))},[M("span",{ref_key:"innerPrefixRef",ref:ae,class:S(_(f).e("prefix-inner"))},[ue(B.$slots,"prefix"),B.prefixIcon?(w(),Q(_(qe),{key:0,class:S(_(f).e("icon"))},{default:K(()=>[(w(),Q(pt(B.prefixIcon)))]),_:1},8,["class"])):G("v-if",!0)],2)],2)):G("v-if",!0),G(" suffix slot "),_(W)?(w(),I("span",{key:2,class:S(_(f).e("suffix"))},[M("span",{ref_key:"innerSuffixRef",ref:ce,class:S(_(f).e("suffix-inner"))},[!_(V)||!_(q)||!_(R)?(w(),I(Fe,{key:0},[ue(B.$slots,"suffix"),B.suffixIcon?(w(),Q(_(qe),{key:0,class:S(_(f).e("icon"))},{default:K(()=>[(w(),Q(pt(B.suffixIcon)))]),_:1},8,["class"])):G("v-if",!0)],64)):G("v-if",!0),_(V)?(w(),Q(_(qe),{key:1,class:S([_(f).e("icon"),_(f).e("clear")]),onMousedown:me[0]||(me[0]=He(()=>{},["prevent"])),onClick:Ae},{default:K(()=>[U(_(Oo))]),_:1},8,["class"])):G("v-if",!0),_(q)?(w(),Q(_(qe),{key:2,class:S([_(f).e("icon"),_(f).e("clear")]),onClick:be},{default:K(()=>[(w(),Q(pt(_(O))))]),_:1},8,["class"])):G("v-if",!0),_(R)?(w(),I("span",{key:3,class:S(_(f).e("count"))},[M("span",{class:S(_(f).e("count-inner"))},ve(_(E))+" / "+ve(_(s).maxlength),3)],2)):G("v-if",!0)],2),_(z)&&_(P)&&_($)?(w(),Q(_(qe),{key:0,class:S([_(f).e("icon"),_(f).e("validateIcon"),_(f).is("loading",_(z)==="validating")])},{default:K(()=>[(w(),Q(pt(_(P))))]),_:1},8,["class"])):G("v-if",!0)],2)):G("v-if",!0),G(" append slot "),B.$slots.append?(w(),I("div",{key:3,class:S(_(f).be("group","append"))},[ue(B.$slots,"append")],2)):G("v-if",!0)],64)):(w(),I(Fe,{key:1},[G(" textarea "),M("textarea",St({ref_key:"textarea",ref:m,class:_(h).e("inner")},_(s),{tabindex:B.tabindex,disabled:_(p),readonly:B.readonly,autocomplete:B.autocomplete,style:_(L),"aria-label":B.label,placeholder:B.placeholder,onCompositionstart:H,onCompositionupdate:ne,onCompositionend:ie,onInput:Se,onFocus:Me,onBlur:j,onChange:oe,onKeydown:xe}),null,16,J8),_(R)?(w(),I("span",{key:0,class:S(_(f).e("count"))},ve(_(E))+" / "+ve(_(s).maxlength),3)):G("v-if",!0)],64))],38)),[[ft,B.type!=="hidden"]])}}));var tI=_e(eI,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Gn=rt(tI),Oy={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},nI=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),oI=Le({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),dm="Thumb",rI=ee({name:dm,props:oI,setup(e){const t=Ie(my),n=ke("scrollbar");t||Wt(dm,"can not inject scrollbar context");const o=A(),r=A(),a=A({}),i=A(!1);let l=!1,s=!1,c=dt?document.onselectstart:null;const d=C(()=>Oy[e.vertical?"vertical":"horizontal"]),u=C(()=>nI({size:e.size,move:e.move,bar:d.value})),p=C(()=>o.value[d.value.offset]**2/t.wrapElement[d.value.scrollSize]/e.ratio/r.value[d.value.offset]),f=x=>{var k;if(x.stopPropagation(),x.ctrlKey||[1,2].includes(x.button))return;(k=window.getSelection())==null||k.removeAllRanges(),b(x);const $=x.currentTarget;!$||(a.value[d.value.axis]=$[d.value.offset]-(x[d.value.client]-$.getBoundingClientRect()[d.value.direction]))},h=x=>{if(!r.value||!o.value||!t.wrapElement)return;const k=Math.abs(x.target.getBoundingClientRect()[d.value.direction]-x[d.value.client]),$=r.value[d.value.offset]/2,z=(k-$)*100*p.value/o.value[d.value.offset];t.wrapElement[d.value.scroll]=z*t.wrapElement[d.value.scrollSize]/100},b=x=>{x.stopImmediatePropagation(),l=!0,document.addEventListener("mousemove",m),document.addEventListener("mouseup",g),c=document.onselectstart,document.onselectstart=()=>!1},m=x=>{if(!o.value||!r.value||l===!1)return;const k=a.value[d.value.axis];if(!k)return;const $=(o.value.getBoundingClientRect()[d.value.direction]-x[d.value.client])*-1,z=r.value[d.value.offset]-k,P=($-z)*100*p.value/o.value[d.value.offset];t.wrapElement[d.value.scroll]=P*t.wrapElement[d.value.scrollSize]/100},g=()=>{l=!1,a.value[d.value.axis]=0,document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",g),T(),s&&(i.value=!1)},v=()=>{s=!1,i.value=!!e.size},y=()=>{s=!0,i.value=l};$t(()=>{T(),document.removeEventListener("mouseup",g)});const T=()=>{document.onselectstart!==c&&(document.onselectstart=c)};return Ht(Yt(t,"scrollbarElement"),"mousemove",v),Ht(Yt(t,"scrollbarElement"),"mouseleave",y),{ns:n,instance:o,thumb:r,bar:d,thumbStyle:u,visible:i,clickTrackHandler:h,clickThumbHandler:f}}});function aI(e,t,n,o,r,a){return w(),Q(qt,{name:e.ns.b("fade")},{default:K(()=>[Ue(M("div",{ref:"instance",class:S([e.ns.e("bar"),e.ns.is(e.bar.key)]),onMousedown:t[1]||(t[1]=(...i)=>e.clickTrackHandler&&e.clickTrackHandler(...i))},[M("div",{ref:"thumb",class:S(e.ns.e("thumb")),style:Oe(e.thumbStyle),onMousedown:t[0]||(t[0]=(...i)=>e.clickThumbHandler&&e.clickThumbHandler(...i))},null,38)],34),[[ft,e.always||e.visible]])]),_:1},8,["name"])}var iI=_e(rI,[["render",aI],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const lI=Le({always:{type:Boolean,default:!0},width:{type:String,default:""},height:{type:String,default:""},ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),sI=ee({components:{Thumb:iI},props:lI,setup(e){const t=A(0),n=A(0),o=4;return{handleScroll:a=>{if(a){const i=a.offsetHeight-o,l=a.offsetWidth-o;n.value=a.scrollTop*100/i*e.ratioY,t.value=a.scrollLeft*100/l*e.ratioX}},moveX:t,moveY:n}}});function cI(e,t,n,o,r,a){const i=le("thumb");return w(),I(Fe,null,[U(i,{move:e.moveX,ratio:e.ratioX,size:e.width,always:e.always},null,8,["move","ratio","size","always"]),U(i,{move:e.moveY,ratio:e.ratioY,size:e.height,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64)}var dI=_e(sI,[["render",cI],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const uI=Le({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Te([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:{type:Boolean,default:!1},minSize:{type:Number,default:20}}),pI={scroll:({scrollTop:e,scrollLeft:t})=>mt(e)&&mt(t)},fI=ee({name:"ElScrollbar",components:{Bar:dI},props:uI,emits:pI,setup(e,{emit:t}){const n=ke("scrollbar");let o,r;const a=A(),i=A(),l=A(),s=A("0"),c=A("0"),d=A(),u=A(0),p=A(0),f=A(1),h=A(1),b=4,m=C(()=>{const k={};return e.height&&(k.height=io(e.height)),e.maxHeight&&(k.maxHeight=io(e.maxHeight)),[e.wrapStyle,k]}),g=()=>{var k;i.value&&((k=d.value)==null||k.handleScroll(i.value),t("scroll",{scrollTop:i.value.scrollTop,scrollLeft:i.value.scrollLeft}))};function v(k,$){ut(k)?i.value.scrollTo(k):mt(k)&&mt($)&&i.value.scrollTo(k,$)}const y=k=>{!mt(k)||(i.value.scrollTop=k)},T=k=>{!mt(k)||(i.value.scrollLeft=k)},x=()=>{if(!i.value)return;const k=i.value.offsetHeight-b,$=i.value.offsetWidth-b,z=k**2/i.value.scrollHeight,P=$**2/i.value.scrollWidth,O=Math.max(z,e.minSize),D=Math.max(P,e.minSize);f.value=z/(k-z)/(O/(k-O)),h.value=P/($-P)/(D/($-D)),c.value=O+be.noresize,k=>{k?(o==null||o(),r==null||r()):({stop:o}=Ba(l,x),r=Ht("resize",x))},{immediate:!0}),ge(()=>[e.maxHeight,e.height],()=>{e.native||je(()=>{var k;x(),i.value&&((k=d.value)==null||k.handleScroll(i.value))})}),ot(my,vt({scrollbarElement:a,wrapElement:i})),et(()=>{e.native||je(()=>x())}),Un(()=>x()),{ns:n,scrollbar$:a,wrap$:i,resize$:l,barRef:d,moveX:u,moveY:p,ratioX:h,ratioY:f,sizeWidth:s,sizeHeight:c,style:m,update:x,handleScroll:g,scrollTo:v,setScrollTop:y,setScrollLeft:T}}});function hI(e,t,n,o,r,a){const i=le("bar");return w(),I("div",{ref:"scrollbar$",class:S(e.ns.b())},[M("div",{ref:"wrap$",class:S([e.wrapClass,e.ns.e("wrap"),{[e.ns.em("wrap","hidden-default")]:!e.native}]),style:Oe(e.style),onScroll:t[0]||(t[0]=(...l)=>e.handleScroll&&e.handleScroll(...l))},[(w(),Q(pt(e.tag),{ref:"resize$",class:S([e.ns.e("view"),e.viewClass]),style:Oe(e.viewStyle)},{default:K(()=>[ue(e.$slots,"default")]),_:3},8,["class","style"]))],38),e.native?G("v-if",!0):(w(),Q(i,{key:0,ref:"barRef",height:e.sizeHeight,width:e.sizeWidth,always:e.always,"ratio-x":e.ratioX,"ratio-y":e.ratioY},null,8,["height","width","always","ratio-x","ratio-y"]))],2)}var mI=_e(fI,[["render",hI],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const qo=rt(mI),gI={name:"ElPopperRoot",inheritAttrs:!1},bI=ee(ze(he({},gI),{setup(e,{expose:t}){const n=A(),o=A(),r=A(),a=A(),i={triggerRef:n,popperInstanceRef:o,contentRef:r,referenceRef:a};return t(i),ot(up,i),(l,s)=>ue(l.$slots,"default")}}));var vI=_e(bI,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const Fy=Le({arrowOffset:{type:Number,default:5}}),yI={name:"ElPopperArrow",inheritAttrs:!1},_I=ee(ze(he({},yI),{props:Fy,setup(e,{expose:t}){const n=e,o=ke("popper"),{arrowOffset:r,arrowRef:a}=Ie(by,void 0);return ge(()=>n.arrowOffset,i=>{r.value=i}),$t(()=>{a.value=void 0}),t({arrowRef:a}),(i,l)=>(w(),I("span",{ref_key:"arrowRef",ref:a,class:S(_(o).e("arrow")),"data-popper-arrow":""},null,2))}}));var wI=_e(_I,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const xI="ElOnlyChild",kI=ee({name:xI,setup(e,{slots:t,attrs:n}){var o;const r=Ie($y),a=s8((o=r==null?void 0:r.setForwardRef)!=null?o:wt);return()=>{var i;const l=(i=t.default)==null?void 0:i.call(t,n);if(!l||l.length>1)return null;const s=Dy(l);return s?Ue(No(s,n),[[a]]):null}}});function Dy(e){if(!e)return null;const t=e;for(const n of t){if(ut(n))switch(n.type){case dn:continue;case tl:return Pc(n);case"svg":return Pc(n);case Fe:return Dy(n.children);default:return n}return Pc(n)}return null}function Pc(e){return U("span",{class:"el-only-child__content"},[e])}const Ly=Le({virtualRef:{type:Te(Object)},virtualTriggering:Boolean,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,onBlur:Function,onContextmenu:Function,id:String,open:Boolean}),TI={name:"ElPopperTrigger",inheritAttrs:!1},CI=ee(ze(he({},TI),{props:Ly,setup(e,{expose:t}){const n=e,{triggerRef:o}=Ie(up,void 0);return l8(o),et(()=>{ge(()=>n.virtualRef,r=>{r&&(o.value=no(r))},{immediate:!0}),ge(()=>o.value,(r,a)=>{Hr(r)&&["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(i=>{var l;const s=n[i];s&&(r.addEventListener(i.slice(2).toLowerCase(),s),(l=a==null?void 0:a.removeEventListener)==null||l.call(a,i.slice(2).toLowerCase(),s))})},{immediate:!0})}),t({triggerRef:o}),(r,a)=>r.virtualTriggering?G("v-if",!0):(w(),Q(_(kI),St({key:0},r.$attrs,{"aria-describedby":r.open?r.id:void 0}),{default:K(()=>[ue(r.$slots,"default")]),_:3},16,["aria-describedby"]))}}));var SI=_e(CI,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]),mn="top",Kn="bottom",Wn="right",gn="left",bp="auto",sl=[mn,Kn,Wn,gn],$a="start",Hi="end",$I="clippingParents",Vy="viewport",ti="popper",AI="reference",um=sl.reduce(function(e,t){return e.concat([t+"-"+$a,t+"-"+Hi])},[]),vp=[].concat(sl,[bp]).reduce(function(e,t){return e.concat([t,t+"-"+$a,t+"-"+Hi])},[]),EI="beforeRead",zI="read",II="afterRead",NI="beforeMain",MI="main",RI="afterMain",PI="beforeWrite",OI="write",FI="afterWrite",DI=[EI,zI,II,NI,MI,RI,PI,OI,FI];function _o(e){return e?(e.nodeName||"").toLowerCase():null}function po(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Aa(e){var t=po(e).Element;return e instanceof t||e instanceof Element}function Ln(e){var t=po(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yp(e){if(typeof ShadowRoot=="undefined")return!1;var t=po(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function LI(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},a=t.elements[n];!Ln(a)||!_o(a)||(Object.assign(a.style,o),Object.keys(r).forEach(function(i){var l=r[i];l===!1?a.removeAttribute(i):a.setAttribute(i,l===!0?"":l)}))})}function VI(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var r=t.elements[o],a=t.attributes[o]||{},i=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),l=i.reduce(function(s,c){return s[c]="",s},{});!Ln(r)||!_o(r)||(Object.assign(r.style,l),Object.keys(a).forEach(function(s){r.removeAttribute(s)}))})}}var BI={name:"applyStyles",enabled:!0,phase:"write",fn:LI,effect:VI,requires:["computeStyles"]};function vo(e){return e.split("-")[0]}var Dr=Math.max,Es=Math.min,Ea=Math.round;function za(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(Ln(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(o=Ea(n.width)/i||1),a>0&&(r=Ea(n.height)/a||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function _p(e){var t=za(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function By(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yp(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Do(e){return po(e).getComputedStyle(e)}function jI(e){return["table","td","th"].indexOf(_o(e))>=0}function mr(e){return((Aa(e)?e.ownerDocument:e.document)||window.document).documentElement}function fc(e){return _o(e)==="html"?e:e.assignedSlot||e.parentNode||(yp(e)?e.host:null)||mr(e)}function pm(e){return!Ln(e)||Do(e).position==="fixed"?null:e.offsetParent}function HI(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Ln(e)){var o=Do(e);if(o.position==="fixed")return null}var r=fc(e);for(yp(r)&&(r=r.host);Ln(r)&&["html","body"].indexOf(_o(r))<0;){var a=Do(r);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return r;r=r.parentNode}return null}function cl(e){for(var t=po(e),n=pm(e);n&&jI(n)&&Do(n).position==="static";)n=pm(n);return n&&(_o(n)==="html"||_o(n)==="body"&&Do(n).position==="static")?t:n||HI(e)||t}function wp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function yi(e,t,n){return Dr(e,Es(t,n))}function qI(e,t,n){var o=yi(e,t,n);return o>n?n:o}function jy(){return{top:0,right:0,bottom:0,left:0}}function Hy(e){return Object.assign({},jy(),e)}function qy(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var KI=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Hy(typeof t!="number"?t:qy(t,sl))};function WI(e){var t,n=e.state,o=e.name,r=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=vo(n.placement),s=wp(l),c=[gn,Wn].indexOf(l)>=0,d=c?"height":"width";if(!(!a||!i)){var u=KI(r.padding,n),p=_p(a),f=s==="y"?mn:gn,h=s==="y"?Kn:Wn,b=n.rects.reference[d]+n.rects.reference[s]-i[s]-n.rects.popper[d],m=i[s]-n.rects.reference[s],g=cl(a),v=g?s==="y"?g.clientHeight||0:g.clientWidth||0:0,y=b/2-m/2,T=u[f],x=v-p[d]-u[h],k=v/2-p[d]/2+y,$=yi(T,k,x),z=s;n.modifiersData[o]=(t={},t[z]=$,t.centerOffset=$-k,t)}}function UI(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||!By(t.elements.popper,r)||(t.elements.arrow=r))}var YI={name:"arrow",enabled:!0,phase:"main",fn:WI,effect:UI,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ia(e){return e.split("-")[1]}var GI={top:"auto",right:"auto",bottom:"auto",left:"auto"};function XI(e){var t=e.x,n=e.y,o=window,r=o.devicePixelRatio||1;return{x:Ea(t*r)/r||0,y:Ea(n*r)/r||0}}function fm(e){var t,n=e.popper,o=e.popperRect,r=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,p=i.x,f=p===void 0?0:p,h=i.y,b=h===void 0?0:h,m=typeof d=="function"?d({x:f,y:b}):{x:f,y:b};f=m.x,b=m.y;var g=i.hasOwnProperty("x"),v=i.hasOwnProperty("y"),y=gn,T=mn,x=window;if(c){var k=cl(n),$="clientHeight",z="clientWidth";if(k===po(n)&&(k=mr(n),Do(k).position!=="static"&&l==="absolute"&&($="scrollHeight",z="scrollWidth")),k=k,r===mn||(r===gn||r===Wn)&&a===Hi){T=Kn;var P=u&&k===x&&x.visualViewport?x.visualViewport.height:k[$];b-=P-o.height,b*=s?1:-1}if(r===gn||(r===mn||r===Kn)&&a===Hi){y=Wn;var O=u&&k===x&&x.visualViewport?x.visualViewport.width:k[z];f-=O-o.width,f*=s?1:-1}}var D=Object.assign({position:l},c&&GI),L=d===!0?XI({x:f,y:b}):{x:f,y:b};if(f=L.x,b=L.y,s){var F;return Object.assign({},D,(F={},F[T]=v?"0":"",F[y]=g?"0":"",F.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+b+"px)":"translate3d("+f+"px, "+b+"px, 0)",F))}return Object.assign({},D,(t={},t[T]=v?b+"px":"",t[y]=g?f+"px":"",t.transform="",t))}function ZI(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,a=n.adaptive,i=a===void 0?!0:a,l=n.roundOffsets,s=l===void 0?!0:l,c={placement:vo(t.placement),variation:Ia(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,fm(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,fm(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var JI={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ZI,data:{}},Cl={passive:!0};function QI(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,a=r===void 0?!0:r,i=o.resize,l=i===void 0?!0:i,s=po(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(d){d.addEventListener("scroll",n.update,Cl)}),l&&s.addEventListener("resize",n.update,Cl),function(){a&&c.forEach(function(d){d.removeEventListener("scroll",n.update,Cl)}),l&&s.removeEventListener("resize",n.update,Cl)}}var eN={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:QI,data:{}},tN={left:"right",right:"left",bottom:"top",top:"bottom"};function jl(e){return e.replace(/left|right|bottom|top/g,function(t){return tN[t]})}var nN={start:"end",end:"start"};function hm(e){return e.replace(/start|end/g,function(t){return nN[t]})}function xp(e){var t=po(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function kp(e){return za(mr(e)).left+xp(e).scrollLeft}function oN(e){var t=po(e),n=mr(e),o=t.visualViewport,r=n.clientWidth,a=n.clientHeight,i=0,l=0;return o&&(r=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=o.offsetLeft,l=o.offsetTop)),{width:r,height:a,x:i+kp(e),y:l}}function rN(e){var t,n=mr(e),o=xp(e),r=(t=e.ownerDocument)==null?void 0:t.body,a=Dr(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Dr(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+kp(e),s=-o.scrollTop;return Do(r||n).direction==="rtl"&&(l+=Dr(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}function Tp(e){var t=Do(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function Ky(e){return["html","body","#document"].indexOf(_o(e))>=0?e.ownerDocument.body:Ln(e)&&Tp(e)?e:Ky(fc(e))}function _i(e,t){var n;t===void 0&&(t=[]);var o=Ky(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),a=po(o),i=r?[a].concat(a.visualViewport||[],Tp(o)?o:[]):o,l=t.concat(i);return r?l:l.concat(_i(fc(i)))}function Pd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function aN(e){var t=za(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function mm(e,t){return t===Vy?Pd(oN(e)):Aa(t)?aN(t):Pd(rN(mr(e)))}function iN(e){var t=_i(fc(e)),n=["absolute","fixed"].indexOf(Do(e).position)>=0,o=n&&Ln(e)?cl(e):e;return Aa(o)?t.filter(function(r){return Aa(r)&&By(r,o)&&_o(r)!=="body"}):[]}function lN(e,t,n){var o=t==="clippingParents"?iN(e):[].concat(t),r=[].concat(o,[n]),a=r[0],i=r.reduce(function(l,s){var c=mm(e,s);return l.top=Dr(c.top,l.top),l.right=Es(c.right,l.right),l.bottom=Es(c.bottom,l.bottom),l.left=Dr(c.left,l.left),l},mm(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Wy(e){var t=e.reference,n=e.element,o=e.placement,r=o?vo(o):null,a=o?Ia(o):null,i=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,s;switch(r){case mn:s={x:i,y:t.y-n.height};break;case Kn:s={x:i,y:t.y+t.height};break;case Wn:s={x:t.x+t.width,y:l};break;case gn:s={x:t.x-n.width,y:l};break;default:s={x:t.x,y:t.y}}var c=r?wp(r):null;if(c!=null){var d=c==="y"?"height":"width";switch(a){case $a:s[c]=s[c]-(t[d]/2-n[d]/2);break;case Hi:s[c]=s[c]+(t[d]/2-n[d]/2);break}}return s}function qi(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,a=n.boundary,i=a===void 0?$I:a,l=n.rootBoundary,s=l===void 0?Vy:l,c=n.elementContext,d=c===void 0?ti:c,u=n.altBoundary,p=u===void 0?!1:u,f=n.padding,h=f===void 0?0:f,b=Hy(typeof h!="number"?h:qy(h,sl)),m=d===ti?AI:ti,g=e.rects.popper,v=e.elements[p?m:d],y=lN(Aa(v)?v:v.contextElement||mr(e.elements.popper),i,s),T=za(e.elements.reference),x=Wy({reference:T,element:g,strategy:"absolute",placement:r}),k=Pd(Object.assign({},g,x)),$=d===ti?k:T,z={top:y.top-$.top+b.top,bottom:$.bottom-y.bottom+b.bottom,left:y.left-$.left+b.left,right:$.right-y.right+b.right},P=e.modifiersData.offset;if(d===ti&&P){var O=P[r];Object.keys(z).forEach(function(D){var L=[Wn,Kn].indexOf(D)>=0?1:-1,F=[mn,Kn].indexOf(D)>=0?"y":"x";z[D]+=O[F]*L})}return z}function sN(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=s===void 0?vp:s,d=Ia(o),u=d?l?um:um.filter(function(h){return Ia(h)===d}):sl,p=u.filter(function(h){return c.indexOf(h)>=0});p.length===0&&(p=u);var f=p.reduce(function(h,b){return h[b]=qi(e,{placement:b,boundary:r,rootBoundary:a,padding:i})[vo(b)],h},{});return Object.keys(f).sort(function(h,b){return f[h]-f[b]})}function cN(e){if(vo(e)===bp)return[];var t=jl(e);return[hm(e),t,hm(t)]}function dN(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,a=r===void 0?!0:r,i=n.altAxis,l=i===void 0?!0:i,s=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=f===void 0?!0:f,b=n.allowedAutoPlacements,m=t.options.placement,g=vo(m),v=g===m,y=s||(v||!h?[jl(m)]:cN(m)),T=[m].concat(y).reduce(function(Se,oe){return Se.concat(vo(oe)===bp?sN(t,{placement:oe,boundary:d,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:b}):oe)},[]),x=t.rects.reference,k=t.rects.popper,$=new Map,z=!0,P=T[0],O=0;O=0,q=V?"width":"height",R=qi(t,{placement:D,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),E=V?F?Wn:gn:F?Kn:mn;x[q]>k[q]&&(E=jl(E));var N=jl(E),W=[];if(a&&W.push(R[L]<=0),l&&W.push(R[E]<=0,R[N]<=0),W.every(function(Se){return Se})){P=D,z=!1;break}$.set(D,W)}if(z)for(var Y=h?3:1,J=function(oe){var H=T.find(function(ne){var ie=$.get(ne);if(ie)return ie.slice(0,oe).every(function(be){return be})});if(H)return P=H,"break"},Z=Y;Z>0;Z--){var se=J(Z);if(se==="break")break}t.placement!==P&&(t.modifiersData[o]._skip=!0,t.placement=P,t.reset=!0)}}var uN={name:"flip",enabled:!0,phase:"main",fn:dN,requiresIfExists:["offset"],data:{_skip:!1}};function gm(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function bm(e){return[mn,Wn,Kn,gn].some(function(t){return e[t]>=0})}function pN(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,i=qi(t,{elementContext:"reference"}),l=qi(t,{altBoundary:!0}),s=gm(i,o),c=gm(l,r,a),d=bm(s),u=bm(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}var fN={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pN};function hN(e,t,n){var o=vo(e),r=[gn,mn].indexOf(o)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*r,[gn,Wn].indexOf(o)>=0?{x:l,y:i}:{x:i,y:l}}function mN(e){var t=e.state,n=e.options,o=e.name,r=n.offset,a=r===void 0?[0,0]:r,i=vp.reduce(function(d,u){return d[u]=hN(u,t.rects,a),d},{}),l=i[t.placement],s=l.x,c=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=i}var gN={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mN};function bN(e){var t=e.state,n=e.name;t.modifiersData[n]=Wy({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var vN={name:"popperOffsets",enabled:!0,phase:"read",fn:bN,data:{}};function yN(e){return e==="x"?"y":"x"}function _N(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,a=r===void 0?!0:r,i=n.altAxis,l=i===void 0?!1:i,s=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,p=n.tether,f=p===void 0?!0:p,h=n.tetherOffset,b=h===void 0?0:h,m=qi(t,{boundary:s,rootBoundary:c,padding:u,altBoundary:d}),g=vo(t.placement),v=Ia(t.placement),y=!v,T=wp(g),x=yN(T),k=t.modifiersData.popperOffsets,$=t.rects.reference,z=t.rects.popper,P=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,O=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(!!k){if(a){var F,V=T==="y"?mn:gn,q=T==="y"?Kn:Wn,R=T==="y"?"height":"width",E=k[T],N=E+m[V],W=E-m[q],Y=f?-z[R]/2:0,J=v===$a?$[R]:z[R],Z=v===$a?-z[R]:-$[R],se=t.elements.arrow,Se=f&&se?_p(se):{width:0,height:0},oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jy(),H=oe[V],ne=oe[q],ie=yi(0,$[R],Se[R]),be=y?$[R]/2-Y-ie-H-O.mainAxis:J-ie-H-O.mainAxis,$e=y?-$[R]/2+Y+ie+ne+O.mainAxis:Z+ie+ne+O.mainAxis,Ne=t.elements.arrow&&cl(t.elements.arrow),Me=Ne?T==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,j=(F=D==null?void 0:D[T])!=null?F:0,X=E+be-j-Me,de=E+$e-j,xe=yi(f?Es(N,X):N,E,f?Dr(W,de):W);k[T]=xe,L[T]=xe-E}if(l){var we,Ae=T==="x"?mn:gn,ce=T==="x"?Kn:Wn,ae=k[x],te=x==="y"?"height":"width",pe=ae+m[Ae],De=ae-m[ce],B=[mn,gn].indexOf(g)!==-1,me=(we=D==null?void 0:D[x])!=null?we:0,Be=B?pe:ae-$[te]-z[te]-me+O.altAxis,Ze=B?ae+$[te]+z[te]-me-O.altAxis:De,Ve=f&&B?qI(Be,ae,Ze):yi(f?Be:pe,ae,f?Ze:De);k[x]=Ve,L[x]=Ve-ae}t.modifiersData[o]=L}}var wN={name:"preventOverflow",enabled:!0,phase:"main",fn:_N,requiresIfExists:["offset"]};function xN(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function kN(e){return e===po(e)||!Ln(e)?xp(e):xN(e)}function TN(e){var t=e.getBoundingClientRect(),n=Ea(t.width)/e.offsetWidth||1,o=Ea(t.height)/e.offsetHeight||1;return n!==1||o!==1}function CN(e,t,n){n===void 0&&(n=!1);var o=Ln(t),r=Ln(t)&&TN(t),a=mr(t),i=za(e,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&((_o(t)!=="body"||Tp(a))&&(l=kN(t)),Ln(t)?(s=za(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=kp(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function SN(e){var t=new Map,n=new Set,o=[];e.forEach(function(a){t.set(a.name,a)});function r(a){n.add(a.name);var i=[].concat(a.requires||[],a.requiresIfExists||[]);i.forEach(function(l){if(!n.has(l)){var s=t.get(l);s&&r(s)}}),o.push(a)}return e.forEach(function(a){n.has(a.name)||r(a)}),o}function $N(e){var t=SN(e);return DI.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function AN(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function EN(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var vm={placement:"bottom",modifiers:[],strategy:"absolute"};function ym(){for(var e=arguments.length,t=new Array(e),n=0;n[]},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:vp,default:"bottom"},popperOptions:{type:Te(Object),default:()=>({})},strategy:{type:String,values:NN,default:"absolute"}}),Yy=Le(ze(he({},MN),{style:{type:Te([String,Array,Object])},className:{type:Te([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,popperClass:{type:Te([String,Array,Object])},popperStyle:{type:Te([String,Array,Object])},referenceEl:{type:Te(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},zIndex:Number})),_m=(e,t)=>{const{placement:n,strategy:o,popperOptions:r}=e,a=ze(he({placement:n,strategy:o},r),{modifiers:PN(e)});return ON(a,t),FN(a,r==null?void 0:r.modifiers),a},RN=e=>{if(!!dt)return no(e)};function PN(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,t!=null?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:o!=null?o:[]}},{name:"computeStyles",options:{gpuAcceleration:n,adaptive:n}}]}function ON(e,{arrowEl:t,arrowOffset:n}){e.modifiers.push({name:"arrow",options:{element:t,padding:n!=null?n:5}})}function FN(e,t){t&&(e.modifiers=[...e.modifiers,...t!=null?t:[]])}const DN={name:"ElPopperContent"},LN=ee(ze(he({},DN),{props:Yy,emits:["mouseenter","mouseleave"],setup(e,{expose:t}){const n=e,{popperInstanceRef:o,contentRef:r,triggerRef:a}=Ie(up,void 0),{nextZIndex:i}=jo(),l=ke("popper"),s=A(),c=A(),d=A();ot(by,{arrowRef:c,arrowOffset:d});const u=A(n.zIndex||i()),p=C(()=>RN(n.referenceEl)||_(a)),f=C(()=>[{zIndex:_(u)},n.popperStyle]),h=C(()=>[l.b(),l.is("pure",n.pure),l.is(n.effect),n.popperClass]),b=({referenceEl:v,popperContentEl:y,arrowEl:T})=>{const x=_m(n,{arrowEl:T,arrowOffset:_(d)});return Uy(v,y,x)},m=()=>{var v;(v=_(o))==null||v.update(),u.value=n.zIndex||u.value||i()},g=()=>{var v,y;const T={name:"eventListeners",enabled:n.visible};(y=(v=_(o))==null?void 0:v.setOptions)==null||y.call(v,x=>ze(he({},x),{modifiers:[...x.modifiers||[],T]})),m()};return et(()=>{let v;ge(p,y=>{var T;v==null||v();const x=_(o);if((T=x==null?void 0:x.destroy)==null||T.call(x),y){const k=_(s);r.value=k,o.value=b({referenceEl:y,popperContentEl:k,arrowEl:_(c)}),v=ge(()=>y.getBoundingClientRect(),()=>m(),{immediate:!0})}else o.value=void 0},{immediate:!0}),ge(()=>n.visible,g,{immediate:!0}),ge(()=>_m(n,{arrowEl:_(c),arrowOffset:_(d)}),y=>{var T;return(T=o.value)==null?void 0:T.setOptions(y)})}),t({popperContentRef:s,popperInstanceRef:o,updatePopper:m,contentStyle:f}),(v,y)=>(w(),I("div",{ref_key:"popperContentRef",ref:s,style:Oe(_(f)),class:S(_(h)),role:"tooltip",onMouseenter:y[0]||(y[0]=T=>v.$emit("mouseenter",T)),onMouseleave:y[1]||(y[1]=T=>v.$emit("mouseleave",T))},[ue(v.$slots,"default")],38))}}));var VN=_e(LN,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const BN={LIGHT:"light",DARK:"dark"};Le({autoClose:{type:Number,default:0},cutoff:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}});function Wa(e,t){const n=nt(),o=C(()=>on(n.props[t])?n.props[t]:n.props.teleported);return il({scope:e,from:t,replacement:"teleported",version:"2.1.0",ref:"https://element-plus.org/en-US/component/tooltip.html#attributes"},C(()=>on(n.props[t]))),{compatTeleported:o}}const Gy=rt(vI),jN=ee({name:"ElVisuallyHidden",props:{style:{type:[String,Object,Array]}},setup(e){return{computedStyle:C(()=>[e.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}])}}});function HN(e,t,n,o,r,a){return w(),I("span",St(e.$attrs,{style:e.computedStyle}),[ue(e.$slots,"default")],16)}var Xy=_e(jN,[["render",HN],["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const tn=Le(ze(he(he({},a8),Yy),{appendTo:{type:Te([String,Object]),default:Sy},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Te(Boolean),default:null},transition:{type:String,default:"el-fade-in-linear"},teleported:{type:Boolean,default:!0},disabled:{type:Boolean}})),Ki=Le(ze(he({},Ly),{disabled:Boolean,trigger:{type:Te([String,Array]),default:"hover"}})),qN=Le({openDelay:{type:Number},visibleArrow:{type:Boolean,default:void 0},hideAfter:{type:Number,default:200},showArrow:{type:Boolean,default:!0}}),hc=Symbol("elTooltip"),KN=ee({name:"ElTooltipContent",components:{ElPopperContent:VN,ElVisuallyHidden:Xy},inheritAttrs:!1,props:tn,setup(e){const t=A(null),n=A(!1),o=A(!1),r=A(!1),a=A(!1),{controlled:i,id:l,open:s,trigger:c,onClose:d,onOpen:u,onShow:p,onHide:f,onBeforeShow:h,onBeforeHide:b}=Ie(hc,void 0),m=C(()=>e.persistent);$t(()=>{a.value=!0});const g=C(()=>_(m)?!0:_(s)),v=C(()=>e.disabled?!1:_(s)),y=C(()=>{var F;return(F=e.style)!=null?F:{}}),T=C(()=>!_(s));n8(d);const x=()=>{f()},k=()=>{if(_(i))return!0},$=Ot(k,()=>{e.enterable&&_(c)==="hover"&&u()}),z=Ot(k,()=>{_(c)==="hover"&&d()}),P=()=>{var F,V;(V=(F=t.value)==null?void 0:F.updatePopper)==null||V.call(F),h==null||h()},O=()=>{b==null||b()},D=()=>{p()};let L;return ge(()=>_(s),F=>{F?L=Cs(C(()=>{var V;return(V=t.value)==null?void 0:V.popperContentRef}),()=>{if(_(i))return;_(c)!=="hover"&&d()}):L==null||L()},{flush:"post"}),{ariaHidden:T,entering:o,leaving:r,id:l,intermediateOpen:n,contentStyle:y,contentRef:t,destroyed:a,shouldRender:g,shouldShow:v,open:s,onAfterShow:D,onBeforeEnter:P,onBeforeLeave:O,onContentEnter:$,onContentLeave:z,onTransitionLeave:x}}});function WN(e,t,n,o,r,a){const i=le("el-visually-hidden"),l=le("el-popper-content");return w(),Q(el,{disabled:!e.teleported,to:e.appendTo},[U(qt,{name:e.transition,onAfterLeave:e.onTransitionLeave,onBeforeEnter:e.onBeforeEnter,onAfterEnter:e.onAfterShow,onBeforeLeave:e.onBeforeLeave},{default:K(()=>[e.shouldRender?Ue((w(),Q(l,St({key:0,ref:"contentRef"},e.$attrs,{"aria-hidden":e.ariaHidden,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,e.contentStyle],"reference-el":e.referenceEl,visible:e.shouldShow,"z-index":e.zIndex,onMouseenter:e.onContentEnter,onMouseleave:e.onContentLeave}),{default:K(()=>[G(" Workaround bug #6378 "),e.destroyed?G("v-if",!0):(w(),I(Fe,{key:0},[ue(e.$slots,"default"),U(i,{id:e.id,role:"tooltip"},{default:K(()=>[it(ve(e.ariaLabel),1)]),_:1},8,["id"])],64))]),_:3},16,["aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","visible","z-index","onMouseenter","onMouseleave"])),[[ft,e.shouldShow]]):G("v-if",!0)]),_:3},8,["name","onAfterLeave","onBeforeEnter","onAfterEnter","onBeforeLeave"])],8,["disabled","to"])}var UN=_e(KN,[["render",WN],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const YN=(e,t)=>Ye(e)?e.includes(t):e===t,ea=(e,t,n)=>o=>{YN(_(e),t)&&n(o)},GN=ee({name:"ElTooltipTrigger",components:{ElPopperTrigger:SI},props:Ki,setup(e){const t=ke("tooltip"),{controlled:n,id:o,open:r,onOpen:a,onClose:i,onToggle:l}=Ie(hc,void 0),s=A(null),c=()=>{if(_(n)||e.disabled)return!0},d=Yt(e,"trigger"),u=Ot(c,ea(d,"hover",a)),p=Ot(c,ea(d,"hover",i)),f=Ot(c,ea(d,"click",v=>{v.button===0&&l(v)})),h=Ot(c,ea(d,"focus",a)),b=Ot(c,ea(d,"focus",i)),m=Ot(c,ea(d,"contextmenu",v=>{v.preventDefault(),l(v)})),g=Ot(c,v=>{const{code:y}=v;(y===Pe.enter||y===Pe.space)&&l(v)});return{onBlur:b,onContextMenu:m,onFocus:h,onMouseenter:u,onMouseleave:p,onClick:f,onKeydown:g,open:r,id:o,triggerRef:s,ns:t}}});function XN(e,t,n,o,r,a){const i=le("el-popper-trigger");return w(),Q(i,{id:e.id,"virtual-ref":e.virtualRef,open:e.open,"virtual-triggering":e.virtualTriggering,class:S(e.ns.e("trigger")),onBlur:e.onBlur,onClick:e.onClick,onContextmenu:e.onContextMenu,onFocus:e.onFocus,onMouseenter:e.onMouseenter,onMouseleave:e.onMouseleave,onKeydown:e.onKeydown},{default:K(()=>[ue(e.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"])}var ZN=_e(GN,[["render",XN],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const{useModelToggleProps:JN,useModelToggle:QN,useModelToggleEmits:eM}=Xz("visible"),tM=ee({name:"ElTooltip",components:{ElPopper:Gy,ElPopperArrow:wI,ElTooltipContent:UN,ElTooltipTrigger:ZN},props:he(he(he(he(he({},JN),tn),Ki),Fy),qN),emits:[...eM,"before-show","before-hide","show","hide"],setup(e,{emit:t}){r8();const n=C(()=>(Cn(e.openDelay),e.openDelay||e.showAfter)),o=C(()=>(Cn(e.visibleArrow),on(e.visibleArrow)?e.visibleArrow:e.showArrow)),r=fp(),a=A(null),i=()=>{var f;const h=_(a);h&&((f=h.popperInstanceRef)==null||f.update())},l=A(!1),{show:s,hide:c}=QN({indicator:l}),{onOpen:d,onClose:u}=i8({showAfter:n,hideAfter:Yt(e,"hideAfter"),open:s,close:c}),p=C(()=>on(e.visible));return ot(hc,{controlled:p,id:r,open:Zi(l),trigger:Yt(e,"trigger"),onOpen:d,onClose:u,onToggle:()=>{_(l)?u():d()},onShow:()=>{t("show")},onHide:()=>{t("hide")},onBeforeShow:()=>{t("before-show")},onBeforeHide:()=>{t("before-hide")},updatePopper:i}),ge(()=>e.disabled,f=>{f&&l.value&&(l.value=!1)}),{compatShowAfter:n,compatShowArrow:o,popperRef:a,open:l,hide:c,updatePopper:i,onOpen:d,onClose:u}}}),nM=["innerHTML"],oM={key:1};function rM(e,t,n,o,r,a){const i=le("el-tooltip-trigger"),l=le("el-popper-arrow"),s=le("el-tooltip-content"),c=le("el-popper");return w(),Q(c,{ref:"popperRef"},{default:K(()=>[U(i,{disabled:e.disabled,trigger:e.trigger,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:K(()=>[e.$slots.default?ue(e.$slots,"default",{key:0}):G("v-if",!0)]),_:3},8,["disabled","trigger","virtual-ref","virtual-triggering"]),U(s,{"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"show-after":e.compatShowAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"z-index":e.zIndex,"append-to":e.appendTo},{default:K(()=>[ue(e.$slots,"content",{},()=>[e.rawContent?(w(),I("span",{key:0,innerHTML:e.content},null,8,nM)):(w(),I("span",oM,ve(e.content),1))]),e.compatShowArrow?(w(),Q(l,{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):G("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","show-after","strategy","teleported","transition","z-index","append-to"])]),_:3},512)}var aM=_e(tM,[["render",rM],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const vn=rt(aM),iM=Le({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:Te(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:Te([Function,Array]),default:wt},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},popperAppendToBody:{type:Boolean,default:void 0},teleported:tn.teleported,highlightFirstItem:{type:Boolean,default:!1}}),lM={[tt]:e=>Qe(e),input:e=>Qe(e),change:e=>Qe(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>ut(e)},sM=["aria-expanded","aria-owns"],cM={key:0},dM=["id","aria-selected","onClick"],uM={name:"ElAutocomplete",inheritAttrs:!1},pM=ee(ze(he({},uM),{props:iM,emits:lM,setup(e,{expose:t,emit:n}){const o=e,r="ElAutocomplete",a=ke("autocomplete"),{compatTeleported:i}=Wa(r,"popperAppendToBody");let l=!1;const s=dp(),c=Rb(),d=A([]),u=A(-1),p=A(""),f=A(!1),h=A(!1),b=A(!1),m=A(),g=A(),v=A(),y=A(),T=C(()=>a.b(String(al()))),x=C(()=>c.style),k=C(()=>(Ye(d.value)&&d.value.length>0||b.value)&&f.value),$=C(()=>!o.hideLoading&&b.value),z=()=>{je(()=>{k.value&&(p.value=`${m.value.$el.offsetWidth}px`)})},O=bn(J=>{if(h.value)return;b.value=!0;const Z=se=>{b.value=!1,!h.value&&(Ye(se)?(d.value=se,u.value=o.highlightFirstItem?0:-1):Wt(r,"autocomplete suggestions must be an array"))};if(Ye(o.fetchSuggestions))Z(o.fetchSuggestions);else{const se=o.fetchSuggestions(J,Z);Ye(se)?Z(se):Vr(se)&&se.then(Z)}},o.debounce),D=J=>{const Z=Boolean(J);if(n("input",J),n(tt,J),h.value=!1,f.value||(f.value=l&&Z),!o.triggerOnFocus&&!J){h.value=!0,d.value=[];return}l&&Z&&(l=!1),O(J)},L=J=>{n("change",J)},F=J=>{f.value=!0,n("focus",J),o.triggerOnFocus&&O(String(o.modelValue))},V=J=>{n("blur",J)},q=()=>{f.value=!1,l=!0,n(tt,""),n("clear")},R=()=>{k.value&&u.value>=0&&u.value{d.value=[],u.value=-1}))},E=()=>{f.value=!1},N=()=>{var J;(J=m.value)==null||J.focus()},W=J=>{n("input",J[o.valueKey]),n(tt,J[o.valueKey]),n("select",J),je(()=>{d.value=[],u.value=-1})},Y=J=>{if(!k.value||b.value)return;if(J<0){u.value=-1;return}J>=d.value.length&&(J=d.value.length-1);const Z=g.value.querySelector(`.${a.be("suggestion","wrap")}`),Se=Z.querySelectorAll(`.${a.be("suggestion","list")} li`)[J],oe=Z.scrollTop,{offsetTop:H,scrollHeight:ne}=Se;H+ne>oe+Z.clientHeight&&(Z.scrollTop+=ne),H{m.value.ref.setAttribute("role","textbox"),m.value.ref.setAttribute("aria-autocomplete","list"),m.value.ref.setAttribute("aria-controls","id"),m.value.ref.setAttribute("aria-activedescendant",`${T.value}-item-${u.value}`)}),t({highlightedIndex:u,activated:f,loading:b,inputRef:m,popperRef:v,suggestions:d,handleSelect:W,handleKeyEnter:R,focus:N,close:E,highlight:Y}),(J,Z)=>(w(),Q(_(vn),{ref_key:"popperRef",ref:v,visible:_(k),"onUpdate:visible":Z[2]||(Z[2]=se=>Vt(k)?k.value=se:null),placement:J.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[_(a).e("popper"),J.popperClass],teleported:_(i),"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${_(a).namespace.value}-zoom-in-top`,persistent:"",onBeforeShow:z},{content:K(()=>[M("div",{ref_key:"regionRef",ref:g,class:S([_(a).b("suggestion"),_(a).is("loading",_($))]),style:Oe({minWidth:p.value,outline:"none"}),role:"region"},[U(_(qo),{id:_(T),tag:"ul","wrap-class":_(a).be("suggestion","wrap"),"view-class":_(a).be("suggestion","list"),role:"listbox"},{default:K(()=>[_($)?(w(),I("li",cM,[U(_(qe),{class:S(_(a).is("loading"))},{default:K(()=>[U(_(hr))]),_:1},8,["class"])])):(w(!0),I(Fe,{key:1},ct(d.value,(se,Se)=>(w(),I("li",{id:`${_(T)}-item-${Se}`,key:Se,class:S({highlighted:u.value===Se}),role:"option","aria-selected":u.value===Se,onClick:oe=>W(se)},[ue(J.$slots,"default",{item:se},()=>[it(ve(se[J.valueKey]),1)])],10,dM))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:K(()=>[M("div",{ref_key:"listboxRef",ref:y,class:S([_(a).b(),J.$attrs.class]),style:Oe(_(x)),role:"combobox","aria-haspopup":"listbox","aria-expanded":_(k),"aria-owns":_(T)},[U(_(Gn),St({ref_key:"inputRef",ref:m},_(s),{"model-value":J.modelValue,onInput:D,onChange:L,onFocus:F,onBlur:V,onClear:q,onKeydown:[Z[0]||(Z[0]=st(He(se=>Y(u.value-1),["prevent"]),["up"])),Z[1]||(Z[1]=st(He(se=>Y(u.value+1),["prevent"]),["down"])),st(R,["enter"]),st(E,["tab"])]}),dr({_:2},[J.$slots.prepend?{name:"prepend",fn:K(()=>[ue(J.$slots,"prepend")])}:void 0,J.$slots.append?{name:"append",fn:K(()=>[ue(J.$slots,"append")])}:void 0,J.$slots.prefix?{name:"prefix",fn:K(()=>[ue(J.$slots,"prefix")])}:void 0,J.$slots.suffix?{name:"suffix",fn:K(()=>[ue(J.$slots,"suffix")])}:void 0]),1040,["model-value","onKeydown"])],14,sM)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}}));var fM=_e(pM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const hM=rt(fM),mM=Le({size:{type:[Number,String],values:wo,default:"",validator:e=>typeof e=="number"},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:an},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:Te(String),default:"cover"}}),gM={error:e=>e instanceof Event},bM=["src","alt","srcset"],vM={name:"ElAvatar"},yM=ee(ze(he({},vM),{props:mM,emits:gM,setup(e,{emit:t}){const n=e,o=ke("avatar"),r=A(!1),a=C(()=>{const{size:c,icon:d,shape:u}=n,p=[o.b()];return Qe(c)&&p.push(o.m(c)),d&&p.push(o.m("icon")),u&&p.push(o.m(u)),p}),i=C(()=>{const{size:c}=n;return mt(c)?{"--el-avatar-size":io(c)}:void 0}),l=C(()=>({objectFit:n.fit}));ge(()=>n.src,()=>r.value=!1);function s(c){r.value=!0,t("error",c)}return(c,d)=>(w(),I("span",{class:S(_(a)),style:Oe(_(i))},[(c.src||c.srcSet)&&!r.value?(w(),I("img",{key:0,src:c.src,alt:c.alt,srcset:c.srcSet,style:Oe(_(l)),onError:s},null,44,bM)):c.icon?(w(),Q(_(qe),{key:1},{default:K(()=>[(w(),Q(pt(c.icon)))]),_:1})):ue(c.$slots,"default",{key:2})],6))}}));var _M=_e(yM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const wM=rt(_M),xM={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},kM={click:e=>e instanceof MouseEvent},TM=["onClick"],CM={name:"ElBacktop"},SM=ee(ze(he({},CM),{props:xM,emits:kM,setup(e,{emit:t}){const n=e,o="ElBacktop",r=ke("backtop"),a=Kt(),i=Kt(),l=A(!1),s=C(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`})),c=()=>{if(!a.value)return;const f=Date.now(),h=a.value.scrollTop,b=()=>{if(!a.value)return;const m=(Date.now()-f)/500;m<1?(a.value.scrollTop=h*(1-Dz(m)),requestAnimationFrame(b)):a.value.scrollTop=0};requestAnimationFrame(b)},d=()=>{a.value&&(l.value=a.value.scrollTop>=n.visibilityHeight)},u=f=>{c(),t("click",f)},p=Kv(d,300);return et(()=>{var f;i.value=document,a.value=document.documentElement,n.target&&(a.value=(f=document.querySelector(n.target))!=null?f:void 0,a.value||Wt(o,`target is not existed: ${n.target}`),i.value=a.value),Ht(i,"scroll",p)}),(f,h)=>(w(),Q(qt,{name:`${_(r).namespace.value}-fade-in`},{default:K(()=>[l.value?(w(),I("div",{key:0,style:Oe(_(s)),class:S(_(r).b()),onClick:He(u,["stop"])},[ue(f.$slots,"default",{},()=>[U(_(qe),{class:S(_(r).e("icon"))},{default:K(()=>[U(_(cA))]),_:1},8,["class"])])],14,TM)):G("v-if",!0)]),_:3},8,["name"]))}}));var $M=_e(SM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue"]]);const AM=rt($M),EM=Le({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"}}),zM=["textContent"],IM={name:"ElBadge"},NM=ee(ze(he({},IM),{props:EM,setup(e,{expose:t}){const n=e,o=ke("badge"),r=C(()=>n.isDot?"":mt(n.value)&&mt(n.max)?n.max(w(),I("div",{class:S(_(o).b())},[ue(a.$slots,"default"),U(qt,{name:`${_(o).namespace.value}-zoom-in-center`},{default:K(()=>[Ue(M("sup",{class:S([_(o).e("content"),_(o).em("content",a.type),_(o).is("fixed",!!a.$slots.default),_(o).is("dot",a.isDot)]),textContent:ve(_(r))},null,10,zM),[[ft,!a.hidden&&(_(r)||_(r)==="0"||a.isDot)]])]),_:1},8,["name"])],2))}}));var MM=_e(NM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const Zy=rt(MM),RM=Le({separator:{type:String,default:"/"},separatorIcon:{type:an,default:""}}),PM={name:"ElBreadcrumb"},OM=ee(ze(he({},PM),{props:RM,setup(e){const t=e,n=ke("breadcrumb"),o=A();return ot(iy,t),et(()=>{const r=o.value.querySelectorAll(`.${n.e("item")}`);r.length&&r[r.length-1].setAttribute("aria-current","page")}),(r,a)=>(w(),I("div",{ref_key:"breadcrumb",ref:o,class:S(_(n).b()),"aria-label":"Breadcrumb",role:"navigation"},[ue(r.$slots,"default")],2))}}));var FM=_e(OM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue"]]);const DM=Le({to:{type:Te([String,Object]),default:""},replace:{type:Boolean,default:!1}}),LM={name:"ElBreadcrumbItem"},VM=ee(ze(he({},LM),{props:DM,setup(e){const t=e,o=nt().appContext.config.globalProperties.$router,r=Ie(iy,{}),a=ke("breadcrumb"),{separator:i,separatorIcon:l}=r,s=A(),c=()=>{!t.to||!o||(t.replace?o.replace(t.to):o.push(t.to))};return(d,u)=>(w(),I("span",{class:S(_(a).e("item"))},[M("span",{ref_key:"link",ref:s,class:S([_(a).e("inner"),_(a).is("link",!!d.to)]),role:"link",onClick:c},[ue(d.$slots,"default")],2),_(l)?(w(),Q(_(qe),{key:0,class:S(_(a).e("separator"))},{default:K(()=>[(w(),Q(pt(_(l))))]),_:1},8,["class"])):(w(),I("span",{key:1,class:S(_(a).e("separator")),role:"presentation"},ve(_(i)),3))],2))}}));var Jy=_e(VM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const BM=rt(FM,{BreadcrumbItem:Jy}),jM=Dt(Jy),Od=["default","primary","success","warning","info","danger","text",""],HM=["button","submit","reset"],Fd=Le({size:dc,disabled:Boolean,type:{type:String,values:Od,default:""},icon:{type:an,default:""},nativeType:{type:String,values:HM,default:"button"},loading:Boolean,loadingIcon:{type:an,default:()=>hr},plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0}}),qM={click:e=>e instanceof MouseEvent};function rn(e,t){KM(e)&&(e="100%");var n=WM(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Sl(e){return Math.min(1,Math.max(0,e))}function KM(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function WM(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Qy(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function $l(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Er(e){return e.length===1?"0"+e:String(e)}function UM(e,t,n){return{r:rn(e,255)*255,g:rn(t,255)*255,b:rn(n,255)*255}}function wm(e,t,n){e=rn(e,255),t=rn(t,255),n=rn(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,i=0,l=(o+r)/2;if(o===r)i=0,a=0;else{var s=o-r;switch(i=l>.5?s/(2-o-r):s/(o+r),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function YM(e,t,n){var o,r,a;if(e=rn(e,360),t=rn(t,100),n=rn(n,100),t===0)r=n,a=n,o=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;o=Oc(l,i,e+1/3),r=Oc(l,i,e),a=Oc(l,i,e-1/3)}return{r:o*255,g:r*255,b:a*255}}function xm(e,t,n){e=rn(e,255),t=rn(t,255),n=rn(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,i=o,l=o-r,s=o===0?0:l/o;if(o===r)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var Dd={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function QM(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,a=null,i=!1,l=!1;return typeof e=="string"&&(e=nR(e)),typeof e=="object"&&(To(e.r)&&To(e.g)&&To(e.b)?(t=UM(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):To(e.h)&&To(e.s)&&To(e.v)?(o=$l(e.s),r=$l(e.v),t=GM(e.h,o,r),i=!0,l="hsv"):To(e.h)&&To(e.s)&&To(e.l)&&(o=$l(e.s),a=$l(e.l),t=YM(e.h,o,a),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Qy(n),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var eR="[-\\+]?\\d+%?",tR="[-\\+]?\\d*\\.\\d+%?",ar="(?:".concat(tR,")|(?:").concat(eR,")"),Fc="[\\s|\\(]+(".concat(ar,")[,|\\s]+(").concat(ar,")[,|\\s]+(").concat(ar,")\\s*\\)?"),Dc="[\\s|\\(]+(".concat(ar,")[,|\\s]+(").concat(ar,")[,|\\s]+(").concat(ar,")[,|\\s]+(").concat(ar,")\\s*\\)?"),Zn={CSS_UNIT:new RegExp(ar),rgb:new RegExp("rgb"+Fc),rgba:new RegExp("rgba"+Dc),hsl:new RegExp("hsl"+Fc),hsla:new RegExp("hsla"+Dc),hsv:new RegExp("hsv"+Fc),hsva:new RegExp("hsva"+Dc),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function nR(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Dd[e])e=Dd[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Zn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Zn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Zn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Zn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Zn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Zn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Zn.hex8.exec(e),n?{r:_n(n[1]),g:_n(n[2]),b:_n(n[3]),a:Tm(n[4]),format:t?"name":"hex8"}:(n=Zn.hex6.exec(e),n?{r:_n(n[1]),g:_n(n[2]),b:_n(n[3]),format:t?"name":"hex"}:(n=Zn.hex4.exec(e),n?{r:_n(n[1]+n[1]),g:_n(n[2]+n[2]),b:_n(n[3]+n[3]),a:Tm(n[4]+n[4]),format:t?"name":"hex8"}:(n=Zn.hex3.exec(e),n?{r:_n(n[1]+n[1]),g:_n(n[2]+n[2]),b:_n(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function To(e){return Boolean(Zn.CSS_UNIT.exec(String(e)))}var e0=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=JM(t)),this.originalInput=t;var r=QM(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=n.format)!==null&&o!==void 0?o:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,o,r,a=t.r/255,i=t.g/255,l=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),i<=.03928?o=i/12.92:o=Math.pow((i+.055)/1.055,2.4),l<=.03928?r=l/12.92:r=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*o+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Qy(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=xm(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=xm(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=wm(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=wm(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),km(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),XM(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(o,")"):"rgba(".concat(t,", ").concat(n,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(rn(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(rn(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+km(this.r,this.g,this.b,!1),n=0,o=Object.entries(Dd);n=0,a=!n&&r&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Sl(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Sl(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Sl(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Sl(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),a=n/100,i={r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,a=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(new e(o));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,a=n.v,i=[],l=1/t;t--;)i.push(new e({h:o,s:r,v:a})),a=(a+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb();return new e({r:o.r+(n.r-o.r)*n.a,g:o.g+(n.g-o.g)*n.a,b:o.b+(n.b-o.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],a=360/t,i=1;i{let n={};const o=e.color;if(o){const r=new e0(o),a=e.dark?r.tint(20).toString():Xo(r,20);if(e.plain)n={"--el-button-bg-color":e.dark?Xo(r,90):r.tint(90).toString(),"--el-button-text-color":o,"--el-button-border-color":e.dark?Xo(r,50):r.tint(50).toString(),"--el-button-hover-text-color":"var(--el-color-white)","--el-button-hover-bg-color":o,"--el-button-hover-border-color":o,"--el-button-active-bg-color":a,"--el-button-active-text-color":"var(--el-color-white)","--el-button-active-border-color":a},t.value&&(n["--el-button-disabled-bg-color"]=e.dark?Xo(r,90):r.tint(90).toString(),n["--el-button-disabled-text-color"]=e.dark?Xo(r,50):r.tint(50).toString(),n["--el-button-disabled-border-color"]=e.dark?Xo(r,80):r.tint(80).toString());else{const i=e.dark?Xo(r,30):r.tint(30).toString(),l=r.isDark()?"var(--el-color-white)":"var(--el-color-black)";if(n={"--el-button-bg-color":o,"--el-button-text-color":l,"--el-button-border-color":o,"--el-button-hover-bg-color":i,"--el-button-hover-text-color":l,"--el-button-hover-border-color":i,"--el-button-active-bg-color":a,"--el-button-active-border-color":a},t.value){const s=e.dark?Xo(r,50):r.tint(50).toString();n["--el-button-disabled-bg-color"]=s,n["--el-button-disabled-text-color"]=e.dark?"rgba(255, 255, 255, 0.5)":"var(--el-color-white)",n["--el-button-disabled-border-color"]=s}}}return n})}const rR=["disabled","autofocus","type"],aR={name:"ElButton"},iR=ee(ze(he({},aR),{props:Fd,emits:qM,setup(e,{expose:t,emit:n}){const o=e,r=nl(),a=Ie(ly,void 0),i=qa("button"),l=ke("button"),{form:s}=Ka(),c=Ut(C(()=>a==null?void 0:a.size)),d=Zr(),u=A(),p=C(()=>o.type||(a==null?void 0:a.type)||""),f=C(()=>{var g,v,y;return(y=(v=o.autoInsertSpace)!=null?v:(g=i.value)==null?void 0:g.autoInsertSpace)!=null?y:!1}),h=C(()=>{var g;const v=(g=r.default)==null?void 0:g.call(r);if(f.value&&(v==null?void 0:v.length)===1){const y=v[0];if((y==null?void 0:y.type)===tl){const T=y.children;return/^\p{Unified_Ideograph}{2}$/u.test(T.trim())}}return!1}),b=oR(o),m=g=>{o.nativeType==="reset"&&(s==null||s.resetFields()),n("click",g)};return t({ref:u,size:c,type:p,disabled:d,shouldAddSpace:h}),(g,v)=>(w(),I("button",{ref_key:"_ref",ref:u,class:S([_(l).b(),_(l).m(_(p)),_(l).m(_(c)),_(l).is("disabled",_(d)),_(l).is("loading",g.loading),_(l).is("plain",g.plain),_(l).is("round",g.round),_(l).is("circle",g.circle)]),disabled:_(d)||g.loading,autofocus:g.autofocus,type:g.nativeType,style:Oe(_(b)),onClick:m},[g.loading?(w(),I(Fe,{key:0},[g.$slots.loading?ue(g.$slots,"loading",{key:0}):(w(),Q(_(qe),{key:1,class:S(_(l).is("loading"))},{default:K(()=>[(w(),Q(pt(g.loadingIcon)))]),_:1},8,["class"]))],2112)):g.icon||g.$slots.icon?(w(),Q(_(qe),{key:1},{default:K(()=>[g.icon?(w(),Q(pt(g.icon),{key:0})):ue(g.$slots,"icon",{key:1})]),_:3})):G("v-if",!0),g.$slots.default?(w(),I("span",{key:2,class:S({[_(l).em("text","expand")]:_(h)})},[ue(g.$slots,"default")],2)):G("v-if",!0)],14,rR))}}));var lR=_e(iR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const sR={size:Fd.size,type:Fd.type},cR={name:"ElButtonGroup"},dR=ee(ze(he({},cR),{props:sR,setup(e){const t=e;ot(ly,vt({size:Yt(t,"size"),type:Yt(t,"type")}));const n=ke("button");return(o,r)=>(w(),I("div",{class:S(`${_(n).b("group")}`)},[ue(o.$slots,"default")],2))}}));var t0=_e(dR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Vn=rt(lR,{ButtonGroup:t0}),n0=Dt(t0);var Ko=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},o0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){var n=1e3,o=6e4,r=36e5,a="millisecond",i="second",l="minute",s="hour",c="day",d="week",u="month",p="quarter",f="year",h="date",b="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|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,v={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("_")},y=function(F,V,q){var R=String(F);return!R||R.length>=V?F:""+Array(V+1-R.length).join(q)+F},T={s:y,z:function(F){var V=-F.utcOffset(),q=Math.abs(V),R=Math.floor(q/60),E=q%60;return(V<=0?"+":"-")+y(R,2,"0")+":"+y(E,2,"0")},m:function F(V,q){if(V.date()1)return F(W[0])}else{var Y=V.name;k[Y]=V,E=Y}return!R&&E&&(x=E),E||!R&&x},P=function(F,V){if($(F))return F.clone();var q=typeof V=="object"?V:{};return q.date=F,q.args=arguments,new D(q)},O=T;O.l=z,O.i=$,O.w=function(F,V){return P(F,{locale:V.$L,utc:V.$u,x:V.$x,$offset:V.$offset})};var D=function(){function F(q){this.$L=z(q.locale,null,!0),this.parse(q)}var V=F.prototype;return V.parse=function(q){this.$d=function(R){var E=R.date,N=R.utc;if(E===null)return new Date(NaN);if(O.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var W=E.match(m);if(W){var Y=W[2]-1||0,J=(W[7]||"0").substring(0,3);return N?new Date(Date.UTC(W[1],Y,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)):new Date(W[1],Y,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)}}return new Date(E)}(q),this.$x=q.x||{},this.init()},V.init=function(){var q=this.$d;this.$y=q.getFullYear(),this.$M=q.getMonth(),this.$D=q.getDate(),this.$W=q.getDay(),this.$H=q.getHours(),this.$m=q.getMinutes(),this.$s=q.getSeconds(),this.$ms=q.getMilliseconds()},V.$utils=function(){return O},V.isValid=function(){return this.$d.toString()!==b},V.isSame=function(q,R){var E=P(q);return this.startOf(R)<=E&&E<=this.endOf(R)},V.isAfter=function(q,R){return P(q)68?1900:2e3)},c=function(b){return function(m){this[b]=+m}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(b){(this.zone||(this.zone={})).offset=function(m){if(!m||m==="Z")return 0;var g=m.match(/([+-]|\d\d)/g),v=60*g[1]+(+g[2]||0);return v===0?0:g[0]==="+"?-v:v}(b)}],u=function(b){var m=l[b];return m&&(m.indexOf?m:m.s.concat(m.f))},p=function(b,m){var g,v=l.meridiem;if(v){for(var y=1;y<=24;y+=1)if(b.indexOf(v(y,0,m))>-1){g=y>12;break}}else g=b===(m?"pm":"PM");return g},f={A:[i,function(b){this.afternoon=p(b,!1)}],a:[i,function(b){this.afternoon=p(b,!0)}],S:[/\d/,function(b){this.milliseconds=100*+b}],SS:[r,function(b){this.milliseconds=10*+b}],SSS:[/\d{3}/,function(b){this.milliseconds=+b}],s:[a,c("seconds")],ss:[a,c("seconds")],m:[a,c("minutes")],mm:[a,c("minutes")],H:[a,c("hours")],h:[a,c("hours")],HH:[a,c("hours")],hh:[a,c("hours")],D:[a,c("day")],DD:[r,c("day")],Do:[i,function(b){var m=l.ordinal,g=b.match(/\d+/);if(this.day=g[0],m)for(var v=1;v<=31;v+=1)m(v).replace(/\[|\]/g,"")===b&&(this.day=v)}],M:[a,c("month")],MM:[r,c("month")],MMM:[i,function(b){var m=u("months"),g=(u("monthsShort")||m.map(function(v){return v.slice(0,3)})).indexOf(b)+1;if(g<1)throw new Error;this.month=g%12||g}],MMMM:[i,function(b){var m=u("months").indexOf(b)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(b){this.year=s(b)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function h(b){var m,g;m=b,g=l&&l.formats;for(var v=(b=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(P,O,D){var L=D&&D.toUpperCase();return O||g[D]||n[D]||g[L].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(F,V,q){return V||q.slice(1)})})).match(o),y=v.length,T=0;T-1)return new Date((E==="X"?1e3:1)*R);var W=h(E)(R),Y=W.year,J=W.month,Z=W.day,se=W.hours,Se=W.minutes,oe=W.seconds,H=W.milliseconds,ne=W.zone,ie=new Date,be=Z||(Y||J?1:ie.getDate()),$e=Y||ie.getFullYear(),Ne=0;Y&&!J||(Ne=J>0?J-1:ie.getMonth());var Me=se||0,j=Se||0,X=oe||0,de=H||0;return ne?new Date(Date.UTC($e,Ne,be,Me,j,X,de+60*ne.offset*1e3)):N?new Date(Date.UTC($e,Ne,be,Me,j,X,de)):new Date($e,Ne,be,Me,j,X,de)}catch{return new Date("")}}(x,z,k),this.init(),L&&L!==!0&&(this.$L=this.locale(L).$L),D&&x!=this.format(z)&&(this.$d=new Date("")),l={}}else if(z instanceof Array)for(var F=z.length,V=1;V<=F;V+=1){$[1]=z[V-1];var q=g.apply(this,$);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}V===F&&(this.$d=new Date(""))}else y.call(this,T)}}})})(i0);var Cp=i0.exports;const Ld="HH:mm:ss",ii="YYYY-MM-DD",uR={date:ii,week:"gggg[w]ww",year:"YYYY",month:"YYYY-MM",datetime:`${ii} ${Ld}`,monthrange:"YYYY-MM",daterange:ii,datetimerange:`${ii} ${Ld}`},Sp={id:{type:[Array,String]},name:{type:[Array,String],default:""},popperClass:{type:String,default:""},format:{type:String},valueFormat:{type:String},type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:[String,Object],default:Oo},editable:{type:Boolean,default:!0},prefixIcon:{type:[String,Object],default:""},size:{type:String,validator:Nn},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},modelValue:{type:[Date,Array,String,Number],default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:[Date,Array]},defaultTime:{type:[Date,Array]},isRange:{type:Boolean,default:!1},disabledHours:{type:Function},disabledMinutes:{type:Function},disabledSeconds:{type:Function},disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean},Cm=function(e,t){const n=e instanceof Date,o=t instanceof Date;return n&&o?e.getTime()===t.getTime():!n&&!o?e===t:!1},Sm=function(e,t){const n=Array.isArray(e),o=Array.isArray(t);return n&&o?e.length!==t.length?!1:e.every((r,a)=>Cm(r,t[a])):!n&&!o?Cm(e,t):!1},$m=function(e,t,n){const o=Bi(t)||t==="x"?Ge(e).locale(n):Ge(e,t).locale(n);return o.isValid()?o:void 0},Am=function(e,t,n){return Bi(t)?e:t==="x"?+e:Ge(e).locale(n).format(t)},pR=ee({name:"Picker",components:{ElInput:Gn,ElTooltip:vn,ElIcon:qe},props:Sp,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change"],setup(e,t){const{lang:n}=Tt(),o=ke("date"),r=ke("input"),a=ke("range"),i=Ie(Mn,{}),l=Ie(qn,{}),s=Ie("ElPopperOptions",{}),c=A(),d=A(),u=A(!1),p=A(!1),f=A(null);ge(u,B=>{var me;B?f.value=e.modelValue:(ie.value=null,je(()=>{h(e.modelValue)}),t.emit("blur"),$e(),e.validateEvent&&((me=l.validate)==null||me.call(l,"blur").catch(Be=>void 0)))});const h=(B,me)=>{var Be;(me||!Sm(B,f.value))&&(t.emit("change",B),e.validateEvent&&((Be=l.validate)==null||Be.call(l,"change").catch(Ze=>void 0)))},b=B=>{if(!Sm(e.modelValue,B)){let me;Array.isArray(B)?me=B.map(Be=>Am(Be,e.valueFormat,n.value)):B&&(me=Am(B,e.valueFormat,n.value)),t.emit("update:modelValue",B&&me,n.value)}},m=C(()=>{if(d.value){const B=se.value?d.value:d.value.$el;return Array.from(B.querySelectorAll("input"))}return[]}),g=C(()=>m==null?void 0:m.value[0]),v=C(()=>m==null?void 0:m.value[1]),y=(B,me,Be)=>{const Ze=m.value;!Ze.length||(!Be||Be==="min"?(Ze[0].setSelectionRange(B,me),Ze[0].focus()):Be==="max"&&(Ze[1].setSelectionRange(B,me),Ze[1].focus()))},T=(B="",me=!1)=>{u.value=me;let Be;Array.isArray(B)?Be=B.map(Ze=>Ze.toDate()):Be=B&&B.toDate(),ie.value=null,b(Be)},x=()=>{p.value=!0},k=()=>{t.emit("visible-change",!0)},$=()=>{p.value=!1,t.emit("visible-change",!1)},z=(B=!0)=>{let me=g.value;!B&&se.value&&(me=v.value),me&&me.focus()},P=B=>{e.readonly||D.value||u.value||(u.value=!0,t.emit("focus",B))},O=()=>{var B;(B=c.value)==null||B.onClose(),$e()},D=C(()=>e.disabled||i.disabled),L=C(()=>{let B;if(Y.value?ae.value.getDefaultValue&&(B=ae.value.getDefaultValue()):Array.isArray(e.modelValue)?B=e.modelValue.map(me=>$m(me,e.valueFormat,n.value)):B=$m(e.modelValue,e.valueFormat,n.value),ae.value.getRangeAvailableTime){const me=ae.value.getRangeAvailableTime(B);En(me,B)||(B=me,b(Array.isArray(B)?B.map(Be=>Be.toDate()):B.toDate()))}return Array.isArray(B)&&B.some(me=>!me)&&(B=[]),B}),F=C(()=>{if(!ae.value.panelReady)return;const B=Me(L.value);if(Array.isArray(ie.value))return[ie.value[0]||B&&B[0]||"",ie.value[1]||B&&B[1]||""];if(ie.value!==null)return ie.value;if(!(!q.value&&Y.value)&&!(!u.value&&Y.value))return B?R.value?B.join(", "):B:""}),V=C(()=>e.type.includes("time")),q=C(()=>e.type.startsWith("time")),R=C(()=>e.type==="dates"),E=C(()=>e.prefixIcon||(V.value?Gv:J$)),N=A(!1),W=B=>{e.readonly||D.value||N.value&&(B.stopPropagation(),b(null),h(null,!0),N.value=!1,u.value=!1,ae.value.handleClear&&ae.value.handleClear())},Y=C(()=>!e.modelValue||Array.isArray(e.modelValue)&&!e.modelValue.length),J=()=>{e.readonly||D.value||!Y.value&&e.clearable&&(N.value=!0)},Z=()=>{N.value=!1},se=C(()=>e.type.includes("range")),Se=Ut(),oe=C(()=>{var B,me;return(me=(B=c.value)==null?void 0:B.popperRef)==null?void 0:me.contentRef}),H=C(()=>{var B,me;return(me=(B=_(c))==null?void 0:B.popperRef)==null?void 0:me.contentRef}),ne=C(()=>{var B;return _(se)?_(d):(B=_(d))==null?void 0:B.$el});Cs(ne,B=>{const me=_(H),Be=_(ne);me&&(B.target===me||B.composedPath().includes(me))||B.target===Be||B.composedPath().includes(Be)||(u.value=!1)});const ie=A(null),be=()=>{if(ie.value){const B=Ne(F.value);B&&j(B)&&(b(Array.isArray(B)?B.map(me=>me.toDate()):B.toDate()),ie.value=null)}ie.value===""&&(b(null),h(null),ie.value=null)},$e=()=>{m.value.forEach(B=>B.blur())},Ne=B=>B?ae.value.parseUserInput(B):null,Me=B=>B?ae.value.formatToString(B):null,j=B=>ae.value.isValidValue(B),X=B=>{const me=B.code;if(me===Pe.esc){u.value=!1,B.stopPropagation();return}if(me===Pe.tab){se.value?setTimeout(()=>{m.value.includes(document.activeElement)||(u.value=!1,$e())},0):(be(),u.value=!1,B.stopPropagation());return}if(me===Pe.enter||me===Pe.numpadEnter){(ie.value===null||ie.value===""||j(Ne(F.value)))&&(be(),u.value=!1),B.stopPropagation();return}if(ie.value){B.stopPropagation();return}ae.value.handleKeydown&&ae.value.handleKeydown(B)},de=B=>{ie.value=B},xe=B=>{ie.value?ie.value=[B.target.value,ie.value[1]]:ie.value=[B.target.value,null]},we=B=>{ie.value?ie.value=[ie.value[0],B.target.value]:ie.value=[null,B.target.value]},Ae=()=>{const B=Ne(ie.value&&ie.value[0]);if(B&&B.isValid()){ie.value=[Me(B),F.value[1]];const me=[B,L.value&&L.value[1]];j(me)&&(b(me),ie.value=null)}},ce=()=>{const B=Ne(ie.value&&ie.value[1]);if(B&&B.isValid()){ie.value=[F.value[0],Me(B)];const me=[L.value&&L.value[0],B];j(me)&&(b(me),ie.value=null)}},ae=A({}),te=B=>{ae.value[B[0]]=B[1],ae.value.panelReady=!0},pe=B=>{t.emit("calendar-change",B)},De=(B,me,Be)=>{t.emit("panel-change",B,me,Be)};return ot("EP_PICKER_BASE",{props:e}),{nsDate:o,nsInput:r,nsRange:a,elPopperOptions:s,isDatesPicker:R,handleEndChange:ce,handleStartChange:Ae,handleStartInput:xe,handleEndInput:we,onUserInput:de,handleChange:be,handleKeydown:X,popperPaneRef:oe,onClickOutside:Cs,pickerSize:Se,isRangeInput:se,onMouseLeave:Z,onMouseEnter:J,onClearIconClick:W,showClose:N,triggerIcon:E,onPick:T,handleFocus:P,handleBlur:O,pickerVisible:u,pickerActualVisible:p,displayValue:F,parsedValue:L,setSelectionRange:y,refPopper:c,inputRef:d,pickerDisabled:D,onSetPickerOption:te,onCalendarChange:pe,onPanelChange:De,focus:z,onShow:k,onBeforeShow:x,onHide:$}}}),fR=["id","name","placeholder","value","disabled","readonly"],hR=["id","name","placeholder","value","disabled","readonly"];function mR(e,t,n,o,r,a){const i=le("el-icon"),l=le("el-input"),s=le("el-tooltip");return w(),Q(s,St({ref:"refPopper",visible:e.pickerVisible,"onUpdate:visible":t[17]||(t[17]=c=>e.pickerVisible=c),effect:"light",pure:"",trigger:"click"},e.$attrs,{"append-to-body":"",transition:`${e.nsDate.namespace.value}-zoom-in-top`,"popper-class":[`${e.nsDate.namespace.value}-picker__popper`,e.popperClass],"popper-options":e.elPopperOptions,"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:e.onBeforeShow,onShow:e.onShow,onHide:e.onHide}),{default:K(()=>[e.isRangeInput?(w(),I("div",{key:1,ref:"inputRef",class:S([e.nsDate.b("editor"),e.nsDate.bm("editor",e.type),e.nsInput.e("inner"),e.nsDate.is("disabled",e.pickerDisabled),e.nsDate.is("active",e.pickerVisible),e.nsRange.b("editor"),e.pickerSize?e.nsRange.bm("editor",e.pickerSize):"",e.$attrs.class]),style:Oe(e.$attrs.style),onClick:t[7]||(t[7]=(...c)=>e.handleFocus&&e.handleFocus(...c)),onMouseenter:t[8]||(t[8]=(...c)=>e.onMouseEnter&&e.onMouseEnter(...c)),onMouseleave:t[9]||(t[9]=(...c)=>e.onMouseLeave&&e.onMouseLeave(...c)),onKeydown:t[10]||(t[10]=(...c)=>e.handleKeydown&&e.handleKeydown(...c))},[e.triggerIcon?(w(),Q(i,{key:0,class:S([e.nsInput.e("icon"),e.nsRange.e("icon")]),onClick:e.handleFocus},{default:K(()=>[(w(),Q(pt(e.triggerIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0),M("input",{id:e.id&&e.id[0],autocomplete:"off",name:e.name&&e.name[0],placeholder:e.startPlaceholder,value:e.displayValue&&e.displayValue[0],disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,class:S(e.nsRange.b("input")),onInput:t[1]||(t[1]=(...c)=>e.handleStartInput&&e.handleStartInput(...c)),onChange:t[2]||(t[2]=(...c)=>e.handleStartChange&&e.handleStartChange(...c)),onFocus:t[3]||(t[3]=(...c)=>e.handleFocus&&e.handleFocus(...c))},null,42,fR),ue(e.$slots,"range-separator",{},()=>[M("span",{class:S(e.nsRange.b("separator"))},ve(e.rangeSeparator),3)]),M("input",{id:e.id&&e.id[1],autocomplete:"off",name:e.name&&e.name[1],placeholder:e.endPlaceholder,value:e.displayValue&&e.displayValue[1],disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,class:S(e.nsRange.b("input")),onFocus:t[4]||(t[4]=(...c)=>e.handleFocus&&e.handleFocus(...c)),onInput:t[5]||(t[5]=(...c)=>e.handleEndInput&&e.handleEndInput(...c)),onChange:t[6]||(t[6]=(...c)=>e.handleEndChange&&e.handleEndChange(...c))},null,42,hR),e.clearIcon?(w(),Q(i,{key:1,class:S([e.nsInput.e("icon"),e.nsRange.e("close-icon"),{[e.nsRange.e("close-icon--hidden")]:!e.showClose}]),onClick:e.onClearIconClick},{default:K(()=>[(w(),Q(pt(e.clearIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0)],38)):(w(),Q(l,{key:0,id:e.id,ref:"inputRef","model-value":e.displayValue,name:e.name,size:e.pickerSize,disabled:e.pickerDisabled,placeholder:e.placeholder,class:S([e.nsDate.b("editor"),e.nsDate.bm("editor",e.type),e.$attrs.class]),style:Oe(e.$attrs.style),readonly:!e.editable||e.readonly||e.isDatesPicker||e.type==="week",onInput:e.onUserInput,onFocus:e.handleFocus,onKeydown:e.handleKeydown,onChange:e.handleChange,onMouseenter:e.onMouseEnter,onMouseleave:e.onMouseLeave,onClick:t[0]||(t[0]=He(()=>{},["stop"]))},{prefix:K(()=>[e.triggerIcon?(w(),Q(i,{key:0,class:S(e.nsInput.e("icon")),onClick:e.handleFocus},{default:K(()=>[(w(),Q(pt(e.triggerIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0)]),suffix:K(()=>[e.showClose&&e.clearIcon?(w(),Q(i,{key:0,class:S(`${e.nsInput.e("icon")} clear-icon`),onClick:e.onClearIconClick},{default:K(()=>[(w(),Q(pt(e.clearIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","onInput","onFocus","onKeydown","onChange","onMouseenter","onMouseleave"]))]),content:K(()=>[ue(e.$slots,"default",{visible:e.pickerVisible,actualVisible:e.pickerActualVisible,parsedValue:e.parsedValue,format:e.format,unlinkPanels:e.unlinkPanels,type:e.type,defaultValue:e.defaultValue,onPick:t[11]||(t[11]=(...c)=>e.onPick&&e.onPick(...c)),onSelectRange:t[12]||(t[12]=(...c)=>e.setSelectionRange&&e.setSelectionRange(...c)),onSetPickerOption:t[13]||(t[13]=(...c)=>e.onSetPickerOption&&e.onSetPickerOption(...c)),onCalendarChange:t[14]||(t[14]=(...c)=>e.onCalendarChange&&e.onCalendarChange(...c)),onPanelChange:t[15]||(t[15]=(...c)=>e.onPanelChange&&e.onPanelChange(...c)),onMousedown:t[16]||(t[16]=He(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options","onBeforeShow","onShow","onHide"])}var l0=_e(pR,[["render",mR],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const Qo=new Map;let Em;dt&&(document.addEventListener("mousedown",e=>Em=e),document.addEventListener("mouseup",e=>{for(const t of Qo.values())for(const{documentHandler:n}of t)n(e,Em)}));function zm(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:Hr(t.arg)&&n.push(t.arg),function(o,r){const a=t.instance.popperRef,i=o.target,l=r==null?void 0:r.target,s=!t||!t.instance,c=!i||!l,d=e.contains(i)||e.contains(l),u=e===i,p=n.length&&n.some(h=>h==null?void 0:h.contains(i))||n.length&&n.includes(l),f=a&&(a.contains(i)||a.contains(l));s||c||d||u||p||f||t.value(o,r)}}const Jr={beforeMount(e,t){Qo.has(e)||Qo.set(e,[]),Qo.get(e).push({documentHandler:zm(e,t),bindingFn:t.value})},updated(e,t){Qo.has(e)||Qo.set(e,[]);const n=Qo.get(e),o=n.findIndex(a=>a.bindingFn===t.oldValue),r={documentHandler:zm(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted(e){Qo.delete(e)}};var s0={beforeMount(e,t){let n=null,o;const r=()=>t.value&&t.value(),a=()=>{Date.now()-o<100&&r(),clearInterval(n),n=null};At(e,"mousedown",i=>{i.button===0&&(o=Date.now(),K4(document,"mouseup",a),clearInterval(n),n=setInterval(r,100))})}};const Vd="_trap-focus-children",zr=[],Im=e=>{if(zr.length===0)return;const t=zr[zr.length-1][Vd];if(t.length>0&&e.code===Pe.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const n=e.shiftKey,o=e.target===t[0],r=e.target===t[t.length-1];o&&n&&(e.preventDefault(),t[t.length-1].focus()),r&&!n&&(e.preventDefault(),t[0].focus())}},c0={beforeMount(e){e[Vd]=Vh(e),zr.push(e),zr.length<=1&&At(document,"keydown",Im)},updated(e){je(()=>{e[Vd]=Vh(e)})},unmounted(){zr.shift(),zr.length===0&&Bt(document,"keydown",Im)}};var Nm=!1,$r,Bd,jd,Hl,ql,d0,Kl,Hd,qd,Kd,u0,Wd,Ud,p0,f0;function pn(){if(!Nm){Nm=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Wd=/\b(iPhone|iP[ao]d)/.exec(e),Ud=/\b(iP[ao]d)/.exec(e),Kd=/Android/i.exec(e),p0=/FBAN\/\w+;/i.exec(e),f0=/Mobile/i.exec(e),u0=!!/Win64/.exec(e),t){$r=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,$r&&document&&document.documentMode&&($r=document.documentMode);var o=/(?:Trident\/(\d+.\d+))/.exec(e);d0=o?parseFloat(o[1])+4:$r,Bd=t[2]?parseFloat(t[2]):NaN,jd=t[3]?parseFloat(t[3]):NaN,Hl=t[4]?parseFloat(t[4]):NaN,Hl?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),ql=t&&t[1]?parseFloat(t[1]):NaN):ql=NaN}else $r=Bd=jd=ql=Hl=NaN;if(n){if(n[1]){var r=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);Kl=r?parseFloat(r[1].replace("_",".")):!0}else Kl=!1;Hd=!!n[2],qd=!!n[3]}else Kl=Hd=qd=!1}}var Yd={ie:function(){return pn()||$r},ieCompatibilityMode:function(){return pn()||d0>$r},ie64:function(){return Yd.ie()&&u0},firefox:function(){return pn()||Bd},opera:function(){return pn()||jd},webkit:function(){return pn()||Hl},safari:function(){return Yd.webkit()},chrome:function(){return pn()||ql},windows:function(){return pn()||Hd},osx:function(){return pn()||Kl},linux:function(){return pn()||qd},iphone:function(){return pn()||Wd},mobile:function(){return pn()||Wd||Ud||Kd||f0},nativeApp:function(){return pn()||p0},android:function(){return pn()||Kd},ipad:function(){return pn()||Ud}},gR=Yd,Al=!!(typeof window<"u"&&window.document&&window.document.createElement),bR={canUseDOM:Al,canUseWorkers:typeof Worker<"u",canUseEventListeners:Al&&!!(window.addEventListener||window.attachEvent),canUseViewport:Al&&!!window.screen,isInWorker:!Al},h0=bR,m0;h0.canUseDOM&&(m0=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function vR(e,t){if(!h0.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var r=document.createElement("div");r.setAttribute(n,"return;"),o=typeof r[n]=="function"}return!o&&m0&&e==="wheel"&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}var yR=vR,Mm=10,Rm=40,Pm=800;function g0(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=t*Mm,r=n*Mm,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(e.deltaMode==1?(o*=Rm,r*=Rm):(o*=Pm,r*=Pm)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}g0.getEventType=function(){return gR.firefox()?"DOMMouseScroll":yR("wheel")?"wheel":"mousewheel"};var _R=g0;/** +`,B8=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function j8(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),r=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:B8.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:o,borderSize:r,boxSizing:n}}function sm(e,t=1,n){var o;Xn||(Xn=document.createElement("textarea"),document.body.appendChild(Xn));const{paddingSize:r,borderSize:a,boxSizing:i,contextStyle:l}=j8(e);Xn.setAttribute("style",`${l};${V8}`),Xn.value=e.value||e.placeholder||"";let s=Xn.scrollHeight;const c={};i==="border-box"?s=s+a:i==="content-box"&&(s=s-r),Xn.value="";const d=Xn.scrollHeight-r;if(mt(t)){let u=d*t;i==="border-box"&&(u=u+r+a),s=Math.max(u,s),c.minHeight=`${u}px`}if(mt(n)){let u=d*n;i==="border-box"&&(u=u+r+a),s=Math.min(u,s)}return c.height=`${s}px`,(o=Xn.parentNode)==null||o.removeChild(Xn),Xn=void 0,c}const H8=Le({size:cc,disabled:Boolean,modelValue:{type:Te([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Te([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},placeholder:{type:String},form:{type:String,default:""},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:an,default:""},prefixIcon:{type:an,default:""},label:{type:String},tabindex:{type:[Number,String]},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Te([Object,Array,String]),default:()=>Ft({})}}),q8={[tt]:e=>Qe(e),input:e=>Qe(e),change:e=>Qe(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},K8=["type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder"],W8=["tabindex","disabled","readonly","autocomplete","aria-label","placeholder"],U8={name:"ElInput",inheritAttrs:!1},Y8=ee(ze(he({},U8),{props:H8,emits:q8,setup(e,{expose:t,emit:n}){const o=e,r={suffix:"append",prefix:"prepend"},a=nt(),i=Rb(),l=nl(),s=cp(),{form:c,formItem:d}=Ka(),u=Ut(),p=Zr(),f=ke("input"),h=ke("textarea"),b=Kt(),m=Kt(),g=A(!1),v=A(!1),y=A(!1),T=A(!1),x=Kt(o.inputStyle),k=C(()=>b.value||m.value),$=C(()=>{var B;return(B=c==null?void 0:c.statusIcon)!=null?B:!1}),z=C(()=>(d==null?void 0:d.validateState)||""),P=C(()=>Qv[z.value]),O=C(()=>T.value?lz:TE),D=C(()=>[i.style,o.inputStyle]),L=C(()=>[o.inputStyle,x.value,{resize:o.resize}]),F=C(()=>np(o.modelValue)?"":String(o.modelValue)),V=C(()=>o.clearable&&!p.value&&!o.readonly&&!!F.value&&(g.value||v.value)),q=C(()=>o.showPassword&&!p.value&&!o.readonly&&(!!F.value||g.value)),M=C(()=>o.showWordLimit&&!!s.value.maxlength&&(o.type==="text"||o.type==="textarea")&&!p.value&&!o.readonly&&!o.showPassword),E=C(()=>Array.from(F.value).length),N=C(()=>!!M.value&&E.value>Number(s.value.maxlength)),W=C(()=>!!l.suffix||!!o.suffixIcon||V.value||o.showPassword||M.value||!!z.value&&$.value),Y=()=>{const{type:B,autosize:me}=o;if(!(!dt||B!=="textarea"))if(me){const Be=ut(me)?me.minRows:void 0,Ze=ut(me)?me.maxRows:void 0;x.value=he({},sm(m.value,Be,Ze))}else x.value={minHeight:sm(m.value).minHeight}},J=()=>{const B=k.value;!B||B.value===F.value||(B.value=F.value)},Z=B=>{const{el:me}=a.vnode;if(!me)return;const Ze=Array.from(me.querySelectorAll(`.${f.e(B)}`)).find(re=>re.parentNode===me);if(!Ze)return;const Ve=r[B];l[Ve]?Ze.style.transform=`translateX(${B==="suffix"?"-":""}${me.querySelector(`.${f.be("group",Ve)}`).offsetWidth}px)`:Ze.removeAttribute("style")},se=()=>{Z("prefix"),Z("suffix")},Se=async B=>{const{value:me}=B.target;y.value||me!==F.value&&(n(tt,me),n("input",me),await je(),J())},oe=B=>{n("change",B.target.value)},H=B=>{n("compositionstart",B),y.value=!0},ne=B=>{var me;n("compositionupdate",B);const Be=(me=B.target)==null?void 0:me.value,Ze=Be[Be.length-1]||"";y.value=!ic(Ze)},ie=B=>{n("compositionend",B),y.value&&(y.value=!1,Se(B))},be=()=>{T.value=!T.value,$e()},$e=async()=>{var B;await je(),(B=k.value)==null||B.focus()},Ne=()=>{var B;return(B=k.value)==null?void 0:B.blur()},Me=B=>{g.value=!0,n("focus",B)},j=B=>{var me;g.value=!1,n("blur",B),o.validateEvent&&((me=d==null?void 0:d.validate)==null||me.call(d,"blur").catch(Be=>void 0))},X=B=>{v.value=!1,n("mouseleave",B)},de=B=>{v.value=!0,n("mouseenter",B)},xe=B=>{n("keydown",B)},we=()=>{var B;(B=k.value)==null||B.select()},Ae=()=>{n(tt,""),n("change",""),n("clear"),n("input","")};ge(()=>o.modelValue,()=>{var B;je(()=>Y()),o.validateEvent&&((B=d==null?void 0:d.validate)==null||B.call(d,"change").catch(me=>void 0))}),ge(F,()=>J()),ge(()=>o.type,async()=>{await je(),J(),Y(),se()});const ce=A(),ae=A(),te=A({}),pe=(B,me)=>{if(B.value){const Be=B.value.offsetWidth;return Be>0?Be+16:me}return me},De=()=>{te.value=he({paddingRight:`${pe(ce,0)}px`,paddingLeft:`${pe(ae,11)}px`},o.inputStyle)};return ge(V,()=>{je(()=>{De()})}),et(async()=>{De(),J(),se(),await je(),Y()}),Un(async()=>{await je(),se()}),t({input:b,textarea:m,ref:k,textareaStyle:L,autosize:Yt(o,"autosize"),focus:$e,blur:Ne,select:we,clear:Ae,resizeTextarea:Y}),(B,me)=>Ue((w(),I("div",{class:S([B.type==="textarea"?_(h).b():_(f).b(),_(f).m(_(u)),_(f).is("disabled",_(p)),_(f).is("exceed",_(N)),{[_(f).b("group")]:B.$slots.prepend||B.$slots.append,[_(f).bm("group","append")]:B.$slots.append,[_(f).bm("group","prepend")]:B.$slots.prepend,[_(f).m("prefix")]:B.$slots.prefix||B.prefixIcon,[_(f).m("suffix")]:B.$slots.suffix||B.suffixIcon||B.clearable||B.showPassword,[_(f).m("suffix--password-clear")]:_(V)&&_(q)},B.$attrs.class]),style:Oe(_(D)),onMouseenter:de,onMouseleave:X},[G(" input "),B.type!=="textarea"?(w(),I(Fe,{key:0},[G(" prepend slot "),B.$slots.prepend?(w(),I("div",{key:0,class:S(_(f).be("group","prepend"))},[ue(B.$slots,"prepend")],2)):G("v-if",!0),R("input",St({ref_key:"input",ref:b,class:_(f).e("inner")},_(s),{type:B.showPassword?T.value?"text":"password":B.type,disabled:_(p),readonly:B.readonly,autocomplete:B.autocomplete,tabindex:B.tabindex,"aria-label":B.label,placeholder:B.placeholder,style:te.value,onCompositionstart:H,onCompositionupdate:ne,onCompositionend:ie,onInput:Se,onFocus:Me,onBlur:j,onChange:oe,onKeydown:xe}),null,16,K8),G(" prefix slot "),B.$slots.prefix||B.prefixIcon?(w(),I("span",{key:1,class:S(_(f).e("prefix"))},[R("span",{ref_key:"innerPrefixRef",ref:ae,class:S(_(f).e("prefix-inner"))},[ue(B.$slots,"prefix"),B.prefixIcon?(w(),Q(_(qe),{key:0,class:S(_(f).e("icon"))},{default:K(()=>[(w(),Q(pt(B.prefixIcon)))]),_:1},8,["class"])):G("v-if",!0)],2)],2)):G("v-if",!0),G(" suffix slot "),_(W)?(w(),I("span",{key:2,class:S(_(f).e("suffix"))},[R("span",{ref_key:"innerSuffixRef",ref:ce,class:S(_(f).e("suffix-inner"))},[!_(V)||!_(q)||!_(M)?(w(),I(Fe,{key:0},[ue(B.$slots,"suffix"),B.suffixIcon?(w(),Q(_(qe),{key:0,class:S(_(f).e("icon"))},{default:K(()=>[(w(),Q(pt(B.suffixIcon)))]),_:1},8,["class"])):G("v-if",!0)],64)):G("v-if",!0),_(V)?(w(),Q(_(qe),{key:1,class:S([_(f).e("icon"),_(f).e("clear")]),onMousedown:me[0]||(me[0]=He(()=>{},["prevent"])),onClick:Ae},{default:K(()=>[U(_(Oo))]),_:1},8,["class"])):G("v-if",!0),_(q)?(w(),Q(_(qe),{key:2,class:S([_(f).e("icon"),_(f).e("clear")]),onClick:be},{default:K(()=>[(w(),Q(pt(_(O))))]),_:1},8,["class"])):G("v-if",!0),_(M)?(w(),I("span",{key:3,class:S(_(f).e("count"))},[R("span",{class:S(_(f).e("count-inner"))},ve(_(E))+" / "+ve(_(s).maxlength),3)],2)):G("v-if",!0)],2),_(z)&&_(P)&&_($)?(w(),Q(_(qe),{key:0,class:S([_(f).e("icon"),_(f).e("validateIcon"),_(f).is("loading",_(z)==="validating")])},{default:K(()=>[(w(),Q(pt(_(P))))]),_:1},8,["class"])):G("v-if",!0)],2)):G("v-if",!0),G(" append slot "),B.$slots.append?(w(),I("div",{key:3,class:S(_(f).be("group","append"))},[ue(B.$slots,"append")],2)):G("v-if",!0)],64)):(w(),I(Fe,{key:1},[G(" textarea "),R("textarea",St({ref_key:"textarea",ref:m,class:_(h).e("inner")},_(s),{tabindex:B.tabindex,disabled:_(p),readonly:B.readonly,autocomplete:B.autocomplete,style:_(L),"aria-label":B.label,placeholder:B.placeholder,onCompositionstart:H,onCompositionupdate:ne,onCompositionend:ie,onInput:Se,onFocus:Me,onBlur:j,onChange:oe,onKeydown:xe}),null,16,W8),_(M)?(w(),I("span",{key:0,class:S(_(f).e("count"))},ve(_(E))+" / "+ve(_(s).maxlength),3)):G("v-if",!0)],64))],38)),[[ft,B.type!=="hidden"]])}}));var G8=_e(Y8,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Gn=rt(G8),Oy={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},X8=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),Z8=Le({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),cm="Thumb",J8=ee({name:cm,props:Z8,setup(e){const t=Ie(my),n=ke("scrollbar");t||Wt(cm,"can not inject scrollbar context");const o=A(),r=A(),a=A({}),i=A(!1);let l=!1,s=!1,c=dt?document.onselectstart:null;const d=C(()=>Oy[e.vertical?"vertical":"horizontal"]),u=C(()=>X8({size:e.size,move:e.move,bar:d.value})),p=C(()=>o.value[d.value.offset]**2/t.wrapElement[d.value.scrollSize]/e.ratio/r.value[d.value.offset]),f=x=>{var k;if(x.stopPropagation(),x.ctrlKey||[1,2].includes(x.button))return;(k=window.getSelection())==null||k.removeAllRanges(),b(x);const $=x.currentTarget;!$||(a.value[d.value.axis]=$[d.value.offset]-(x[d.value.client]-$.getBoundingClientRect()[d.value.direction]))},h=x=>{if(!r.value||!o.value||!t.wrapElement)return;const k=Math.abs(x.target.getBoundingClientRect()[d.value.direction]-x[d.value.client]),$=r.value[d.value.offset]/2,z=(k-$)*100*p.value/o.value[d.value.offset];t.wrapElement[d.value.scroll]=z*t.wrapElement[d.value.scrollSize]/100},b=x=>{x.stopImmediatePropagation(),l=!0,document.addEventListener("mousemove",m),document.addEventListener("mouseup",g),c=document.onselectstart,document.onselectstart=()=>!1},m=x=>{if(!o.value||!r.value||l===!1)return;const k=a.value[d.value.axis];if(!k)return;const $=(o.value.getBoundingClientRect()[d.value.direction]-x[d.value.client])*-1,z=r.value[d.value.offset]-k,P=($-z)*100*p.value/o.value[d.value.offset];t.wrapElement[d.value.scroll]=P*t.wrapElement[d.value.scrollSize]/100},g=()=>{l=!1,a.value[d.value.axis]=0,document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",g),T(),s&&(i.value=!1)},v=()=>{s=!1,i.value=!!e.size},y=()=>{s=!0,i.value=l};$t(()=>{T(),document.removeEventListener("mouseup",g)});const T=()=>{document.onselectstart!==c&&(document.onselectstart=c)};return Ht(Yt(t,"scrollbarElement"),"mousemove",v),Ht(Yt(t,"scrollbarElement"),"mouseleave",y),{ns:n,instance:o,thumb:r,bar:d,thumbStyle:u,visible:i,clickTrackHandler:h,clickThumbHandler:f}}});function Q8(e,t,n,o,r,a){return w(),Q(qt,{name:e.ns.b("fade")},{default:K(()=>[Ue(R("div",{ref:"instance",class:S([e.ns.e("bar"),e.ns.is(e.bar.key)]),onMousedown:t[1]||(t[1]=(...i)=>e.clickTrackHandler&&e.clickTrackHandler(...i))},[R("div",{ref:"thumb",class:S(e.ns.e("thumb")),style:Oe(e.thumbStyle),onMousedown:t[0]||(t[0]=(...i)=>e.clickThumbHandler&&e.clickThumbHandler(...i))},null,38)],34),[[ft,e.always||e.visible]])]),_:1},8,["name"])}var eI=_e(J8,[["render",Q8],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const tI=Le({always:{type:Boolean,default:!0},width:{type:String,default:""},height:{type:String,default:""},ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),nI=ee({components:{Thumb:eI},props:tI,setup(e){const t=A(0),n=A(0),o=4;return{handleScroll:a=>{if(a){const i=a.offsetHeight-o,l=a.offsetWidth-o;n.value=a.scrollTop*100/i*e.ratioY,t.value=a.scrollLeft*100/l*e.ratioX}},moveX:t,moveY:n}}});function oI(e,t,n,o,r,a){const i=le("thumb");return w(),I(Fe,null,[U(i,{move:e.moveX,ratio:e.ratioX,size:e.width,always:e.always},null,8,["move","ratio","size","always"]),U(i,{move:e.moveY,ratio:e.ratioY,size:e.height,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64)}var rI=_e(nI,[["render",oI],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const aI=Le({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Te([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:{type:Boolean,default:!1},minSize:{type:Number,default:20}}),iI={scroll:({scrollTop:e,scrollLeft:t})=>mt(e)&&mt(t)},lI=ee({name:"ElScrollbar",components:{Bar:rI},props:aI,emits:iI,setup(e,{emit:t}){const n=ke("scrollbar");let o,r;const a=A(),i=A(),l=A(),s=A("0"),c=A("0"),d=A(),u=A(0),p=A(0),f=A(1),h=A(1),b=4,m=C(()=>{const k={};return e.height&&(k.height=io(e.height)),e.maxHeight&&(k.maxHeight=io(e.maxHeight)),[e.wrapStyle,k]}),g=()=>{var k;i.value&&((k=d.value)==null||k.handleScroll(i.value),t("scroll",{scrollTop:i.value.scrollTop,scrollLeft:i.value.scrollLeft}))};function v(k,$){ut(k)?i.value.scrollTo(k):mt(k)&&mt($)&&i.value.scrollTo(k,$)}const y=k=>{!mt(k)||(i.value.scrollTop=k)},T=k=>{!mt(k)||(i.value.scrollLeft=k)},x=()=>{if(!i.value)return;const k=i.value.offsetHeight-b,$=i.value.offsetWidth-b,z=k**2/i.value.scrollHeight,P=$**2/i.value.scrollWidth,O=Math.max(z,e.minSize),D=Math.max(P,e.minSize);f.value=z/(k-z)/(O/(k-O)),h.value=P/($-P)/(D/($-D)),c.value=O+be.noresize,k=>{k?(o==null||o(),r==null||r()):({stop:o}=Ba(l,x),r=Ht("resize",x))},{immediate:!0}),ge(()=>[e.maxHeight,e.height],()=>{e.native||je(()=>{var k;x(),i.value&&((k=d.value)==null||k.handleScroll(i.value))})}),ot(my,vt({scrollbarElement:a,wrapElement:i})),et(()=>{e.native||je(()=>x())}),Un(()=>x()),{ns:n,scrollbar$:a,wrap$:i,resize$:l,barRef:d,moveX:u,moveY:p,ratioX:h,ratioY:f,sizeWidth:s,sizeHeight:c,style:m,update:x,handleScroll:g,scrollTo:v,setScrollTop:y,setScrollLeft:T}}});function sI(e,t,n,o,r,a){const i=le("bar");return w(),I("div",{ref:"scrollbar$",class:S(e.ns.b())},[R("div",{ref:"wrap$",class:S([e.wrapClass,e.ns.e("wrap"),{[e.ns.em("wrap","hidden-default")]:!e.native}]),style:Oe(e.style),onScroll:t[0]||(t[0]=(...l)=>e.handleScroll&&e.handleScroll(...l))},[(w(),Q(pt(e.tag),{ref:"resize$",class:S([e.ns.e("view"),e.viewClass]),style:Oe(e.viewStyle)},{default:K(()=>[ue(e.$slots,"default")]),_:3},8,["class","style"]))],38),e.native?G("v-if",!0):(w(),Q(i,{key:0,ref:"barRef",height:e.sizeHeight,width:e.sizeWidth,always:e.always,"ratio-x":e.ratioX,"ratio-y":e.ratioY},null,8,["height","width","always","ratio-x","ratio-y"]))],2)}var cI=_e(lI,[["render",sI],["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const qo=rt(cI),dI={name:"ElPopperRoot",inheritAttrs:!1},uI=ee(ze(he({},dI),{setup(e,{expose:t}){const n=A(),o=A(),r=A(),a=A(),i={triggerRef:n,popperInstanceRef:o,contentRef:r,referenceRef:a};return t(i),ot(dp,i),(l,s)=>ue(l.$slots,"default")}}));var pI=_e(uI,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const Fy=Le({arrowOffset:{type:Number,default:5}}),fI={name:"ElPopperArrow",inheritAttrs:!1},hI=ee(ze(he({},fI),{props:Fy,setup(e,{expose:t}){const n=e,o=ke("popper"),{arrowOffset:r,arrowRef:a}=Ie(by,void 0);return ge(()=>n.arrowOffset,i=>{r.value=i}),$t(()=>{a.value=void 0}),t({arrowRef:a}),(i,l)=>(w(),I("span",{ref_key:"arrowRef",ref:a,class:S(_(o).e("arrow")),"data-popper-arrow":""},null,2))}}));var mI=_e(hI,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const gI="ElOnlyChild",bI=ee({name:gI,setup(e,{slots:t,attrs:n}){var o;const r=Ie($y),a=n8((o=r==null?void 0:r.setForwardRef)!=null?o:wt);return()=>{var i;const l=(i=t.default)==null?void 0:i.call(t,n);if(!l||l.length>1)return null;const s=Dy(l);return s?Ue(No(s,n),[[a]]):null}}});function Dy(e){if(!e)return null;const t=e;for(const n of t){if(ut(n))switch(n.type){case dn:continue;case tl:return Rc(n);case"svg":return Rc(n);case Fe:return Dy(n.children);default:return n}return Rc(n)}return null}function Rc(e){return U("span",{class:"el-only-child__content"},[e])}const Ly=Le({virtualRef:{type:Te(Object)},virtualTriggering:Boolean,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,onBlur:Function,onContextmenu:Function,id:String,open:Boolean}),vI={name:"ElPopperTrigger",inheritAttrs:!1},yI=ee(ze(he({},vI),{props:Ly,setup(e,{expose:t}){const n=e,{triggerRef:o}=Ie(dp,void 0);return t8(o),et(()=>{ge(()=>n.virtualRef,r=>{r&&(o.value=no(r))},{immediate:!0}),ge(()=>o.value,(r,a)=>{Hr(r)&&["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(i=>{var l;const s=n[i];s&&(r.addEventListener(i.slice(2).toLowerCase(),s),(l=a==null?void 0:a.removeEventListener)==null||l.call(a,i.slice(2).toLowerCase(),s))})},{immediate:!0})}),t({triggerRef:o}),(r,a)=>r.virtualTriggering?G("v-if",!0):(w(),Q(_(bI),St({key:0},r.$attrs,{"aria-describedby":r.open?r.id:void 0}),{default:K(()=>[ue(r.$slots,"default")]),_:3},16,["aria-describedby"]))}}));var _I=_e(yI,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]),mn="top",Kn="bottom",Wn="right",gn="left",gp="auto",sl=[mn,Kn,Wn,gn],$a="start",Hi="end",wI="clippingParents",Vy="viewport",ti="popper",xI="reference",dm=sl.reduce(function(e,t){return e.concat([t+"-"+$a,t+"-"+Hi])},[]),bp=[].concat(sl,[gp]).reduce(function(e,t){return e.concat([t,t+"-"+$a,t+"-"+Hi])},[]),kI="beforeRead",TI="read",CI="afterRead",SI="beforeMain",$I="main",AI="afterMain",EI="beforeWrite",zI="write",II="afterWrite",NI=[kI,TI,CI,SI,$I,AI,EI,zI,II];function _o(e){return e?(e.nodeName||"").toLowerCase():null}function po(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Aa(e){var t=po(e).Element;return e instanceof t||e instanceof Element}function Ln(e){var t=po(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function vp(e){if(typeof ShadowRoot=="undefined")return!1;var t=po(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function MI(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},a=t.elements[n];!Ln(a)||!_o(a)||(Object.assign(a.style,o),Object.keys(r).forEach(function(i){var l=r[i];l===!1?a.removeAttribute(i):a.setAttribute(i,l===!0?"":l)}))})}function RI(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var r=t.elements[o],a=t.attributes[o]||{},i=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),l=i.reduce(function(s,c){return s[c]="",s},{});!Ln(r)||!_o(r)||(Object.assign(r.style,l),Object.keys(a).forEach(function(s){r.removeAttribute(s)}))})}}var PI={name:"applyStyles",enabled:!0,phase:"write",fn:MI,effect:RI,requires:["computeStyles"]};function vo(e){return e.split("-")[0]}var Dr=Math.max,Es=Math.min,Ea=Math.round;function za(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(Ln(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(o=Ea(n.width)/i||1),a>0&&(r=Ea(n.height)/a||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function yp(e){var t=za(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function By(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vp(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Do(e){return po(e).getComputedStyle(e)}function OI(e){return["table","td","th"].indexOf(_o(e))>=0}function mr(e){return((Aa(e)?e.ownerDocument:e.document)||window.document).documentElement}function pc(e){return _o(e)==="html"?e:e.assignedSlot||e.parentNode||(vp(e)?e.host:null)||mr(e)}function um(e){return!Ln(e)||Do(e).position==="fixed"?null:e.offsetParent}function FI(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Ln(e)){var o=Do(e);if(o.position==="fixed")return null}var r=pc(e);for(vp(r)&&(r=r.host);Ln(r)&&["html","body"].indexOf(_o(r))<0;){var a=Do(r);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return r;r=r.parentNode}return null}function cl(e){for(var t=po(e),n=um(e);n&&OI(n)&&Do(n).position==="static";)n=um(n);return n&&(_o(n)==="html"||_o(n)==="body"&&Do(n).position==="static")?t:n||FI(e)||t}function _p(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function yi(e,t,n){return Dr(e,Es(t,n))}function DI(e,t,n){var o=yi(e,t,n);return o>n?n:o}function jy(){return{top:0,right:0,bottom:0,left:0}}function Hy(e){return Object.assign({},jy(),e)}function qy(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var LI=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Hy(typeof t!="number"?t:qy(t,sl))};function VI(e){var t,n=e.state,o=e.name,r=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=vo(n.placement),s=_p(l),c=[gn,Wn].indexOf(l)>=0,d=c?"height":"width";if(!(!a||!i)){var u=LI(r.padding,n),p=yp(a),f=s==="y"?mn:gn,h=s==="y"?Kn:Wn,b=n.rects.reference[d]+n.rects.reference[s]-i[s]-n.rects.popper[d],m=i[s]-n.rects.reference[s],g=cl(a),v=g?s==="y"?g.clientHeight||0:g.clientWidth||0:0,y=b/2-m/2,T=u[f],x=v-p[d]-u[h],k=v/2-p[d]/2+y,$=yi(T,k,x),z=s;n.modifiersData[o]=(t={},t[z]=$,t.centerOffset=$-k,t)}}function BI(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||!By(t.elements.popper,r)||(t.elements.arrow=r))}var jI={name:"arrow",enabled:!0,phase:"main",fn:VI,effect:BI,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ia(e){return e.split("-")[1]}var HI={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qI(e){var t=e.x,n=e.y,o=window,r=o.devicePixelRatio||1;return{x:Ea(t*r)/r||0,y:Ea(n*r)/r||0}}function pm(e){var t,n=e.popper,o=e.popperRect,r=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,p=i.x,f=p===void 0?0:p,h=i.y,b=h===void 0?0:h,m=typeof d=="function"?d({x:f,y:b}):{x:f,y:b};f=m.x,b=m.y;var g=i.hasOwnProperty("x"),v=i.hasOwnProperty("y"),y=gn,T=mn,x=window;if(c){var k=cl(n),$="clientHeight",z="clientWidth";if(k===po(n)&&(k=mr(n),Do(k).position!=="static"&&l==="absolute"&&($="scrollHeight",z="scrollWidth")),k=k,r===mn||(r===gn||r===Wn)&&a===Hi){T=Kn;var P=u&&k===x&&x.visualViewport?x.visualViewport.height:k[$];b-=P-o.height,b*=s?1:-1}if(r===gn||(r===mn||r===Kn)&&a===Hi){y=Wn;var O=u&&k===x&&x.visualViewport?x.visualViewport.width:k[z];f-=O-o.width,f*=s?1:-1}}var D=Object.assign({position:l},c&&HI),L=d===!0?qI({x:f,y:b}):{x:f,y:b};if(f=L.x,b=L.y,s){var F;return Object.assign({},D,(F={},F[T]=v?"0":"",F[y]=g?"0":"",F.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+b+"px)":"translate3d("+f+"px, "+b+"px, 0)",F))}return Object.assign({},D,(t={},t[T]=v?b+"px":"",t[y]=g?f+"px":"",t.transform="",t))}function KI(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,a=n.adaptive,i=a===void 0?!0:a,l=n.roundOffsets,s=l===void 0?!0:l,c={placement:vo(t.placement),variation:Ia(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,pm(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,pm(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var WI={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:KI,data:{}},Cl={passive:!0};function UI(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,a=r===void 0?!0:r,i=o.resize,l=i===void 0?!0:i,s=po(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(d){d.addEventListener("scroll",n.update,Cl)}),l&&s.addEventListener("resize",n.update,Cl),function(){a&&c.forEach(function(d){d.removeEventListener("scroll",n.update,Cl)}),l&&s.removeEventListener("resize",n.update,Cl)}}var YI={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:UI,data:{}},GI={left:"right",right:"left",bottom:"top",top:"bottom"};function jl(e){return e.replace(/left|right|bottom|top/g,function(t){return GI[t]})}var XI={start:"end",end:"start"};function fm(e){return e.replace(/start|end/g,function(t){return XI[t]})}function wp(e){var t=po(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function xp(e){return za(mr(e)).left+wp(e).scrollLeft}function ZI(e){var t=po(e),n=mr(e),o=t.visualViewport,r=n.clientWidth,a=n.clientHeight,i=0,l=0;return o&&(r=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=o.offsetLeft,l=o.offsetTop)),{width:r,height:a,x:i+xp(e),y:l}}function JI(e){var t,n=mr(e),o=wp(e),r=(t=e.ownerDocument)==null?void 0:t.body,a=Dr(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Dr(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+xp(e),s=-o.scrollTop;return Do(r||n).direction==="rtl"&&(l+=Dr(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}function kp(e){var t=Do(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function Ky(e){return["html","body","#document"].indexOf(_o(e))>=0?e.ownerDocument.body:Ln(e)&&kp(e)?e:Ky(pc(e))}function _i(e,t){var n;t===void 0&&(t=[]);var o=Ky(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),a=po(o),i=r?[a].concat(a.visualViewport||[],kp(o)?o:[]):o,l=t.concat(i);return r?l:l.concat(_i(pc(i)))}function Rd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function QI(e){var t=za(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function hm(e,t){return t===Vy?Rd(ZI(e)):Aa(t)?QI(t):Rd(JI(mr(e)))}function eN(e){var t=_i(pc(e)),n=["absolute","fixed"].indexOf(Do(e).position)>=0,o=n&&Ln(e)?cl(e):e;return Aa(o)?t.filter(function(r){return Aa(r)&&By(r,o)&&_o(r)!=="body"}):[]}function tN(e,t,n){var o=t==="clippingParents"?eN(e):[].concat(t),r=[].concat(o,[n]),a=r[0],i=r.reduce(function(l,s){var c=hm(e,s);return l.top=Dr(c.top,l.top),l.right=Es(c.right,l.right),l.bottom=Es(c.bottom,l.bottom),l.left=Dr(c.left,l.left),l},hm(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Wy(e){var t=e.reference,n=e.element,o=e.placement,r=o?vo(o):null,a=o?Ia(o):null,i=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,s;switch(r){case mn:s={x:i,y:t.y-n.height};break;case Kn:s={x:i,y:t.y+t.height};break;case Wn:s={x:t.x+t.width,y:l};break;case gn:s={x:t.x-n.width,y:l};break;default:s={x:t.x,y:t.y}}var c=r?_p(r):null;if(c!=null){var d=c==="y"?"height":"width";switch(a){case $a:s[c]=s[c]-(t[d]/2-n[d]/2);break;case Hi:s[c]=s[c]+(t[d]/2-n[d]/2);break}}return s}function qi(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,a=n.boundary,i=a===void 0?wI:a,l=n.rootBoundary,s=l===void 0?Vy:l,c=n.elementContext,d=c===void 0?ti:c,u=n.altBoundary,p=u===void 0?!1:u,f=n.padding,h=f===void 0?0:f,b=Hy(typeof h!="number"?h:qy(h,sl)),m=d===ti?xI:ti,g=e.rects.popper,v=e.elements[p?m:d],y=tN(Aa(v)?v:v.contextElement||mr(e.elements.popper),i,s),T=za(e.elements.reference),x=Wy({reference:T,element:g,strategy:"absolute",placement:r}),k=Rd(Object.assign({},g,x)),$=d===ti?k:T,z={top:y.top-$.top+b.top,bottom:$.bottom-y.bottom+b.bottom,left:y.left-$.left+b.left,right:$.right-y.right+b.right},P=e.modifiersData.offset;if(d===ti&&P){var O=P[r];Object.keys(z).forEach(function(D){var L=[Wn,Kn].indexOf(D)>=0?1:-1,F=[mn,Kn].indexOf(D)>=0?"y":"x";z[D]+=O[F]*L})}return z}function nN(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=s===void 0?bp:s,d=Ia(o),u=d?l?dm:dm.filter(function(h){return Ia(h)===d}):sl,p=u.filter(function(h){return c.indexOf(h)>=0});p.length===0&&(p=u);var f=p.reduce(function(h,b){return h[b]=qi(e,{placement:b,boundary:r,rootBoundary:a,padding:i})[vo(b)],h},{});return Object.keys(f).sort(function(h,b){return f[h]-f[b]})}function oN(e){if(vo(e)===gp)return[];var t=jl(e);return[fm(e),t,fm(t)]}function rN(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,a=r===void 0?!0:r,i=n.altAxis,l=i===void 0?!0:i,s=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=f===void 0?!0:f,b=n.allowedAutoPlacements,m=t.options.placement,g=vo(m),v=g===m,y=s||(v||!h?[jl(m)]:oN(m)),T=[m].concat(y).reduce(function(Se,oe){return Se.concat(vo(oe)===gp?nN(t,{placement:oe,boundary:d,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:b}):oe)},[]),x=t.rects.reference,k=t.rects.popper,$=new Map,z=!0,P=T[0],O=0;O=0,q=V?"width":"height",M=qi(t,{placement:D,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),E=V?F?Wn:gn:F?Kn:mn;x[q]>k[q]&&(E=jl(E));var N=jl(E),W=[];if(a&&W.push(M[L]<=0),l&&W.push(M[E]<=0,M[N]<=0),W.every(function(Se){return Se})){P=D,z=!1;break}$.set(D,W)}if(z)for(var Y=h?3:1,J=function(oe){var H=T.find(function(ne){var ie=$.get(ne);if(ie)return ie.slice(0,oe).every(function(be){return be})});if(H)return P=H,"break"},Z=Y;Z>0;Z--){var se=J(Z);if(se==="break")break}t.placement!==P&&(t.modifiersData[o]._skip=!0,t.placement=P,t.reset=!0)}}var aN={name:"flip",enabled:!0,phase:"main",fn:rN,requiresIfExists:["offset"],data:{_skip:!1}};function mm(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function gm(e){return[mn,Wn,Kn,gn].some(function(t){return e[t]>=0})}function iN(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,i=qi(t,{elementContext:"reference"}),l=qi(t,{altBoundary:!0}),s=mm(i,o),c=mm(l,r,a),d=gm(s),u=gm(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}var lN={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:iN};function sN(e,t,n){var o=vo(e),r=[gn,mn].indexOf(o)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*r,[gn,Wn].indexOf(o)>=0?{x:l,y:i}:{x:i,y:l}}function cN(e){var t=e.state,n=e.options,o=e.name,r=n.offset,a=r===void 0?[0,0]:r,i=bp.reduce(function(d,u){return d[u]=sN(u,t.rects,a),d},{}),l=i[t.placement],s=l.x,c=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=i}var dN={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:cN};function uN(e){var t=e.state,n=e.name;t.modifiersData[n]=Wy({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var pN={name:"popperOffsets",enabled:!0,phase:"read",fn:uN,data:{}};function fN(e){return e==="x"?"y":"x"}function hN(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,a=r===void 0?!0:r,i=n.altAxis,l=i===void 0?!1:i,s=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,p=n.tether,f=p===void 0?!0:p,h=n.tetherOffset,b=h===void 0?0:h,m=qi(t,{boundary:s,rootBoundary:c,padding:u,altBoundary:d}),g=vo(t.placement),v=Ia(t.placement),y=!v,T=_p(g),x=fN(T),k=t.modifiersData.popperOffsets,$=t.rects.reference,z=t.rects.popper,P=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,O=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(!!k){if(a){var F,V=T==="y"?mn:gn,q=T==="y"?Kn:Wn,M=T==="y"?"height":"width",E=k[T],N=E+m[V],W=E-m[q],Y=f?-z[M]/2:0,J=v===$a?$[M]:z[M],Z=v===$a?-z[M]:-$[M],se=t.elements.arrow,Se=f&&se?yp(se):{width:0,height:0},oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jy(),H=oe[V],ne=oe[q],ie=yi(0,$[M],Se[M]),be=y?$[M]/2-Y-ie-H-O.mainAxis:J-ie-H-O.mainAxis,$e=y?-$[M]/2+Y+ie+ne+O.mainAxis:Z+ie+ne+O.mainAxis,Ne=t.elements.arrow&&cl(t.elements.arrow),Me=Ne?T==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,j=(F=D==null?void 0:D[T])!=null?F:0,X=E+be-j-Me,de=E+$e-j,xe=yi(f?Es(N,X):N,E,f?Dr(W,de):W);k[T]=xe,L[T]=xe-E}if(l){var we,Ae=T==="x"?mn:gn,ce=T==="x"?Kn:Wn,ae=k[x],te=x==="y"?"height":"width",pe=ae+m[Ae],De=ae-m[ce],B=[mn,gn].indexOf(g)!==-1,me=(we=D==null?void 0:D[x])!=null?we:0,Be=B?pe:ae-$[te]-z[te]-me+O.altAxis,Ze=B?ae+$[te]+z[te]-me-O.altAxis:De,Ve=f&&B?DI(Be,ae,Ze):yi(f?Be:pe,ae,f?Ze:De);k[x]=Ve,L[x]=Ve-ae}t.modifiersData[o]=L}}var mN={name:"preventOverflow",enabled:!0,phase:"main",fn:hN,requiresIfExists:["offset"]};function gN(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function bN(e){return e===po(e)||!Ln(e)?wp(e):gN(e)}function vN(e){var t=e.getBoundingClientRect(),n=Ea(t.width)/e.offsetWidth||1,o=Ea(t.height)/e.offsetHeight||1;return n!==1||o!==1}function yN(e,t,n){n===void 0&&(n=!1);var o=Ln(t),r=Ln(t)&&vN(t),a=mr(t),i=za(e,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&((_o(t)!=="body"||kp(a))&&(l=bN(t)),Ln(t)?(s=za(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=xp(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function _N(e){var t=new Map,n=new Set,o=[];e.forEach(function(a){t.set(a.name,a)});function r(a){n.add(a.name);var i=[].concat(a.requires||[],a.requiresIfExists||[]);i.forEach(function(l){if(!n.has(l)){var s=t.get(l);s&&r(s)}}),o.push(a)}return e.forEach(function(a){n.has(a.name)||r(a)}),o}function wN(e){var t=_N(e);return NI.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function xN(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function kN(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var bm={placement:"bottom",modifiers:[],strategy:"absolute"};function vm(){for(var e=arguments.length,t=new Array(e),n=0;n[]},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:bp,default:"bottom"},popperOptions:{type:Te(Object),default:()=>({})},strategy:{type:String,values:SN,default:"absolute"}}),Yy=Le(ze(he({},$N),{style:{type:Te([String,Array,Object])},className:{type:Te([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,popperClass:{type:Te([String,Array,Object])},popperStyle:{type:Te([String,Array,Object])},referenceEl:{type:Te(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},zIndex:Number})),ym=(e,t)=>{const{placement:n,strategy:o,popperOptions:r}=e,a=ze(he({placement:n,strategy:o},r),{modifiers:EN(e)});return zN(a,t),IN(a,r==null?void 0:r.modifiers),a},AN=e=>{if(!!dt)return no(e)};function EN(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,t!=null?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:o!=null?o:[]}},{name:"computeStyles",options:{gpuAcceleration:n,adaptive:n}}]}function zN(e,{arrowEl:t,arrowOffset:n}){e.modifiers.push({name:"arrow",options:{element:t,padding:n!=null?n:5}})}function IN(e,t){t&&(e.modifiers=[...e.modifiers,...t!=null?t:[]])}const NN={name:"ElPopperContent"},MN=ee(ze(he({},NN),{props:Yy,emits:["mouseenter","mouseleave"],setup(e,{expose:t}){const n=e,{popperInstanceRef:o,contentRef:r,triggerRef:a}=Ie(dp,void 0),{nextZIndex:i}=jo(),l=ke("popper"),s=A(),c=A(),d=A();ot(by,{arrowRef:c,arrowOffset:d});const u=A(n.zIndex||i()),p=C(()=>AN(n.referenceEl)||_(a)),f=C(()=>[{zIndex:_(u)},n.popperStyle]),h=C(()=>[l.b(),l.is("pure",n.pure),l.is(n.effect),n.popperClass]),b=({referenceEl:v,popperContentEl:y,arrowEl:T})=>{const x=ym(n,{arrowEl:T,arrowOffset:_(d)});return Uy(v,y,x)},m=()=>{var v;(v=_(o))==null||v.update(),u.value=n.zIndex||u.value||i()},g=()=>{var v,y;const T={name:"eventListeners",enabled:n.visible};(y=(v=_(o))==null?void 0:v.setOptions)==null||y.call(v,x=>ze(he({},x),{modifiers:[...x.modifiers||[],T]})),m()};return et(()=>{let v;ge(p,y=>{var T;v==null||v();const x=_(o);if((T=x==null?void 0:x.destroy)==null||T.call(x),y){const k=_(s);r.value=k,o.value=b({referenceEl:y,popperContentEl:k,arrowEl:_(c)}),v=ge(()=>y.getBoundingClientRect(),()=>m(),{immediate:!0})}else o.value=void 0},{immediate:!0}),ge(()=>n.visible,g,{immediate:!0}),ge(()=>ym(n,{arrowEl:_(c),arrowOffset:_(d)}),y=>{var T;return(T=o.value)==null?void 0:T.setOptions(y)})}),t({popperContentRef:s,popperInstanceRef:o,updatePopper:m,contentStyle:f}),(v,y)=>(w(),I("div",{ref_key:"popperContentRef",ref:s,style:Oe(_(f)),class:S(_(h)),role:"tooltip",onMouseenter:y[0]||(y[0]=T=>v.$emit("mouseenter",T)),onMouseleave:y[1]||(y[1]=T=>v.$emit("mouseleave",T))},[ue(v.$slots,"default")],38))}}));var RN=_e(MN,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const PN={LIGHT:"light",DARK:"dark"};Le({autoClose:{type:Number,default:0},cutoff:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}});function Wa(e,t){const n=nt(),o=C(()=>on(n.props[t])?n.props[t]:n.props.teleported);return il({scope:e,from:t,replacement:"teleported",version:"2.1.0",ref:"https://element-plus.org/en-US/component/tooltip.html#attributes"},C(()=>on(n.props[t]))),{compatTeleported:o}}const Gy=rt(pI),ON=ee({name:"ElVisuallyHidden",props:{style:{type:[String,Object,Array]}},setup(e){return{computedStyle:C(()=>[e.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}])}}});function FN(e,t,n,o,r,a){return w(),I("span",St(e.$attrs,{style:e.computedStyle}),[ue(e.$slots,"default")],16)}var Xy=_e(ON,[["render",FN],["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const tn=Le(ze(he(he({},Qz),Yy),{appendTo:{type:Te([String,Object]),default:Sy},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Te(Boolean),default:null},transition:{type:String,default:"el-fade-in-linear"},teleported:{type:Boolean,default:!0},disabled:{type:Boolean}})),Ki=Le(ze(he({},Ly),{disabled:Boolean,trigger:{type:Te([String,Array]),default:"hover"}})),DN=Le({openDelay:{type:Number},visibleArrow:{type:Boolean,default:void 0},hideAfter:{type:Number,default:200},showArrow:{type:Boolean,default:!0}}),fc=Symbol("elTooltip"),LN=ee({name:"ElTooltipContent",components:{ElPopperContent:RN,ElVisuallyHidden:Xy},inheritAttrs:!1,props:tn,setup(e){const t=A(null),n=A(!1),o=A(!1),r=A(!1),a=A(!1),{controlled:i,id:l,open:s,trigger:c,onClose:d,onOpen:u,onShow:p,onHide:f,onBeforeShow:h,onBeforeHide:b}=Ie(fc,void 0),m=C(()=>e.persistent);$t(()=>{a.value=!0});const g=C(()=>_(m)?!0:_(s)),v=C(()=>e.disabled?!1:_(s)),y=C(()=>{var F;return(F=e.style)!=null?F:{}}),T=C(()=>!_(s));Xz(d);const x=()=>{f()},k=()=>{if(_(i))return!0},$=Ot(k,()=>{e.enterable&&_(c)==="hover"&&u()}),z=Ot(k,()=>{_(c)==="hover"&&d()}),P=()=>{var F,V;(V=(F=t.value)==null?void 0:F.updatePopper)==null||V.call(F),h==null||h()},O=()=>{b==null||b()},D=()=>{p()};let L;return ge(()=>_(s),F=>{F?L=Cs(C(()=>{var V;return(V=t.value)==null?void 0:V.popperContentRef}),()=>{if(_(i))return;_(c)!=="hover"&&d()}):L==null||L()},{flush:"post"}),{ariaHidden:T,entering:o,leaving:r,id:l,intermediateOpen:n,contentStyle:y,contentRef:t,destroyed:a,shouldRender:g,shouldShow:v,open:s,onAfterShow:D,onBeforeEnter:P,onBeforeLeave:O,onContentEnter:$,onContentLeave:z,onTransitionLeave:x}}});function VN(e,t,n,o,r,a){const i=le("el-visually-hidden"),l=le("el-popper-content");return w(),Q(el,{disabled:!e.teleported,to:e.appendTo},[U(qt,{name:e.transition,onAfterLeave:e.onTransitionLeave,onBeforeEnter:e.onBeforeEnter,onAfterEnter:e.onAfterShow,onBeforeLeave:e.onBeforeLeave},{default:K(()=>[e.shouldRender?Ue((w(),Q(l,St({key:0,ref:"contentRef"},e.$attrs,{"aria-hidden":e.ariaHidden,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,e.contentStyle],"reference-el":e.referenceEl,visible:e.shouldShow,"z-index":e.zIndex,onMouseenter:e.onContentEnter,onMouseleave:e.onContentLeave}),{default:K(()=>[G(" Workaround bug #6378 "),e.destroyed?G("v-if",!0):(w(),I(Fe,{key:0},[ue(e.$slots,"default"),U(i,{id:e.id,role:"tooltip"},{default:K(()=>[ct(ve(e.ariaLabel),1)]),_:1},8,["id"])],64))]),_:3},16,["aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","visible","z-index","onMouseenter","onMouseleave"])),[[ft,e.shouldShow]]):G("v-if",!0)]),_:3},8,["name","onAfterLeave","onBeforeEnter","onAfterEnter","onBeforeLeave"])],8,["disabled","to"])}var BN=_e(LN,[["render",VN],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const jN=(e,t)=>Ye(e)?e.includes(t):e===t,ea=(e,t,n)=>o=>{jN(_(e),t)&&n(o)},HN=ee({name:"ElTooltipTrigger",components:{ElPopperTrigger:_I},props:Ki,setup(e){const t=ke("tooltip"),{controlled:n,id:o,open:r,onOpen:a,onClose:i,onToggle:l}=Ie(fc,void 0),s=A(null),c=()=>{if(_(n)||e.disabled)return!0},d=Yt(e,"trigger"),u=Ot(c,ea(d,"hover",a)),p=Ot(c,ea(d,"hover",i)),f=Ot(c,ea(d,"click",v=>{v.button===0&&l(v)})),h=Ot(c,ea(d,"focus",a)),b=Ot(c,ea(d,"focus",i)),m=Ot(c,ea(d,"contextmenu",v=>{v.preventDefault(),l(v)})),g=Ot(c,v=>{const{code:y}=v;(y===Pe.enter||y===Pe.space)&&l(v)});return{onBlur:b,onContextMenu:m,onFocus:h,onMouseenter:u,onMouseleave:p,onClick:f,onKeydown:g,open:r,id:o,triggerRef:s,ns:t}}});function qN(e,t,n,o,r,a){const i=le("el-popper-trigger");return w(),Q(i,{id:e.id,"virtual-ref":e.virtualRef,open:e.open,"virtual-triggering":e.virtualTriggering,class:S(e.ns.e("trigger")),onBlur:e.onBlur,onClick:e.onClick,onContextmenu:e.onContextMenu,onFocus:e.onFocus,onMouseenter:e.onMouseenter,onMouseleave:e.onMouseleave,onKeydown:e.onKeydown},{default:K(()=>[ue(e.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"])}var KN=_e(HN,[["render",qN],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const{useModelToggleProps:WN,useModelToggle:UN,useModelToggleEmits:YN}=qz("visible"),GN=ee({name:"ElTooltip",components:{ElPopper:Gy,ElPopperArrow:mI,ElTooltipContent:BN,ElTooltipTrigger:KN},props:he(he(he(he(he({},WN),tn),Ki),Fy),DN),emits:[...YN,"before-show","before-hide","show","hide"],setup(e,{emit:t}){Jz();const n=C(()=>(Cn(e.openDelay),e.openDelay||e.showAfter)),o=C(()=>(Cn(e.visibleArrow),on(e.visibleArrow)?e.visibleArrow:e.showArrow)),r=pp(),a=A(null),i=()=>{var f;const h=_(a);h&&((f=h.popperInstanceRef)==null||f.update())},l=A(!1),{show:s,hide:c}=UN({indicator:l}),{onOpen:d,onClose:u}=e8({showAfter:n,hideAfter:Yt(e,"hideAfter"),open:s,close:c}),p=C(()=>on(e.visible));return ot(fc,{controlled:p,id:r,open:Zi(l),trigger:Yt(e,"trigger"),onOpen:d,onClose:u,onToggle:()=>{_(l)?u():d()},onShow:()=>{t("show")},onHide:()=>{t("hide")},onBeforeShow:()=>{t("before-show")},onBeforeHide:()=>{t("before-hide")},updatePopper:i}),ge(()=>e.disabled,f=>{f&&l.value&&(l.value=!1)}),{compatShowAfter:n,compatShowArrow:o,popperRef:a,open:l,hide:c,updatePopper:i,onOpen:d,onClose:u}}}),XN=["innerHTML"],ZN={key:1};function JN(e,t,n,o,r,a){const i=le("el-tooltip-trigger"),l=le("el-popper-arrow"),s=le("el-tooltip-content"),c=le("el-popper");return w(),Q(c,{ref:"popperRef"},{default:K(()=>[U(i,{disabled:e.disabled,trigger:e.trigger,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:K(()=>[e.$slots.default?ue(e.$slots,"default",{key:0}):G("v-if",!0)]),_:3},8,["disabled","trigger","virtual-ref","virtual-triggering"]),U(s,{"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"show-after":e.compatShowAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"z-index":e.zIndex,"append-to":e.appendTo},{default:K(()=>[ue(e.$slots,"content",{},()=>[e.rawContent?(w(),I("span",{key:0,innerHTML:e.content},null,8,XN)):(w(),I("span",ZN,ve(e.content),1))]),e.compatShowArrow?(w(),Q(l,{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):G("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","show-after","strategy","teleported","transition","z-index","append-to"])]),_:3},512)}var QN=_e(GN,[["render",JN],["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const vn=rt(QN),eM=Le({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:Te(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:Te([Function,Array]),default:wt},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},popperAppendToBody:{type:Boolean,default:void 0},teleported:tn.teleported,highlightFirstItem:{type:Boolean,default:!1}}),tM={[tt]:e=>Qe(e),input:e=>Qe(e),change:e=>Qe(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>ut(e)},nM=["aria-expanded","aria-owns"],oM={key:0},rM=["id","aria-selected","onClick"],aM={name:"ElAutocomplete",inheritAttrs:!1},iM=ee(ze(he({},aM),{props:eM,emits:tM,setup(e,{expose:t,emit:n}){const o=e,r="ElAutocomplete",a=ke("autocomplete"),{compatTeleported:i}=Wa(r,"popperAppendToBody");let l=!1;const s=cp(),c=Rb(),d=A([]),u=A(-1),p=A(""),f=A(!1),h=A(!1),b=A(!1),m=A(),g=A(),v=A(),y=A(),T=C(()=>a.b(String(al()))),x=C(()=>c.style),k=C(()=>(Ye(d.value)&&d.value.length>0||b.value)&&f.value),$=C(()=>!o.hideLoading&&b.value),z=()=>{je(()=>{k.value&&(p.value=`${m.value.$el.offsetWidth}px`)})},O=bn(J=>{if(h.value)return;b.value=!0;const Z=se=>{b.value=!1,!h.value&&(Ye(se)?(d.value=se,u.value=o.highlightFirstItem?0:-1):Wt(r,"autocomplete suggestions must be an array"))};if(Ye(o.fetchSuggestions))Z(o.fetchSuggestions);else{const se=o.fetchSuggestions(J,Z);Ye(se)?Z(se):Vr(se)&&se.then(Z)}},o.debounce),D=J=>{const Z=Boolean(J);if(n("input",J),n(tt,J),h.value=!1,f.value||(f.value=l&&Z),!o.triggerOnFocus&&!J){h.value=!0,d.value=[];return}l&&Z&&(l=!1),O(J)},L=J=>{n("change",J)},F=J=>{f.value=!0,n("focus",J),o.triggerOnFocus&&O(String(o.modelValue))},V=J=>{n("blur",J)},q=()=>{f.value=!1,l=!0,n(tt,""),n("clear")},M=()=>{k.value&&u.value>=0&&u.value{d.value=[],u.value=-1}))},E=()=>{f.value=!1},N=()=>{var J;(J=m.value)==null||J.focus()},W=J=>{n("input",J[o.valueKey]),n(tt,J[o.valueKey]),n("select",J),je(()=>{d.value=[],u.value=-1})},Y=J=>{if(!k.value||b.value)return;if(J<0){u.value=-1;return}J>=d.value.length&&(J=d.value.length-1);const Z=g.value.querySelector(`.${a.be("suggestion","wrap")}`),Se=Z.querySelectorAll(`.${a.be("suggestion","list")} li`)[J],oe=Z.scrollTop,{offsetTop:H,scrollHeight:ne}=Se;H+ne>oe+Z.clientHeight&&(Z.scrollTop+=ne),H{m.value.ref.setAttribute("role","textbox"),m.value.ref.setAttribute("aria-autocomplete","list"),m.value.ref.setAttribute("aria-controls","id"),m.value.ref.setAttribute("aria-activedescendant",`${T.value}-item-${u.value}`)}),t({highlightedIndex:u,activated:f,loading:b,inputRef:m,popperRef:v,suggestions:d,handleSelect:W,handleKeyEnter:M,focus:N,close:E,highlight:Y}),(J,Z)=>(w(),Q(_(vn),{ref_key:"popperRef",ref:v,visible:_(k),"onUpdate:visible":Z[2]||(Z[2]=se=>Vt(k)?k.value=se:null),placement:J.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[_(a).e("popper"),J.popperClass],teleported:_(i),"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${_(a).namespace.value}-zoom-in-top`,persistent:"",onBeforeShow:z},{content:K(()=>[R("div",{ref_key:"regionRef",ref:g,class:S([_(a).b("suggestion"),_(a).is("loading",_($))]),style:Oe({minWidth:p.value,outline:"none"}),role:"region"},[U(_(qo),{id:_(T),tag:"ul","wrap-class":_(a).be("suggestion","wrap"),"view-class":_(a).be("suggestion","list"),role:"listbox"},{default:K(()=>[_($)?(w(),I("li",oM,[U(_(qe),{class:S(_(a).is("loading"))},{default:K(()=>[U(_(hr))]),_:1},8,["class"])])):(w(!0),I(Fe,{key:1},st(d.value,(se,Se)=>(w(),I("li",{id:`${_(T)}-item-${Se}`,key:Se,class:S({highlighted:u.value===Se}),role:"option","aria-selected":u.value===Se,onClick:oe=>W(se)},[ue(J.$slots,"default",{item:se},()=>[ct(ve(se[J.valueKey]),1)])],10,rM))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:K(()=>[R("div",{ref_key:"listboxRef",ref:y,class:S([_(a).b(),J.$attrs.class]),style:Oe(_(x)),role:"combobox","aria-haspopup":"listbox","aria-expanded":_(k),"aria-owns":_(T)},[U(_(Gn),St({ref_key:"inputRef",ref:m},_(s),{"model-value":J.modelValue,onInput:D,onChange:L,onFocus:F,onBlur:V,onClear:q,onKeydown:[Z[0]||(Z[0]=lt(He(se=>Y(u.value-1),["prevent"]),["up"])),Z[1]||(Z[1]=lt(He(se=>Y(u.value+1),["prevent"]),["down"])),lt(M,["enter"]),lt(E,["tab"])]}),dr({_:2},[J.$slots.prepend?{name:"prepend",fn:K(()=>[ue(J.$slots,"prepend")])}:void 0,J.$slots.append?{name:"append",fn:K(()=>[ue(J.$slots,"append")])}:void 0,J.$slots.prefix?{name:"prefix",fn:K(()=>[ue(J.$slots,"prefix")])}:void 0,J.$slots.suffix?{name:"suffix",fn:K(()=>[ue(J.$slots,"suffix")])}:void 0]),1040,["model-value","onKeydown"])],14,nM)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}}));var lM=_e(iM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const sM=rt(lM),cM=Le({size:{type:[Number,String],values:wo,default:"",validator:e=>typeof e=="number"},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:an},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:Te(String),default:"cover"}}),dM={error:e=>e instanceof Event},uM=["src","alt","srcset"],pM={name:"ElAvatar"},fM=ee(ze(he({},pM),{props:cM,emits:dM,setup(e,{emit:t}){const n=e,o=ke("avatar"),r=A(!1),a=C(()=>{const{size:c,icon:d,shape:u}=n,p=[o.b()];return Qe(c)&&p.push(o.m(c)),d&&p.push(o.m("icon")),u&&p.push(o.m(u)),p}),i=C(()=>{const{size:c}=n;return mt(c)?{"--el-avatar-size":io(c)}:void 0}),l=C(()=>({objectFit:n.fit}));ge(()=>n.src,()=>r.value=!1);function s(c){r.value=!0,t("error",c)}return(c,d)=>(w(),I("span",{class:S(_(a)),style:Oe(_(i))},[(c.src||c.srcSet)&&!r.value?(w(),I("img",{key:0,src:c.src,alt:c.alt,srcset:c.srcSet,style:Oe(_(l)),onError:s},null,44,uM)):c.icon?(w(),Q(_(qe),{key:1},{default:K(()=>[(w(),Q(pt(c.icon)))]),_:1})):ue(c.$slots,"default",{key:2})],6))}}));var hM=_e(fM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const mM=rt(hM),gM={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},bM={click:e=>e instanceof MouseEvent},vM=["onClick"],yM={name:"ElBacktop"},_M=ee(ze(he({},yM),{props:gM,emits:bM,setup(e,{emit:t}){const n=e,o="ElBacktop",r=ke("backtop"),a=Kt(),i=Kt(),l=A(!1),s=C(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`})),c=()=>{if(!a.value)return;const f=Date.now(),h=a.value.scrollTop,b=()=>{if(!a.value)return;const m=(Date.now()-f)/500;m<1?(a.value.scrollTop=h*(1-Nz(m)),requestAnimationFrame(b)):a.value.scrollTop=0};requestAnimationFrame(b)},d=()=>{a.value&&(l.value=a.value.scrollTop>=n.visibilityHeight)},u=f=>{c(),t("click",f)},p=Kv(d,300);return et(()=>{var f;i.value=document,a.value=document.documentElement,n.target&&(a.value=(f=document.querySelector(n.target))!=null?f:void 0,a.value||Wt(o,`target is not existed: ${n.target}`),i.value=a.value),Ht(i,"scroll",p)}),(f,h)=>(w(),Q(qt,{name:`${_(r).namespace.value}-fade-in`},{default:K(()=>[l.value?(w(),I("div",{key:0,style:Oe(_(s)),class:S(_(r).b()),onClick:He(u,["stop"])},[ue(f.$slots,"default",{},()=>[U(_(qe),{class:S(_(r).e("icon"))},{default:K(()=>[U(_(oA))]),_:1},8,["class"])])],14,vM)):G("v-if",!0)]),_:3},8,["name"]))}}));var wM=_e(_M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue"]]);const xM=rt(wM),kM=Le({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"}}),TM=["textContent"],CM={name:"ElBadge"},SM=ee(ze(he({},CM),{props:kM,setup(e,{expose:t}){const n=e,o=ke("badge"),r=C(()=>n.isDot?"":mt(n.value)&&mt(n.max)?n.max(w(),I("div",{class:S(_(o).b())},[ue(a.$slots,"default"),U(qt,{name:`${_(o).namespace.value}-zoom-in-center`},{default:K(()=>[Ue(R("sup",{class:S([_(o).e("content"),_(o).em("content",a.type),_(o).is("fixed",!!a.$slots.default),_(o).is("dot",a.isDot)]),textContent:ve(_(r))},null,10,TM),[[ft,!a.hidden&&(_(r)||_(r)==="0"||a.isDot)]])]),_:1},8,["name"])],2))}}));var $M=_e(SM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const Zy=rt($M),AM=Le({separator:{type:String,default:"/"},separatorIcon:{type:an,default:""}}),EM={name:"ElBreadcrumb"},zM=ee(ze(he({},EM),{props:AM,setup(e){const t=e,n=ke("breadcrumb"),o=A();return ot(iy,t),et(()=>{const r=o.value.querySelectorAll(`.${n.e("item")}`);r.length&&r[r.length-1].setAttribute("aria-current","page")}),(r,a)=>(w(),I("div",{ref_key:"breadcrumb",ref:o,class:S(_(n).b()),"aria-label":"Breadcrumb",role:"navigation"},[ue(r.$slots,"default")],2))}}));var IM=_e(zM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue"]]);const NM=Le({to:{type:Te([String,Object]),default:""},replace:{type:Boolean,default:!1}}),MM={name:"ElBreadcrumbItem"},RM=ee(ze(he({},MM),{props:NM,setup(e){const t=e,o=nt().appContext.config.globalProperties.$router,r=Ie(iy,{}),a=ke("breadcrumb"),{separator:i,separatorIcon:l}=r,s=A(),c=()=>{!t.to||!o||(t.replace?o.replace(t.to):o.push(t.to))};return(d,u)=>(w(),I("span",{class:S(_(a).e("item"))},[R("span",{ref_key:"link",ref:s,class:S([_(a).e("inner"),_(a).is("link",!!d.to)]),role:"link",onClick:c},[ue(d.$slots,"default")],2),_(l)?(w(),Q(_(qe),{key:0,class:S(_(a).e("separator"))},{default:K(()=>[(w(),Q(pt(_(l))))]),_:1},8,["class"])):(w(),I("span",{key:1,class:S(_(a).e("separator")),role:"presentation"},ve(_(i)),3))],2))}}));var Jy=_e(RM,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const PM=rt(IM,{BreadcrumbItem:Jy}),OM=Dt(Jy),Pd=["default","primary","success","warning","info","danger","text",""],FM=["button","submit","reset"],Od=Le({size:cc,disabled:Boolean,type:{type:String,values:Pd,default:""},icon:{type:an,default:""},nativeType:{type:String,values:FM,default:"button"},loading:Boolean,loadingIcon:{type:an,default:()=>hr},plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0}}),DM={click:e=>e instanceof MouseEvent};function rn(e,t){LM(e)&&(e="100%");var n=VM(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Sl(e){return Math.min(1,Math.max(0,e))}function LM(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function VM(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Qy(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function $l(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Er(e){return e.length===1?"0"+e:String(e)}function BM(e,t,n){return{r:rn(e,255)*255,g:rn(t,255)*255,b:rn(n,255)*255}}function _m(e,t,n){e=rn(e,255),t=rn(t,255),n=rn(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,i=0,l=(o+r)/2;if(o===r)i=0,a=0;else{var s=o-r;switch(i=l>.5?s/(2-o-r):s/(o+r),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function jM(e,t,n){var o,r,a;if(e=rn(e,360),t=rn(t,100),n=rn(n,100),t===0)r=n,a=n,o=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;o=Pc(l,i,e+1/3),r=Pc(l,i,e),a=Pc(l,i,e-1/3)}return{r:o*255,g:r*255,b:a*255}}function wm(e,t,n){e=rn(e,255),t=rn(t,255),n=rn(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,i=o,l=o-r,s=o===0?0:l/o;if(o===r)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var Fd={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function UM(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,a=null,i=!1,l=!1;return typeof e=="string"&&(e=XM(e)),typeof e=="object"&&(To(e.r)&&To(e.g)&&To(e.b)?(t=BM(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):To(e.h)&&To(e.s)&&To(e.v)?(o=$l(e.s),r=$l(e.v),t=HM(e.h,o,r),i=!0,l="hsv"):To(e.h)&&To(e.s)&&To(e.l)&&(o=$l(e.s),a=$l(e.l),t=jM(e.h,o,a),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Qy(n),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var YM="[-\\+]?\\d+%?",GM="[-\\+]?\\d*\\.\\d+%?",ar="(?:".concat(GM,")|(?:").concat(YM,")"),Oc="[\\s|\\(]+(".concat(ar,")[,|\\s]+(").concat(ar,")[,|\\s]+(").concat(ar,")\\s*\\)?"),Fc="[\\s|\\(]+(".concat(ar,")[,|\\s]+(").concat(ar,")[,|\\s]+(").concat(ar,")[,|\\s]+(").concat(ar,")\\s*\\)?"),Zn={CSS_UNIT:new RegExp(ar),rgb:new RegExp("rgb"+Oc),rgba:new RegExp("rgba"+Fc),hsl:new RegExp("hsl"+Oc),hsla:new RegExp("hsla"+Fc),hsv:new RegExp("hsv"+Oc),hsva:new RegExp("hsva"+Fc),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function XM(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Fd[e])e=Fd[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Zn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Zn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Zn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Zn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Zn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Zn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Zn.hex8.exec(e),n?{r:_n(n[1]),g:_n(n[2]),b:_n(n[3]),a:km(n[4]),format:t?"name":"hex8"}:(n=Zn.hex6.exec(e),n?{r:_n(n[1]),g:_n(n[2]),b:_n(n[3]),format:t?"name":"hex"}:(n=Zn.hex4.exec(e),n?{r:_n(n[1]+n[1]),g:_n(n[2]+n[2]),b:_n(n[3]+n[3]),a:km(n[4]+n[4]),format:t?"name":"hex8"}:(n=Zn.hex3.exec(e),n?{r:_n(n[1]+n[1]),g:_n(n[2]+n[2]),b:_n(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function To(e){return Boolean(Zn.CSS_UNIT.exec(String(e)))}var e0=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=WM(t)),this.originalInput=t;var r=UM(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=n.format)!==null&&o!==void 0?o:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,o,r,a=t.r/255,i=t.g/255,l=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),i<=.03928?o=i/12.92:o=Math.pow((i+.055)/1.055,2.4),l<=.03928?r=l/12.92:r=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*o+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Qy(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=wm(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=wm(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=_m(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=_m(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),xm(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),qM(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(o,")"):"rgba(".concat(t,", ").concat(n,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(rn(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(rn(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+xm(this.r,this.g,this.b,!1),n=0,o=Object.entries(Fd);n=0,a=!n&&r&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Sl(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Sl(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Sl(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Sl(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),a=n/100,i={r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,a=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(new e(o));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,a=n.v,i=[],l=1/t;t--;)i.push(new e({h:o,s:r,v:a})),a=(a+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb();return new e({r:o.r+(n.r-o.r)*n.a,g:o.g+(n.g-o.g)*n.a,b:o.b+(n.b-o.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],a=360/t,i=1;i{let n={};const o=e.color;if(o){const r=new e0(o),a=e.dark?r.tint(20).toString():Xo(r,20);if(e.plain)n={"--el-button-bg-color":e.dark?Xo(r,90):r.tint(90).toString(),"--el-button-text-color":o,"--el-button-border-color":e.dark?Xo(r,50):r.tint(50).toString(),"--el-button-hover-text-color":"var(--el-color-white)","--el-button-hover-bg-color":o,"--el-button-hover-border-color":o,"--el-button-active-bg-color":a,"--el-button-active-text-color":"var(--el-color-white)","--el-button-active-border-color":a},t.value&&(n["--el-button-disabled-bg-color"]=e.dark?Xo(r,90):r.tint(90).toString(),n["--el-button-disabled-text-color"]=e.dark?Xo(r,50):r.tint(50).toString(),n["--el-button-disabled-border-color"]=e.dark?Xo(r,80):r.tint(80).toString());else{const i=e.dark?Xo(r,30):r.tint(30).toString(),l=r.isDark()?"var(--el-color-white)":"var(--el-color-black)";if(n={"--el-button-bg-color":o,"--el-button-text-color":l,"--el-button-border-color":o,"--el-button-hover-bg-color":i,"--el-button-hover-text-color":l,"--el-button-hover-border-color":i,"--el-button-active-bg-color":a,"--el-button-active-border-color":a},t.value){const s=e.dark?Xo(r,50):r.tint(50).toString();n["--el-button-disabled-bg-color"]=s,n["--el-button-disabled-text-color"]=e.dark?"rgba(255, 255, 255, 0.5)":"var(--el-color-white)",n["--el-button-disabled-border-color"]=s}}}return n})}const JM=["disabled","autofocus","type"],QM={name:"ElButton"},eR=ee(ze(he({},QM),{props:Od,emits:DM,setup(e,{expose:t,emit:n}){const o=e,r=nl(),a=Ie(ly,void 0),i=qa("button"),l=ke("button"),{form:s}=Ka(),c=Ut(C(()=>a==null?void 0:a.size)),d=Zr(),u=A(),p=C(()=>o.type||(a==null?void 0:a.type)||""),f=C(()=>{var g,v,y;return(y=(v=o.autoInsertSpace)!=null?v:(g=i.value)==null?void 0:g.autoInsertSpace)!=null?y:!1}),h=C(()=>{var g;const v=(g=r.default)==null?void 0:g.call(r);if(f.value&&(v==null?void 0:v.length)===1){const y=v[0];if((y==null?void 0:y.type)===tl){const T=y.children;return/^\p{Unified_Ideograph}{2}$/u.test(T.trim())}}return!1}),b=ZM(o),m=g=>{o.nativeType==="reset"&&(s==null||s.resetFields()),n("click",g)};return t({ref:u,size:c,type:p,disabled:d,shouldAddSpace:h}),(g,v)=>(w(),I("button",{ref_key:"_ref",ref:u,class:S([_(l).b(),_(l).m(_(p)),_(l).m(_(c)),_(l).is("disabled",_(d)),_(l).is("loading",g.loading),_(l).is("plain",g.plain),_(l).is("round",g.round),_(l).is("circle",g.circle)]),disabled:_(d)||g.loading,autofocus:g.autofocus,type:g.nativeType,style:Oe(_(b)),onClick:m},[g.loading?(w(),I(Fe,{key:0},[g.$slots.loading?ue(g.$slots,"loading",{key:0}):(w(),Q(_(qe),{key:1,class:S(_(l).is("loading"))},{default:K(()=>[(w(),Q(pt(g.loadingIcon)))]),_:1},8,["class"]))],2112)):g.icon||g.$slots.icon?(w(),Q(_(qe),{key:1},{default:K(()=>[g.icon?(w(),Q(pt(g.icon),{key:0})):ue(g.$slots,"icon",{key:1})]),_:3})):G("v-if",!0),g.$slots.default?(w(),I("span",{key:2,class:S({[_(l).em("text","expand")]:_(h)})},[ue(g.$slots,"default")],2)):G("v-if",!0)],14,JM))}}));var tR=_e(eR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const nR={size:Od.size,type:Od.type},oR={name:"ElButtonGroup"},rR=ee(ze(he({},oR),{props:nR,setup(e){const t=e;ot(ly,vt({size:Yt(t,"size"),type:Yt(t,"type")}));const n=ke("button");return(o,r)=>(w(),I("div",{class:S(`${_(n).b("group")}`)},[ue(o.$slots,"default")],2))}}));var t0=_e(rR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Vn=rt(tR,{ButtonGroup:t0}),n0=Dt(t0);var Ko=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},o0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){var n=1e3,o=6e4,r=36e5,a="millisecond",i="second",l="minute",s="hour",c="day",d="week",u="month",p="quarter",f="year",h="date",b="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|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,v={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("_")},y=function(F,V,q){var M=String(F);return!M||M.length>=V?F:""+Array(V+1-M.length).join(q)+F},T={s:y,z:function(F){var V=-F.utcOffset(),q=Math.abs(V),M=Math.floor(q/60),E=q%60;return(V<=0?"+":"-")+y(M,2,"0")+":"+y(E,2,"0")},m:function F(V,q){if(V.date()1)return F(W[0])}else{var Y=V.name;k[Y]=V,E=Y}return!M&&E&&(x=E),E||!M&&x},P=function(F,V){if($(F))return F.clone();var q=typeof V=="object"?V:{};return q.date=F,q.args=arguments,new D(q)},O=T;O.l=z,O.i=$,O.w=function(F,V){return P(F,{locale:V.$L,utc:V.$u,x:V.$x,$offset:V.$offset})};var D=function(){function F(q){this.$L=z(q.locale,null,!0),this.parse(q)}var V=F.prototype;return V.parse=function(q){this.$d=function(M){var E=M.date,N=M.utc;if(E===null)return new Date(NaN);if(O.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var W=E.match(m);if(W){var Y=W[2]-1||0,J=(W[7]||"0").substring(0,3);return N?new Date(Date.UTC(W[1],Y,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)):new Date(W[1],Y,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)}}return new Date(E)}(q),this.$x=q.x||{},this.init()},V.init=function(){var q=this.$d;this.$y=q.getFullYear(),this.$M=q.getMonth(),this.$D=q.getDate(),this.$W=q.getDay(),this.$H=q.getHours(),this.$m=q.getMinutes(),this.$s=q.getSeconds(),this.$ms=q.getMilliseconds()},V.$utils=function(){return O},V.isValid=function(){return this.$d.toString()!==b},V.isSame=function(q,M){var E=P(q);return this.startOf(M)<=E&&E<=this.endOf(M)},V.isAfter=function(q,M){return P(q)68?1900:2e3)},c=function(b){return function(m){this[b]=+m}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(b){(this.zone||(this.zone={})).offset=function(m){if(!m||m==="Z")return 0;var g=m.match(/([+-]|\d\d)/g),v=60*g[1]+(+g[2]||0);return v===0?0:g[0]==="+"?-v:v}(b)}],u=function(b){var m=l[b];return m&&(m.indexOf?m:m.s.concat(m.f))},p=function(b,m){var g,v=l.meridiem;if(v){for(var y=1;y<=24;y+=1)if(b.indexOf(v(y,0,m))>-1){g=y>12;break}}else g=b===(m?"pm":"PM");return g},f={A:[i,function(b){this.afternoon=p(b,!1)}],a:[i,function(b){this.afternoon=p(b,!0)}],S:[/\d/,function(b){this.milliseconds=100*+b}],SS:[r,function(b){this.milliseconds=10*+b}],SSS:[/\d{3}/,function(b){this.milliseconds=+b}],s:[a,c("seconds")],ss:[a,c("seconds")],m:[a,c("minutes")],mm:[a,c("minutes")],H:[a,c("hours")],h:[a,c("hours")],HH:[a,c("hours")],hh:[a,c("hours")],D:[a,c("day")],DD:[r,c("day")],Do:[i,function(b){var m=l.ordinal,g=b.match(/\d+/);if(this.day=g[0],m)for(var v=1;v<=31;v+=1)m(v).replace(/\[|\]/g,"")===b&&(this.day=v)}],M:[a,c("month")],MM:[r,c("month")],MMM:[i,function(b){var m=u("months"),g=(u("monthsShort")||m.map(function(v){return v.slice(0,3)})).indexOf(b)+1;if(g<1)throw new Error;this.month=g%12||g}],MMMM:[i,function(b){var m=u("months").indexOf(b)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(b){this.year=s(b)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function h(b){var m,g;m=b,g=l&&l.formats;for(var v=(b=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(P,O,D){var L=D&&D.toUpperCase();return O||g[D]||n[D]||g[L].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(F,V,q){return V||q.slice(1)})})).match(o),y=v.length,T=0;T-1)return new Date((E==="X"?1e3:1)*M);var W=h(E)(M),Y=W.year,J=W.month,Z=W.day,se=W.hours,Se=W.minutes,oe=W.seconds,H=W.milliseconds,ne=W.zone,ie=new Date,be=Z||(Y||J?1:ie.getDate()),$e=Y||ie.getFullYear(),Ne=0;Y&&!J||(Ne=J>0?J-1:ie.getMonth());var Me=se||0,j=Se||0,X=oe||0,de=H||0;return ne?new Date(Date.UTC($e,Ne,be,Me,j,X,de+60*ne.offset*1e3)):N?new Date(Date.UTC($e,Ne,be,Me,j,X,de)):new Date($e,Ne,be,Me,j,X,de)}catch{return new Date("")}}(x,z,k),this.init(),L&&L!==!0&&(this.$L=this.locale(L).$L),D&&x!=this.format(z)&&(this.$d=new Date("")),l={}}else if(z instanceof Array)for(var F=z.length,V=1;V<=F;V+=1){$[1]=z[V-1];var q=g.apply(this,$);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}V===F&&(this.$d=new Date(""))}else y.call(this,T)}}})})(i0);var Tp=i0.exports;const Dd="HH:mm:ss",ii="YYYY-MM-DD",aR={date:ii,week:"gggg[w]ww",year:"YYYY",month:"YYYY-MM",datetime:`${ii} ${Dd}`,monthrange:"YYYY-MM",daterange:ii,datetimerange:`${ii} ${Dd}`},Cp={id:{type:[Array,String]},name:{type:[Array,String],default:""},popperClass:{type:String,default:""},format:{type:String},valueFormat:{type:String},type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:[String,Object],default:Oo},editable:{type:Boolean,default:!0},prefixIcon:{type:[String,Object],default:""},size:{type:String,validator:Nn},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},modelValue:{type:[Date,Array,String,Number],default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:[Date,Array]},defaultTime:{type:[Date,Array]},isRange:{type:Boolean,default:!1},disabledHours:{type:Function},disabledMinutes:{type:Function},disabledSeconds:{type:Function},disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean},Tm=function(e,t){const n=e instanceof Date,o=t instanceof Date;return n&&o?e.getTime()===t.getTime():!n&&!o?e===t:!1},Cm=function(e,t){const n=Array.isArray(e),o=Array.isArray(t);return n&&o?e.length!==t.length?!1:e.every((r,a)=>Tm(r,t[a])):!n&&!o?Tm(e,t):!1},Sm=function(e,t,n){const o=Bi(t)||t==="x"?Ge(e).locale(n):Ge(e,t).locale(n);return o.isValid()?o:void 0},$m=function(e,t,n){return Bi(t)?e:t==="x"?+e:Ge(e).locale(n).format(t)},iR=ee({name:"Picker",components:{ElInput:Gn,ElTooltip:vn,ElIcon:qe},props:Cp,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change"],setup(e,t){const{lang:n}=Tt(),o=ke("date"),r=ke("input"),a=ke("range"),i=Ie(Mn,{}),l=Ie(qn,{}),s=Ie("ElPopperOptions",{}),c=A(),d=A(),u=A(!1),p=A(!1),f=A(null);ge(u,B=>{var me;B?f.value=e.modelValue:(ie.value=null,je(()=>{h(e.modelValue)}),t.emit("blur"),$e(),e.validateEvent&&((me=l.validate)==null||me.call(l,"blur").catch(Be=>void 0)))});const h=(B,me)=>{var Be;(me||!Cm(B,f.value))&&(t.emit("change",B),e.validateEvent&&((Be=l.validate)==null||Be.call(l,"change").catch(Ze=>void 0)))},b=B=>{if(!Cm(e.modelValue,B)){let me;Array.isArray(B)?me=B.map(Be=>$m(Be,e.valueFormat,n.value)):B&&(me=$m(B,e.valueFormat,n.value)),t.emit("update:modelValue",B&&me,n.value)}},m=C(()=>{if(d.value){const B=se.value?d.value:d.value.$el;return Array.from(B.querySelectorAll("input"))}return[]}),g=C(()=>m==null?void 0:m.value[0]),v=C(()=>m==null?void 0:m.value[1]),y=(B,me,Be)=>{const Ze=m.value;!Ze.length||(!Be||Be==="min"?(Ze[0].setSelectionRange(B,me),Ze[0].focus()):Be==="max"&&(Ze[1].setSelectionRange(B,me),Ze[1].focus()))},T=(B="",me=!1)=>{u.value=me;let Be;Array.isArray(B)?Be=B.map(Ze=>Ze.toDate()):Be=B&&B.toDate(),ie.value=null,b(Be)},x=()=>{p.value=!0},k=()=>{t.emit("visible-change",!0)},$=()=>{p.value=!1,t.emit("visible-change",!1)},z=(B=!0)=>{let me=g.value;!B&&se.value&&(me=v.value),me&&me.focus()},P=B=>{e.readonly||D.value||u.value||(u.value=!0,t.emit("focus",B))},O=()=>{var B;(B=c.value)==null||B.onClose(),$e()},D=C(()=>e.disabled||i.disabled),L=C(()=>{let B;if(Y.value?ae.value.getDefaultValue&&(B=ae.value.getDefaultValue()):Array.isArray(e.modelValue)?B=e.modelValue.map(me=>Sm(me,e.valueFormat,n.value)):B=Sm(e.modelValue,e.valueFormat,n.value),ae.value.getRangeAvailableTime){const me=ae.value.getRangeAvailableTime(B);En(me,B)||(B=me,b(Array.isArray(B)?B.map(Be=>Be.toDate()):B.toDate()))}return Array.isArray(B)&&B.some(me=>!me)&&(B=[]),B}),F=C(()=>{if(!ae.value.panelReady)return;const B=Me(L.value);if(Array.isArray(ie.value))return[ie.value[0]||B&&B[0]||"",ie.value[1]||B&&B[1]||""];if(ie.value!==null)return ie.value;if(!(!q.value&&Y.value)&&!(!u.value&&Y.value))return B?M.value?B.join(", "):B:""}),V=C(()=>e.type.includes("time")),q=C(()=>e.type.startsWith("time")),M=C(()=>e.type==="dates"),E=C(()=>e.prefixIcon||(V.value?Gv:W$)),N=A(!1),W=B=>{e.readonly||D.value||N.value&&(B.stopPropagation(),b(null),h(null,!0),N.value=!1,u.value=!1,ae.value.handleClear&&ae.value.handleClear())},Y=C(()=>!e.modelValue||Array.isArray(e.modelValue)&&!e.modelValue.length),J=()=>{e.readonly||D.value||!Y.value&&e.clearable&&(N.value=!0)},Z=()=>{N.value=!1},se=C(()=>e.type.includes("range")),Se=Ut(),oe=C(()=>{var B,me;return(me=(B=c.value)==null?void 0:B.popperRef)==null?void 0:me.contentRef}),H=C(()=>{var B,me;return(me=(B=_(c))==null?void 0:B.popperRef)==null?void 0:me.contentRef}),ne=C(()=>{var B;return _(se)?_(d):(B=_(d))==null?void 0:B.$el});Cs(ne,B=>{const me=_(H),Be=_(ne);me&&(B.target===me||B.composedPath().includes(me))||B.target===Be||B.composedPath().includes(Be)||(u.value=!1)});const ie=A(null),be=()=>{if(ie.value){const B=Ne(F.value);B&&j(B)&&(b(Array.isArray(B)?B.map(me=>me.toDate()):B.toDate()),ie.value=null)}ie.value===""&&(b(null),h(null),ie.value=null)},$e=()=>{m.value.forEach(B=>B.blur())},Ne=B=>B?ae.value.parseUserInput(B):null,Me=B=>B?ae.value.formatToString(B):null,j=B=>ae.value.isValidValue(B),X=B=>{const me=B.code;if(me===Pe.esc){u.value=!1,B.stopPropagation();return}if(me===Pe.tab){se.value?setTimeout(()=>{m.value.includes(document.activeElement)||(u.value=!1,$e())},0):(be(),u.value=!1,B.stopPropagation());return}if(me===Pe.enter||me===Pe.numpadEnter){(ie.value===null||ie.value===""||j(Ne(F.value)))&&(be(),u.value=!1),B.stopPropagation();return}if(ie.value){B.stopPropagation();return}ae.value.handleKeydown&&ae.value.handleKeydown(B)},de=B=>{ie.value=B},xe=B=>{ie.value?ie.value=[B.target.value,ie.value[1]]:ie.value=[B.target.value,null]},we=B=>{ie.value?ie.value=[ie.value[0],B.target.value]:ie.value=[null,B.target.value]},Ae=()=>{const B=Ne(ie.value&&ie.value[0]);if(B&&B.isValid()){ie.value=[Me(B),F.value[1]];const me=[B,L.value&&L.value[1]];j(me)&&(b(me),ie.value=null)}},ce=()=>{const B=Ne(ie.value&&ie.value[1]);if(B&&B.isValid()){ie.value=[F.value[0],Me(B)];const me=[L.value&&L.value[0],B];j(me)&&(b(me),ie.value=null)}},ae=A({}),te=B=>{ae.value[B[0]]=B[1],ae.value.panelReady=!0},pe=B=>{t.emit("calendar-change",B)},De=(B,me,Be)=>{t.emit("panel-change",B,me,Be)};return ot("EP_PICKER_BASE",{props:e}),{nsDate:o,nsInput:r,nsRange:a,elPopperOptions:s,isDatesPicker:M,handleEndChange:ce,handleStartChange:Ae,handleStartInput:xe,handleEndInput:we,onUserInput:de,handleChange:be,handleKeydown:X,popperPaneRef:oe,onClickOutside:Cs,pickerSize:Se,isRangeInput:se,onMouseLeave:Z,onMouseEnter:J,onClearIconClick:W,showClose:N,triggerIcon:E,onPick:T,handleFocus:P,handleBlur:O,pickerVisible:u,pickerActualVisible:p,displayValue:F,parsedValue:L,setSelectionRange:y,refPopper:c,inputRef:d,pickerDisabled:D,onSetPickerOption:te,onCalendarChange:pe,onPanelChange:De,focus:z,onShow:k,onBeforeShow:x,onHide:$}}}),lR=["id","name","placeholder","value","disabled","readonly"],sR=["id","name","placeholder","value","disabled","readonly"];function cR(e,t,n,o,r,a){const i=le("el-icon"),l=le("el-input"),s=le("el-tooltip");return w(),Q(s,St({ref:"refPopper",visible:e.pickerVisible,"onUpdate:visible":t[17]||(t[17]=c=>e.pickerVisible=c),effect:"light",pure:"",trigger:"click"},e.$attrs,{"append-to-body":"",transition:`${e.nsDate.namespace.value}-zoom-in-top`,"popper-class":[`${e.nsDate.namespace.value}-picker__popper`,e.popperClass],"popper-options":e.elPopperOptions,"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:e.onBeforeShow,onShow:e.onShow,onHide:e.onHide}),{default:K(()=>[e.isRangeInput?(w(),I("div",{key:1,ref:"inputRef",class:S([e.nsDate.b("editor"),e.nsDate.bm("editor",e.type),e.nsInput.e("inner"),e.nsDate.is("disabled",e.pickerDisabled),e.nsDate.is("active",e.pickerVisible),e.nsRange.b("editor"),e.pickerSize?e.nsRange.bm("editor",e.pickerSize):"",e.$attrs.class]),style:Oe(e.$attrs.style),onClick:t[7]||(t[7]=(...c)=>e.handleFocus&&e.handleFocus(...c)),onMouseenter:t[8]||(t[8]=(...c)=>e.onMouseEnter&&e.onMouseEnter(...c)),onMouseleave:t[9]||(t[9]=(...c)=>e.onMouseLeave&&e.onMouseLeave(...c)),onKeydown:t[10]||(t[10]=(...c)=>e.handleKeydown&&e.handleKeydown(...c))},[e.triggerIcon?(w(),Q(i,{key:0,class:S([e.nsInput.e("icon"),e.nsRange.e("icon")]),onClick:e.handleFocus},{default:K(()=>[(w(),Q(pt(e.triggerIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0),R("input",{id:e.id&&e.id[0],autocomplete:"off",name:e.name&&e.name[0],placeholder:e.startPlaceholder,value:e.displayValue&&e.displayValue[0],disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,class:S(e.nsRange.b("input")),onInput:t[1]||(t[1]=(...c)=>e.handleStartInput&&e.handleStartInput(...c)),onChange:t[2]||(t[2]=(...c)=>e.handleStartChange&&e.handleStartChange(...c)),onFocus:t[3]||(t[3]=(...c)=>e.handleFocus&&e.handleFocus(...c))},null,42,lR),ue(e.$slots,"range-separator",{},()=>[R("span",{class:S(e.nsRange.b("separator"))},ve(e.rangeSeparator),3)]),R("input",{id:e.id&&e.id[1],autocomplete:"off",name:e.name&&e.name[1],placeholder:e.endPlaceholder,value:e.displayValue&&e.displayValue[1],disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,class:S(e.nsRange.b("input")),onFocus:t[4]||(t[4]=(...c)=>e.handleFocus&&e.handleFocus(...c)),onInput:t[5]||(t[5]=(...c)=>e.handleEndInput&&e.handleEndInput(...c)),onChange:t[6]||(t[6]=(...c)=>e.handleEndChange&&e.handleEndChange(...c))},null,42,sR),e.clearIcon?(w(),Q(i,{key:1,class:S([e.nsInput.e("icon"),e.nsRange.e("close-icon"),{[e.nsRange.e("close-icon--hidden")]:!e.showClose}]),onClick:e.onClearIconClick},{default:K(()=>[(w(),Q(pt(e.clearIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0)],38)):(w(),Q(l,{key:0,id:e.id,ref:"inputRef","model-value":e.displayValue,name:e.name,size:e.pickerSize,disabled:e.pickerDisabled,placeholder:e.placeholder,class:S([e.nsDate.b("editor"),e.nsDate.bm("editor",e.type),e.$attrs.class]),style:Oe(e.$attrs.style),readonly:!e.editable||e.readonly||e.isDatesPicker||e.type==="week",onInput:e.onUserInput,onFocus:e.handleFocus,onKeydown:e.handleKeydown,onChange:e.handleChange,onMouseenter:e.onMouseEnter,onMouseleave:e.onMouseLeave,onClick:t[0]||(t[0]=He(()=>{},["stop"]))},{prefix:K(()=>[e.triggerIcon?(w(),Q(i,{key:0,class:S(e.nsInput.e("icon")),onClick:e.handleFocus},{default:K(()=>[(w(),Q(pt(e.triggerIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0)]),suffix:K(()=>[e.showClose&&e.clearIcon?(w(),Q(i,{key:0,class:S(`${e.nsInput.e("icon")} clear-icon`),onClick:e.onClearIconClick},{default:K(()=>[(w(),Q(pt(e.clearIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","onInput","onFocus","onKeydown","onChange","onMouseenter","onMouseleave"]))]),content:K(()=>[ue(e.$slots,"default",{visible:e.pickerVisible,actualVisible:e.pickerActualVisible,parsedValue:e.parsedValue,format:e.format,unlinkPanels:e.unlinkPanels,type:e.type,defaultValue:e.defaultValue,onPick:t[11]||(t[11]=(...c)=>e.onPick&&e.onPick(...c)),onSelectRange:t[12]||(t[12]=(...c)=>e.setSelectionRange&&e.setSelectionRange(...c)),onSetPickerOption:t[13]||(t[13]=(...c)=>e.onSetPickerOption&&e.onSetPickerOption(...c)),onCalendarChange:t[14]||(t[14]=(...c)=>e.onCalendarChange&&e.onCalendarChange(...c)),onPanelChange:t[15]||(t[15]=(...c)=>e.onPanelChange&&e.onPanelChange(...c)),onMousedown:t[16]||(t[16]=He(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options","onBeforeShow","onShow","onHide"])}var l0=_e(iR,[["render",cR],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const Qo=new Map;let Am;dt&&(document.addEventListener("mousedown",e=>Am=e),document.addEventListener("mouseup",e=>{for(const t of Qo.values())for(const{documentHandler:n}of t)n(e,Am)}));function Em(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:Hr(t.arg)&&n.push(t.arg),function(o,r){const a=t.instance.popperRef,i=o.target,l=r==null?void 0:r.target,s=!t||!t.instance,c=!i||!l,d=e.contains(i)||e.contains(l),u=e===i,p=n.length&&n.some(h=>h==null?void 0:h.contains(i))||n.length&&n.includes(l),f=a&&(a.contains(i)||a.contains(l));s||c||d||u||p||f||t.value(o,r)}}const Jr={beforeMount(e,t){Qo.has(e)||Qo.set(e,[]),Qo.get(e).push({documentHandler:Em(e,t),bindingFn:t.value})},updated(e,t){Qo.has(e)||Qo.set(e,[]);const n=Qo.get(e),o=n.findIndex(a=>a.bindingFn===t.oldValue),r={documentHandler:Em(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted(e){Qo.delete(e)}};var s0={beforeMount(e,t){let n=null,o;const r=()=>t.value&&t.value(),a=()=>{Date.now()-o<100&&r(),clearInterval(n),n=null};At(e,"mousedown",i=>{i.button===0&&(o=Date.now(),L4(document,"mouseup",a),clearInterval(n),n=setInterval(r,100))})}};const Ld="_trap-focus-children",zr=[],zm=e=>{if(zr.length===0)return;const t=zr[zr.length-1][Ld];if(t.length>0&&e.code===Pe.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const n=e.shiftKey,o=e.target===t[0],r=e.target===t[t.length-1];o&&n&&(e.preventDefault(),t[t.length-1].focus()),r&&!n&&(e.preventDefault(),t[0].focus())}},c0={beforeMount(e){e[Ld]=Lh(e),zr.push(e),zr.length<=1&&At(document,"keydown",zm)},updated(e){je(()=>{e[Ld]=Lh(e)})},unmounted(){zr.shift(),zr.length===0&&Bt(document,"keydown",zm)}};var Im=!1,$r,Vd,Bd,Hl,ql,d0,Kl,jd,Hd,qd,u0,Kd,Wd,p0,f0;function pn(){if(!Im){Im=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Kd=/\b(iPhone|iP[ao]d)/.exec(e),Wd=/\b(iP[ao]d)/.exec(e),qd=/Android/i.exec(e),p0=/FBAN\/\w+;/i.exec(e),f0=/Mobile/i.exec(e),u0=!!/Win64/.exec(e),t){$r=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,$r&&document&&document.documentMode&&($r=document.documentMode);var o=/(?:Trident\/(\d+.\d+))/.exec(e);d0=o?parseFloat(o[1])+4:$r,Vd=t[2]?parseFloat(t[2]):NaN,Bd=t[3]?parseFloat(t[3]):NaN,Hl=t[4]?parseFloat(t[4]):NaN,Hl?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),ql=t&&t[1]?parseFloat(t[1]):NaN):ql=NaN}else $r=Vd=Bd=ql=Hl=NaN;if(n){if(n[1]){var r=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);Kl=r?parseFloat(r[1].replace("_",".")):!0}else Kl=!1;jd=!!n[2],Hd=!!n[3]}else Kl=jd=Hd=!1}}var Ud={ie:function(){return pn()||$r},ieCompatibilityMode:function(){return pn()||d0>$r},ie64:function(){return Ud.ie()&&u0},firefox:function(){return pn()||Vd},opera:function(){return pn()||Bd},webkit:function(){return pn()||Hl},safari:function(){return Ud.webkit()},chrome:function(){return pn()||ql},windows:function(){return pn()||jd},osx:function(){return pn()||Kl},linux:function(){return pn()||Hd},iphone:function(){return pn()||Kd},mobile:function(){return pn()||Kd||Wd||qd||f0},nativeApp:function(){return pn()||p0},android:function(){return pn()||qd},ipad:function(){return pn()||Wd}},dR=Ud,Al=!!(typeof window<"u"&&window.document&&window.document.createElement),uR={canUseDOM:Al,canUseWorkers:typeof Worker<"u",canUseEventListeners:Al&&!!(window.addEventListener||window.attachEvent),canUseViewport:Al&&!!window.screen,isInWorker:!Al},h0=uR,m0;h0.canUseDOM&&(m0=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function pR(e,t){if(!h0.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var r=document.createElement("div");r.setAttribute(n,"return;"),o=typeof r[n]=="function"}return!o&&m0&&e==="wheel"&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}var fR=pR,Nm=10,Mm=40,Rm=800;function g0(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=t*Nm,r=n*Nm,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(e.deltaMode==1?(o*=Mm,r*=Mm):(o*=Rm,r*=Rm)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}g0.getEventType=function(){return dR.firefox()?"DOMMouseScroll":fR("wheel")?"wheel":"mousewheel"};var hR=g0;/** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, @@ -8002,21 +6978,21 @@ Please report this to https://github.com/markedjs/marked.`,t.silent)return"

An * @return {boolean} True if the event is supported. * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT -*/const wR=function(e,t){if(e&&e.addEventListener){const n=function(o){const r=_R(o);t&&Reflect.apply(t,this,[o,r])};cp()?e.addEventListener("DOMMouseScroll",n):e.onmousewheel=n}},xR={beforeMount(e,t){wR(e,t.value)}},kR={beforeMount(e,t){e._handleResize=()=>{var n;e&&((n=t.value)==null||n.call(t,e))},ja(e,e._handleResize)},beforeUnmount(e){Ha(e,e._handleResize)}},Lc=(e,t,n)=>{const o=[],r=t&&n();for(let a=0;ae.map((t,n)=>t||n).filter(t=>t!==!0),b0=(e,t,n)=>({getHoursList:(i,l)=>Lc(24,e,()=>e(i,l)),getMinutesList:(i,l,s)=>Lc(60,t,()=>t(i,l,s)),getSecondsList:(i,l,s,c)=>Lc(60,n,()=>n(i,l,s,c))}),v0=(e,t,n)=>{const{getHoursList:o,getMinutesList:r,getSecondsList:a}=b0(e,t,n);return{getAvailableHours:(c,d)=>Vc(o(c,d)),getAvailableMinutes:(c,d,u)=>Vc(r(c,d,u)),getAvailableSeconds:(c,d,u,p)=>Vc(a(c,d,u,p))}},y0=e=>{const t=A(e.parsedValue);return ge(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},TR=ee({directives:{repeatClick:s0},components:{ElScrollbar:qo,ElIcon:qe,ArrowUp:rl,ArrowDown:Gr},props:{role:{type:String,required:!0},spinnerDate:{type:Object,required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:String,default:""},disabledHours:{type:Function},disabledMinutes:{type:Function},disabledSeconds:{type:Function}},emits:["change","select-range","set-option"],setup(e,t){const n=ke("time");let o=!1;const r=bn(H=>{o=!1,P(H)},200),a=A(null),i=A(null),l=A(null),s=A(null),c={hours:i,minutes:l,seconds:s},d=C(()=>{const H=["hours","minutes","seconds"];return e.showSeconds?H:H.slice(0,2)}),u=C(()=>e.spinnerDate.hour()),p=C(()=>e.spinnerDate.minute()),f=C(()=>e.spinnerDate.second()),h=C(()=>({hours:u,minutes:p,seconds:f})),b=C(()=>se(e.role)),m=C(()=>Se(u.value,e.role)),g=C(()=>oe(u.value,p.value,e.role)),v=C(()=>({hours:b,minutes:m,seconds:g})),y=C(()=>{const H=u.value;return[H>0?H-1:void 0,H,H<23?H+1:void 0]}),T=C(()=>{const H=p.value;return[H>0?H-1:void 0,H,H<59?H+1:void 0]}),x=C(()=>{const H=f.value;return[H>0?H-1:void 0,H,H<59?H+1:void 0]}),k=C(()=>({hours:y,minutes:T,seconds:x})),$=H=>{if(!!!e.amPmMode)return"";const ie=e.amPmMode==="A";let be=H<12?" am":" pm";return ie&&(be=be.toUpperCase()),be},z=H=>{H==="hours"?t.emit("select-range",0,2):H==="minutes"?t.emit("select-range",3,5):H==="seconds"&&t.emit("select-range",6,8),a.value=H},P=H=>{L(H,h.value[H].value)},O=()=>{P("hours"),P("minutes"),P("seconds")},D=H=>H.querySelector(`.${n.namespace.value}-scrollbar__wrap`),L=(H,ne)=>{if(e.arrowControl)return;const ie=c[H];ie&&ie.$el&&(D(ie.$el).scrollTop=Math.max(0,ne*F(H)))},F=H=>c[H].$el.querySelector("li").offsetHeight,V=()=>{R(1)},q=()=>{R(-1)},R=H=>{a.value||z("hours");const ne=a.value;let ie=h.value[ne].value;const be=a.value==="hours"?24:60;ie=(ie+H+be)%be,E(ne,ie),L(ne,ie),je(()=>z(a.value))},E=(H,ne)=>{if(!v.value[H].value[ne])switch(H){case"hours":t.emit("change",e.spinnerDate.hour(ne).minute(p.value).second(f.value));break;case"minutes":t.emit("change",e.spinnerDate.hour(u.value).minute(ne).second(f.value));break;case"seconds":t.emit("change",e.spinnerDate.hour(u.value).minute(p.value).second(ne));break}},N=(H,{value:ne,disabled:ie})=>{ie||(E(H,ne),z(H),L(H,ne))},W=H=>{o=!0,r(H);const ne=Math.min(Math.round((D(c[H].$el).scrollTop-(Y(H)*.5-10)/F(H)+3)/F(H)),H==="hours"?23:59);E(H,ne)},Y=H=>c[H].$el.offsetHeight,J=()=>{const H=ne=>{c[ne]&&c[ne].$el&&(D(c[ne].$el).onscroll=()=>{W(ne)})};H("hours"),H("minutes"),H("seconds")};et(()=>{je(()=>{!e.arrowControl&&J(),O(),e.role==="start"&&z("hours")})});const Z=(H,ne)=>{c[ne]=H};t.emit("set-option",[`${e.role}_scrollDown`,R]),t.emit("set-option",[`${e.role}_emitSelectRange`,z]);const{getHoursList:se,getMinutesList:Se,getSecondsList:oe}=b0(e.disabledHours,e.disabledMinutes,e.disabledSeconds);return ge(()=>e.spinnerDate,()=>{o||O()}),{ns:n,setRef:Z,spinnerItems:d,currentScrollbar:a,hours:u,minutes:p,seconds:f,hoursList:b,minutesList:m,arrowHourList:y,arrowMinuteList:T,arrowSecondList:x,getAmPmFlag:$,emitSelectRange:z,adjustCurrentSpinner:P,typeItemHeight:F,listHoursRef:i,listMinutesRef:l,listSecondsRef:s,onIncreaseClick:V,onDecreaseClick:q,handleClick:N,secondsList:g,timePartsMap:h,arrowListMap:k,listMap:v}}}),CR=["onClick"],SR=["onMouseenter"];function $R(e,t,n,o,r,a){const i=le("el-scrollbar"),l=le("arrow-up"),s=le("el-icon"),c=le("arrow-down"),d=In("repeat-click");return w(),I("div",{class:S([e.ns.b("spinner"),{"has-seconds":e.showSeconds}])},[e.arrowControl?G("v-if",!0):(w(!0),I(Fe,{key:0},ct(e.spinnerItems,u=>(w(),Q(i,{key:u,ref_for:!0,ref:p=>e.setRef(p,u),class:S(e.ns.be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":e.ns.be("spinner","list"),noresize:"",tag:"ul",onMouseenter:p=>e.emitSelectRange(u),onMousemove:p=>e.adjustCurrentSpinner(u)},{default:K(()=>[(w(!0),I(Fe,null,ct(e.listMap[u].value,(p,f)=>(w(),I("li",{key:f,class:S([e.ns.be("spinner","item"),e.ns.is("active",f===e.timePartsMap[u].value),e.ns.is("disabled",p)]),onClick:h=>e.handleClick(u,{value:f,disabled:p})},[u==="hours"?(w(),I(Fe,{key:0},[it(ve(("0"+(e.amPmMode?f%12||12:f)).slice(-2))+ve(e.getAmPmFlag(f)),1)],2112)):(w(),I(Fe,{key:1},[it(ve(("0"+f).slice(-2)),1)],2112))],10,CR))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),e.arrowControl?(w(!0),I(Fe,{key:1},ct(e.spinnerItems,u=>(w(),I("div",{key:u,class:S([e.ns.be("spinner","wrapper"),e.ns.is("arrow")]),onMouseenter:p=>e.emitSelectRange(u)},[Ue((w(),Q(s,{class:S(["arrow-up",e.ns.be("spinner","arrow")])},{default:K(()=>[U(l)]),_:1},8,["class"])),[[d,e.onDecreaseClick]]),Ue((w(),Q(s,{class:S(["arrow-down",e.ns.be("spinner","arrow")])},{default:K(()=>[U(c)]),_:1},8,["class"])),[[d,e.onIncreaseClick]]),M("ul",{class:S(e.ns.be("spinner","list"))},[(w(!0),I(Fe,null,ct(e.arrowListMap[u].value,(p,f)=>(w(),I("li",{key:f,class:S([e.ns.be("spinner","item"),e.ns.is("active",p===e.timePartsMap[u].value),e.ns.is("disabled",e.listMap[u].value[p])])},[typeof p=="number"?(w(),I(Fe,{key:0},[u==="hours"?(w(),I(Fe,{key:0},[it(ve(("0"+(e.amPmMode?p%12||12:p)).slice(-2))+ve(e.getAmPmFlag(p)),1)],2112)):(w(),I(Fe,{key:1},[it(ve(("0"+p).slice(-2)),1)],2112))],2112)):G("v-if",!0)],2))),128))],2)],42,SR))),128)):G("v-if",!0)],2)}var _0=_e(TR,[["render",$R],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const AR=ee({components:{TimeSpinner:_0},props:{visible:Boolean,actualVisible:{type:Boolean,default:void 0},datetimeRole:{type:String},parsedValue:{type:[Object,String]},format:{type:String,default:""}},emits:["pick","select-range","set-picker-option"],setup(e,t){const n=ke("time"),{t:o,lang:r}=Tt(),a=A([0,2]),i=y0(e),l=C(()=>Cn(e.actualVisible)?`${n.namespace.value}-zoom-in-top`:""),s=C(()=>e.format.includes("ss")),c=C(()=>e.format.includes("A")?"A":e.format.includes("a")?"a":""),d=R=>{const E=Ge(R).locale(r.value),N=g(E);return E.isSame(N)},u=()=>{t.emit("pick",i.value,!1)},p=(R=!1,E=!1)=>{E||t.emit("pick",e.parsedValue,R)},f=R=>{if(!e.visible)return;const E=g(R).millisecond(0);t.emit("pick",E,!0)},h=(R,E)=>{t.emit("select-range",R,E),a.value=[R,E]},b=R=>{const E=[0,3].concat(s.value?[6]:[]),N=["hours","minutes"].concat(s.value?["seconds"]:[]),Y=(E.indexOf(a.value[0])+R+E.length)%E.length;x.start_emitSelectRange(N[Y])},m=R=>{const E=R.code;if(E===Pe.left||E===Pe.right){const N=E===Pe.left?-1:1;b(N),R.preventDefault();return}if(E===Pe.up||E===Pe.down){const N=E===Pe.up?-1:1;x.start_scrollDown(N),R.preventDefault();return}},g=R=>{const E={hour:F,minute:V,second:q};let N=R;return["hour","minute","second"].forEach(W=>{if(E[W]){let Y;const J=E[W];W==="minute"?Y=J(N.hour(),e.datetimeRole):W==="second"?Y=J(N.hour(),N.minute(),e.datetimeRole):Y=J(e.datetimeRole),Y&&Y.length&&!Y.includes(N[W]())&&(N=N[W](Y[0]))}}),N},v=R=>R?Ge(R,e.format).locale(r.value):null,y=R=>R?R.format(e.format):null,T=()=>Ge(L).locale(r.value);t.emit("set-picker-option",["isValidValue",d]),t.emit("set-picker-option",["formatToString",y]),t.emit("set-picker-option",["parseUserInput",v]),t.emit("set-picker-option",["handleKeydown",m]),t.emit("set-picker-option",["getRangeAvailableTime",g]),t.emit("set-picker-option",["getDefaultValue",T]);const x={},k=R=>{x[R[0]]=R[1]},$=Ie("EP_PICKER_BASE"),{arrowControl:z,disabledHours:P,disabledMinutes:O,disabledSeconds:D,defaultValue:L}=$.props,{getAvailableHours:F,getAvailableMinutes:V,getAvailableSeconds:q}=v0(P,O,D);return{ns:n,transitionName:l,arrowControl:z,onSetOption:k,t:o,handleConfirm:p,handleChange:f,setSelectionRange:h,amPmMode:c,showSeconds:s,handleCancel:u,disabledHours:P,disabledMinutes:O,disabledSeconds:D}}});function ER(e,t,n,o,r,a){const i=le("time-spinner");return w(),Q(qt,{name:e.transitionName},{default:K(()=>[e.actualVisible||e.visible?(w(),I("div",{key:0,class:S(e.ns.b("panel"))},[M("div",{class:S([e.ns.be("panel","content"),{"has-seconds":e.showSeconds}])},[U(i,{ref:"spinner",role:e.datetimeRole||"start","arrow-control":e.arrowControl,"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"spinner-date":e.parsedValue,"disabled-hours":e.disabledHours,"disabled-minutes":e.disabledMinutes,"disabled-seconds":e.disabledSeconds,onChange:e.handleChange,onSetOption:e.onSetOption,onSelectRange:e.setSelectionRange},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onChange","onSetOption","onSelectRange"])],2),M("div",{class:S(e.ns.be("panel","footer"))},[M("button",{type:"button",class:S([e.ns.be("panel","btn"),"cancel"]),onClick:t[0]||(t[0]=(...l)=>e.handleCancel&&e.handleCancel(...l))},ve(e.t("el.datepicker.cancel")),3),M("button",{type:"button",class:S([e.ns.be("panel","btn"),"confirm"]),onClick:t[1]||(t[1]=l=>e.handleConfirm())},ve(e.t("el.datepicker.confirm")),3)],2)],2)):G("v-if",!0)]),_:1},8,["name"])}var $p=_e(AR,[["render",ER],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const ta=(e,t)=>{const n=[];for(let o=e;o<=t;o++)n.push(o);return n},zR=ee({components:{TimeSpinner:_0},props:{visible:Boolean,actualVisible:Boolean,parsedValue:{type:[Array]},format:{type:String,default:""}},emits:["pick","select-range","set-picker-option"],setup(e,t){const{t:n,lang:o}=Tt(),r=ke("time"),a=ke("picker"),i=C(()=>e.parsedValue[0]),l=C(()=>e.parsedValue[1]),s=y0(e),c=()=>{t.emit("pick",s.value,!1)},d=C(()=>e.format.includes("ss")),u=C(()=>e.format.includes("A")?"A":e.format.includes("a")?"a":""),p=A([]),f=A([]),h=(be=!1)=>{t.emit("pick",[i.value,l.value],be)},b=be=>{v(be.millisecond(0),l.value)},m=be=>{v(i.value,be.millisecond(0))},g=be=>{const $e=be.map(Me=>Ge(Me).locale(o.value)),Ne=F($e);return $e[0].isSame(Ne[0])&&$e[1].isSame(Ne[1])},v=(be,$e)=>{t.emit("pick",[be,$e],!0)},y=C(()=>i.value>l.value),T=A([0,2]),x=(be,$e)=>{t.emit("select-range",be,$e,"min"),T.value=[be,$e]},k=C(()=>d.value?11:8),$=(be,$e)=>{t.emit("select-range",be,$e,"max"),T.value=[be+k.value,$e+k.value]},z=be=>{const $e=d.value?[0,3,6,11,14,17]:[0,3,8,11],Ne=["hours","minutes"].concat(d.value?["seconds"]:[]),j=($e.indexOf(T.value[0])+be+$e.length)%$e.length,X=$e.length/2;j{const $e=be.code;if($e===Pe.left||$e===Pe.right){const Ne=$e===Pe.left?-1:1;z(Ne),be.preventDefault();return}if($e===Pe.up||$e===Pe.down){const Ne=$e===Pe.up?-1:1,Me=T.value[0]{const Ne=oe?oe(be):[],Me=be==="start",X=($e||(Me?l.value:i.value)).hour(),de=Me?ta(X+1,23):ta(0,X-1);return Ic(Ne,de)},D=(be,$e,Ne)=>{const Me=H?H(be,$e):[],j=$e==="start",X=Ne||(j?l.value:i.value),de=X.hour();if(be!==de)return Me;const xe=X.minute(),we=j?ta(xe+1,59):ta(0,xe-1);return Ic(Me,we)},L=(be,$e,Ne,Me)=>{const j=ne?ne(be,$e,Ne):[],X=Ne==="start",de=Me||(X?l.value:i.value),xe=de.hour(),we=de.minute();if(be!==xe||$e!==we)return j;const Ae=de.second(),ce=X?ta(Ae+1,59):ta(0,Ae-1);return Ic(j,ce)},F=be=>be.map(($e,Ne)=>E(be[0],be[1],Ne===0?"start":"end")),{getAvailableHours:V,getAvailableMinutes:q,getAvailableSeconds:R}=v0(O,D,L),E=(be,$e,Ne)=>{const Me={hour:V,minute:q,second:R},j=Ne==="start";let X=j?be:$e;const de=j?$e:be;return["hour","minute","second"].forEach(xe=>{if(Me[xe]){let we;const Ae=Me[xe];if(xe==="minute"?we=Ae(X.hour(),Ne,de):xe==="second"?we=Ae(X.hour(),X.minute(),Ne,de):we=Ae(Ne,de),we&&we.length&&!we.includes(X[xe]())){const ce=j?0:we.length-1;X=X[xe](we[ce])}}}),X},N=be=>be?Array.isArray(be)?be.map($e=>Ge($e,e.format).locale(o.value)):Ge(be,e.format).locale(o.value):null,W=be=>be?Array.isArray(be)?be.map($e=>$e.format(e.format)):be.format(e.format):null,Y=()=>{if(Array.isArray(ie))return ie.map($e=>Ge($e).locale(o.value));const be=Ge(ie).locale(o.value);return[be,be.add(60,"m")]};t.emit("set-picker-option",["formatToString",W]),t.emit("set-picker-option",["parseUserInput",N]),t.emit("set-picker-option",["isValidValue",g]),t.emit("set-picker-option",["handleKeydown",P]),t.emit("set-picker-option",["getDefaultValue",Y]),t.emit("set-picker-option",["getRangeAvailableTime",F]);const J={},Z=be=>{J[be[0]]=be[1]},se=Ie("EP_PICKER_BASE"),{arrowControl:Se,disabledHours:oe,disabledMinutes:H,disabledSeconds:ne,defaultValue:ie}=se.props;return{nsTime:r,nsPicker:a,arrowControl:Se,onSetOption:Z,setMaxSelectionRange:$,setMinSelectionRange:x,btnConfirmDisabled:y,handleCancel:c,handleConfirm:h,t:n,showSeconds:d,minDate:i,maxDate:l,amPmMode:u,handleMinChange:b,handleMaxChange:m,minSelectableRange:p,maxSelectableRange:f,disabledHours_:O,disabledMinutes_:D,disabledSeconds_:L}}}),IR=["disabled"];function NR(e,t,n,o,r,a){const i=le("time-spinner");return e.actualVisible?(w(),I("div",{key:0,class:S([e.nsTime.b("range-picker"),e.nsPicker.b("panel")])},[M("div",{class:S(e.nsTime.be("range-picker","content"))},[M("div",{class:S(e.nsTime.be("range-picker","cell"))},[M("div",{class:S(e.nsTime.be("range-picker","header"))},ve(e.t("el.datepicker.startTime")),3),M("div",{class:S([e.nsTime.be("range-picker","body"),e.nsTime.be("panel","content"),e.nsTime.is("arrow",e.arrowControl),{"has-seconds":e.showSeconds}])},[U(i,{ref:"minSpinner",role:"start","show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,"spinner-date":e.minDate,"disabled-hours":e.disabledHours_,"disabled-minutes":e.disabledMinutes_,"disabled-seconds":e.disabledSeconds_,onChange:e.handleMinChange,onSetOption:e.onSetOption,onSelectRange:e.setMinSelectionRange},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onChange","onSetOption","onSelectRange"])],2)],2),M("div",{class:S(e.nsTime.be("range-picker","cell"))},[M("div",{class:S(e.nsTime.be("range-picker","header"))},ve(e.t("el.datepicker.endTime")),3),M("div",{class:S([e.nsTime.be("range-picker","body"),e.nsTime.be("panel","content"),e.nsTime.is("arrow",e.arrowControl),{"has-seconds":e.showSeconds}])},[U(i,{ref:"maxSpinner",role:"end","show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,"spinner-date":e.maxDate,"disabled-hours":e.disabledHours_,"disabled-minutes":e.disabledMinutes_,"disabled-seconds":e.disabledSeconds_,onChange:e.handleMaxChange,onSetOption:e.onSetOption,onSelectRange:e.setMaxSelectionRange},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onChange","onSetOption","onSelectRange"])],2)],2)],2),M("div",{class:S(e.nsTime.be("panel","footer"))},[M("button",{type:"button",class:S([e.nsTime.be("panel","btn"),"cancel"]),onClick:t[0]||(t[0]=l=>e.handleCancel())},ve(e.t("el.datepicker.cancel")),3),M("button",{type:"button",class:S([e.nsTime.be("panel","btn"),"confirm"]),disabled:e.btnConfirmDisabled,onClick:t[1]||(t[1]=l=>e.handleConfirm())},ve(e.t("el.datepicker.confirm")),11,IR)],2)],2)):G("v-if",!0)}var MR=_e(zR,[["render",NR],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-range.vue"]]);Ge.extend(Cp);var RR=ee({name:"ElTimePicker",install:null,props:ze(he({},Sp),{isRange:{type:Boolean,default:!1}}),emits:["update:modelValue"],setup(e,t){const n=A(null),o=e.isRange?"timerange":"time",r=e.isRange?MR:$p,a=ze(he({},e),{focus:()=>{var i;(i=n.value)==null||i.handleFocus()},blur:()=>{var i;(i=n.value)==null||i.handleBlur()}});return ot("ElPopperOptions",e.popperOptions),t.expose(a),()=>{var i;const l=(i=e.format)!=null?i:Ld;return Re(l0,ze(he({},e),{format:l,type:o,ref:n,"onUpdate:modelValue":s=>t.emit("update:modelValue",s)}),{default:s=>Re(r,s)})}}});const sr=e=>Array.from(Array.from({length:e}).keys()),w0=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),x0=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),Wl=RR;Wl.install=e=>{e.component(Wl.name,Wl)};const PR=Wl,OR=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return sr(t).map((o,r)=>n-(t-r-1))},FR=e=>{const t=e.daysInMonth();return sr(t).map((n,o)=>o+1)},DR=e=>sr(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),LR=Le({selectedDay:{type:Te(Object)},range:{type:Te(Array)},date:{type:Te(Object),required:!0},hideHeader:{type:Boolean}}),VR={pick:e=>ut(e)},BR={key:0},jR=["onClick"],HR={name:"DateTable"},qR=ee(ze(he({},HR),{props:LR,emits:VR,setup(e,{expose:t,emit:n}){const o=e;Ge.extend(a0);const{t:r,lang:a}=Tt(),i=ke("calendar-table"),l=ke("calendar-day"),s=Ge().locale(a.value),c=s.$locale().weekStart||0,d=C(()=>!!o.range&&!!o.range.length),u=C(()=>{let g=[];if(d.value){const[v,y]=o.range,T=sr(y.date()-v.date()+1).map($=>({text:v.date()+$,type:"current"}));let x=T.length%7;x=x===0?0:7-x;const k=sr(x).map(($,z)=>({text:z+1,type:"next"}));g=T.concat(k)}else{const v=o.date.startOf("month").day()||7,y=OR(o.date,v-c).map(k=>({text:k,type:"prev"})),T=FR(o.date).map(k=>({text:k,type:"current"}));g=[...y,...T];const x=sr(42-g.length).map((k,$)=>({text:$+1,type:"next"}));g=g.concat(x)}return DR(g)}),p=C(()=>{const g=c;return g===0?Mc.map(v=>r(`el.datepicker.weeks.${v}`)):Mc.slice(g).concat(Mc.slice(0,g)).map(v=>r(`el.datepicker.weeks.${v}`))}),f=(g,v)=>{switch(v){case"prev":return o.date.startOf("month").subtract(1,"month").date(g);case"next":return o.date.startOf("month").add(1,"month").date(g);case"current":return o.date.date(g)}},h=({text:g,type:v})=>{const y=[v];if(v==="current"){const T=f(g,v);T.isSame(o.selectedDay,"day")&&y.push(l.is("selected")),T.isSame(s,"day")&&y.push(l.is("today"))}return y},b=({text:g,type:v})=>{const y=f(g,v);n("pick",y)},m=({text:g,type:v})=>{const y=f(g,v);return{isSelected:y.isSame(o.selectedDay),type:`${v}-month`,day:y.format("YYYY-MM-DD"),date:y.toDate()}};return t({getFormattedDate:f}),(g,v)=>(w(),I("table",{class:S([_(i).b(),_(i).is("range",_(d))]),cellspacing:"0",cellpadding:"0"},[g.hideHeader?G("v-if",!0):(w(),I("thead",BR,[(w(!0),I(Fe,null,ct(_(p),y=>(w(),I("th",{key:y},ve(y),1))),128))])),M("tbody",null,[(w(!0),I(Fe,null,ct(_(u),(y,T)=>(w(),I("tr",{key:T,class:S({[_(i).e("row")]:!0,[_(i).em("row","hide-border")]:T===0&&g.hideHeader})},[(w(!0),I(Fe,null,ct(y,(x,k)=>(w(),I("td",{key:k,class:S(h(x)),onClick:$=>b(x)},[M("div",{class:S(_(l).b())},[ue(g.$slots,"dateCell",{data:m(x)},()=>[M("span",null,ve(x.text),1)])],2)],10,jR))),128))],2))),128))])],2))}}));var Om=_e(qR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const KR=Le({modelValue:{type:Date},range:{type:Te(Array),validator:e=>Array.isArray(e)&&e.length===2&&e.every(t=>t instanceof Date)}}),WR={[tt]:e=>e instanceof Date,input:e=>e instanceof Date},UR={name:"ElCalendar"},YR=ee(ze(he({},UR),{props:KR,emits:WR,setup(e,{expose:t,emit:n}){const o=e,r=ke("calendar"),{t:a,lang:i}=Tt(),l=A(),s=Ge().locale(i.value),c=C(()=>b.value.subtract(1,"month").date(1)),d=C(()=>b.value.add(1,"month").date(1)),u=C(()=>b.value.subtract(1,"year").date(1)),p=C(()=>b.value.add(1,"year").date(1)),f=C(()=>{const T=`el.datepicker.month${b.value.format("M")}`;return`${b.value.year()} ${a("el.datepicker.year")} ${a(T)}`}),h=C({get(){return o.modelValue?b.value:l.value},set(T){if(!T)return;l.value=T;const x=T.toDate();n("input",x),n("update:modelValue",x)}}),b=C(()=>o.modelValue?Ge(o.modelValue).locale(i.value):h.value?h.value:g.value.length?g.value[0][0]:s),m=(T,x)=>{const k=T.startOf("week"),$=x.endOf("week"),z=k.get("month"),P=$.get("month");if(z===P)return[[k,$]];if(z+1===P){const O=k.endOf("month"),D=$.startOf("month"),F=O.isSame(D,"week")?D.add(1,"week"):D;return[[k,O],[F.startOf("week"),$]]}else if(z+2===P){const O=k.endOf("month"),D=k.add(1,"month").startOf("month"),L=O.isSame(D,"week")?D.add(1,"week"):D,F=L.endOf("month"),V=$.startOf("month"),q=F.isSame(V,"week")?V.add(1,"week"):V;return[[k,O],[L.startOf("week"),F],[q.startOf("week"),$]]}else return[]},g=C(()=>{if(!o.range)return[];const T=o.range.map($=>Ge($).locale(i.value)),[x,k]=T;return x.isAfter(k)?[]:x.isSame(k,"month")?m(x,k):x.add(1,"month").month()!==k.month()?[]:m(x,k)}),v=T=>{h.value=T},y=T=>{let x;T==="prev-month"?x=c.value:T==="next-month"?x=d.value:T==="prev-year"?x=u.value:T==="next-year"?x=p.value:x=s,!x.isSame(b.value,"day")&&v(x)};return t({selectedDay:h,pickDay:v,selectDate:y,calculateValidatedDateRange:m}),(T,x)=>(w(),I("div",{class:S(_(r).b())},[M("div",{class:S(_(r).e("header"))},[ue(T.$slots,"header",{date:_(f)},()=>[M("div",{class:S(_(r).e("title"))},ve(_(f)),3),_(g).length===0?(w(),I("div",{key:0,class:S(_(r).e("button-group"))},[U(_(n0),null,{default:K(()=>[U(_(Vn),{size:"small",onClick:x[0]||(x[0]=k=>y("prev-month"))},{default:K(()=>[it(ve(_(a)("el.datepicker.prevMonth")),1)]),_:1}),U(_(Vn),{size:"small",onClick:x[1]||(x[1]=k=>y("today"))},{default:K(()=>[it(ve(_(a)("el.datepicker.today")),1)]),_:1}),U(_(Vn),{size:"small",onClick:x[2]||(x[2]=k=>y("next-month"))},{default:K(()=>[it(ve(_(a)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):G("v-if",!0)])],2),_(g).length===0?(w(),I("div",{key:0,class:S(_(r).e("body"))},[U(Om,{date:_(b),"selected-day":_(h),onPick:v},dr({_:2},[T.$slots.dateCell?{name:"dateCell",fn:K(k=>[ue(T.$slots,"dateCell",eo(ur(k)))])}:void 0]),1032,["date","selected-day"])],2)):(w(),I("div",{key:1,class:S(_(r).e("body"))},[(w(!0),I(Fe,null,ct(_(g),(k,$)=>(w(),Q(Om,{key:$,date:k[0],"selected-day":_(h),range:k,"hide-header":$!==0,onPick:v},dr({_:2},[T.$slots.dateCell?{name:"dateCell",fn:K(z=>[ue(T.$slots,"dateCell",eo(ur(z)))])}:void 0]),1032,["date","selected-day","range","hide-header"]))),128))],2))],2))}}));var GR=_e(YR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/calendar.vue"]]);const XR=rt(GR),ZR=Le({header:{type:String,default:""},bodyStyle:{type:Te([String,Object,Array]),default:""},shadow:{type:String,default:"always"}}),JR={name:"ElCard"},QR=ee(ze(he({},JR),{props:ZR,setup(e){const t=ke("card");return(n,o)=>(w(),I("div",{class:S([_(t).b(),_(t).is(`${n.shadow}-shadow`)])},[n.$slots.header||n.header?(w(),I("div",{key:0,class:S(_(t).e("header"))},[ue(n.$slots,"header",{},()=>[it(ve(n.header),1)])],2)):G("v-if",!0),M("div",{class:S(_(t).e("body")),style:Oe(n.bodyStyle)},[ue(n.$slots,"default")],6)],2))}}));var eP=_e(QR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const tP=rt(eP),nP=Le({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,default:""},indicator:{type:Boolean,default:!0},arrow:{type:String,default:"hover"},type:{type:String,default:""},loop:{type:Boolean,default:!0},direction:{type:String,default:"horizontal",validator(e){return["horizontal","vertical"].includes(e)}},pauseOnHover:{type:Boolean,default:!0}}),oP={change:(e,t)=>[e,t].every(mt)},rP=["onMouseenter","onMouseleave"],aP=["onMouseenter","onClick"],iP={key:0},lP={name:"ElCarousel"},sP=ee(ze(he({},lP),{props:nP,emits:oP,setup(e,{expose:t,emit:n}){const o=e,r=ke("carousel"),a=300,i=A(-1),l=A(null),s=A(!1),c=A(),d=A([]),u=C(()=>o.arrow!=="never"&&!_(m)),p=C(()=>d.value.some(Y=>Y.props.label.toString().length>0)),f=C(()=>{const Y=[r.b(),r.m(o.direction)];return _(b)&&Y.push(r.m("card")),Y}),h=C(()=>{const Y=[r.e("indicators"),r.em("indicators",o.direction)];return p.value&&Y.push(r.em("indicators","labels")),(o.indicatorPosition==="outside"||_(b))&&Y.push(r.em("indicators","outside")),Y}),b=C(()=>o.type==="card"),m=C(()=>o.direction==="vertical"),g=Pr(Y=>{k(Y)},a,{trailing:!0}),v=Pr(Y=>{R(Y)},a);function y(){l.value&&(clearInterval(l.value),l.value=null)}function T(){o.interval<=0||!o.autoplay||l.value||(l.value=setInterval(()=>x(),o.interval))}const x=()=>{i.valueSe.props.name===Y);se.length>0&&(Y=d.value.indexOf(se[0]))}if(Y=Number(Y),Number.isNaN(Y)||Y!==Math.floor(Y))return;const J=d.value.length,Z=i.value;Y<0?i.value=o.loop?J-1:0:Y>=J?i.value=o.loop?0:J-1:i.value=Y,Z===i.value&&$(Z)}function $(Y){d.value.forEach((J,Z)=>{J.translateItem(Z,i.value,Y)})}function z(Y){d.value.push(Y)}function P(Y){const J=d.value.findIndex(Z=>Z.uid===Y);J!==-1&&(d.value.splice(J,1),i.value===J&&N())}function O(Y,J){var Z,se,Se,oe;const H=_(d),ne=H.length;if(ne===0||!Y.states.inStage)return!1;const ie=J+1,be=J-1,$e=ne-1,Ne=H[$e].states.active,Me=H[0].states.active,j=(se=(Z=H[ie])==null?void 0:Z.states)==null?void 0:se.active,X=(oe=(Se=H[be])==null?void 0:Se.states)==null?void 0:oe.active;return J===$e&&Me||j?"left":J===0&&Ne||X?"right":!1}function D(){s.value=!0,o.pauseOnHover&&y()}function L(){s.value=!1,T()}function F(Y){_(m)||d.value.forEach((J,Z)=>{Y===O(J,Z)&&(J.states.hover=!0)})}function V(){_(m)||d.value.forEach(Y=>{Y.states.hover=!1})}function q(Y){i.value=Y}function R(Y){o.trigger==="hover"&&Y!==i.value&&(i.value=Y)}function E(){k(i.value-1)}function N(){k(i.value+1)}ge(()=>i.value,(Y,J)=>{$(J),J>-1&&n("change",Y,J)}),ge(()=>o.autoplay,Y=>{Y?T():y()}),ge(()=>o.loop,()=>{k(i.value)});const W=Kt();return et(async()=>{await je(),W.value=Ba(c.value,()=>{$()}),o.initialIndex=0&&(i.value=o.initialIndex),T()}),$t(()=>{y(),c.value&&W.value&&W.value.stop()}),ot(sy,{root:c,isCardType:b,isVertical:m,items:d,loop:o.loop,addItem:z,removeItem:P,setActiveItem:k}),t({setActiveItem:k,prev:E,next:N}),(Y,J)=>(w(),I("div",{ref_key:"root",ref:c,class:S(_(f)),onMouseenter:He(D,["stop"]),onMouseleave:He(L,["stop"])},[M("div",{class:S(_(r).e("container")),style:Oe({height:Y.height})},[_(u)?(w(),Q(qt,{key:0,name:"carousel-arrow-left"},{default:K(()=>[Ue(M("button",{type:"button",class:S([_(r).e("arrow"),_(r).em("arrow","left")]),onMouseenter:J[0]||(J[0]=Z=>F("left")),onMouseleave:V,onClick:J[1]||(J[1]=He(Z=>_(g)(i.value-1),["stop"]))},[U(_(qe),null,{default:K(()=>[U(_(Xr))]),_:1})],34),[[ft,(Y.arrow==="always"||s.value)&&(o.loop||i.value>0)]])]),_:1})):G("v-if",!0),_(u)?(w(),Q(qt,{key:1,name:"carousel-arrow-right"},{default:K(()=>[Ue(M("button",{type:"button",class:S([_(r).e("arrow"),_(r).em("arrow","right")]),onMouseenter:J[2]||(J[2]=Z=>F("right")),onMouseleave:V,onClick:J[3]||(J[3]=He(Z=>_(g)(i.value+1),["stop"]))},[U(_(qe),null,{default:K(()=>[U(_(Yn))]),_:1})],34),[[ft,(Y.arrow==="always"||s.value)&&(o.loop||i.value(w(),I("li",{key:se,class:S([_(r).e("indicator"),_(r).em("indicator",Y.direction),_(r).is("active",se===i.value)]),onMouseenter:Se=>_(v)(se),onClick:He(Se=>q(se),["stop"])},[M("button",{class:S(_(r).e("button"))},[_(p)?(w(),I("span",iP,ve(Z.props.label),1)):G("v-if",!0)],2)],42,aP))),128))],2)):G("v-if",!0)],42,rP))}}));var cP=_e(sP,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel.vue"]]);const dP=Le({name:{type:String,default:""},label:{type:[String,Number],default:""}}),uP={name:"ElCarouselItem"},pP=ee(ze(he({},uP),{props:dP,setup(e){const t=e,n=ke("carousel"),o=Ie(sy),r=nt(),a=.83,i=A(!1),l=A(0),s=A(1),c=A(!1),d=A(!1),u=A(!1),p=A(!1),{isCardType:f,isVertical:h}=o,b=C(()=>{const k=`${`translate${_(h)?"Y":"X"}`}(${_(l)}px)`,$=`scale(${_(s)})`;return{transform:[k,$].join(" ")}});function m(x,k,$){const z=$-1,P=k-1,O=k+1,D=$/2;return k===0&&x===z?-1:k===z&&x===0?$:x=D?$+1:x>O&&x-k>=D?-2:x}function g(x,k){var $;const z=(($=o.root.value)==null?void 0:$.offsetWidth)||0;return u.value?z*((2-a)*(x-k)+1)/4:x{var z;const P=_(f),O=(z=o.items.value.length)!=null?z:Number.NaN,D=x===k;!P&&!Cn($)&&(p.value=D||x===$),!D&&O>2&&o.loop&&(x=m(x,k,O));const L=_(h);c.value=D,P?(u.value=Math.round(Math.abs(x-k))<=1,l.value=g(x,k),s.value=_(c)?1:a):l.value=v(x,k,L),d.value=!0};function T(){if(o&&_(f)){const x=o.items.value.findIndex(({uid:k})=>k===r.uid);o.setActiveItem(x)}}return et(()=>{o.addItem({props:t,states:vt({hover:i,translate:l,scale:s,active:c,ready:d,inStage:u,animating:p}),uid:r.uid,translateItem:y})}),Qi(()=>{o.removeItem(r.uid)}),(x,k)=>Ue((w(),I("div",{class:S([_(n).e("item"),_(n).is("active",c.value),_(n).is("in-stage",u.value),_(n).is("hover",i.value),_(n).is("animating",p.value),{[_(n).em("item","card")]:_(f)}]),style:Oe(_(b)),onClick:T},[_(f)?Ue((w(),I("div",{key:0,class:S(_(n).e("mask"))},null,2)),[[ft,!c.value]]):G("v-if",!0),ue(x.$slots,"default")],6)),[[ft,d.value]])}}));var k0=_e(pP,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue"]]);const fP=rt(cP,{CarouselItem:k0}),hP=Dt(k0),mP={modelValue:{type:[Boolean,Number,String],default:()=>{}},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},tabindex:[String,Number],size:String},Ua=()=>{const e=Ie(Mn,{}),t=Ie(qn,{}),n=Ie("CheckboxGroup",{}),o=C(()=>n&&(n==null?void 0:n.name)==="ElCheckboxGroup"),r=C(()=>t.size);return{isGroup:o,checkboxGroup:n,elForm:e,elFormItemSize:r,elFormItem:t}},gP=e=>{const t=A(!1),{emit:n}=nt(),{isGroup:o,checkboxGroup:r}=Ua(),a=A(!1);return{model:C({get(){var l,s;return o.value?(l=r.modelValue)==null?void 0:l.value:(s=e.modelValue)!=null?s:t.value},set(l){var s;o.value&&Array.isArray(l)?(a.value=r.max!==void 0&&l.length>r.max.value,a.value===!1&&((s=r==null?void 0:r.changeEvent)==null||s.call(r,l))):(n(tt,l),t.value=l)}}),isLimitExceeded:a}},bP=(e,{model:t})=>{const{isGroup:n,checkboxGroup:o}=Ua(),r=A(!1),a=Ut(o==null?void 0:o.checkboxGroupSize,{prop:!0}),i=C(()=>{const s=t.value;return Fa(s)==="[object Boolean]"?s:Array.isArray(s)?s.includes(e.label):s!=null?s===e.trueLabel:!!s}),l=Ut(C(()=>{var s;return n.value?(s=o==null?void 0:o.checkboxGroupSize)==null?void 0:s.value:void 0}));return{isChecked:i,focus:r,size:a,checkboxSize:l}},vP=(e,{model:t,isChecked:n})=>{const{elForm:o,isGroup:r,checkboxGroup:a}=Ua(),i=C(()=>{var s,c;const d=(s=a.max)==null?void 0:s.value,u=(c=a.min)==null?void 0:c.value;return!!(d||u)&&t.value.length>=d&&!n.value||t.value.length<=u&&n.value});return{isDisabled:C(()=>{var s,c;const d=e.disabled||o.disabled;return(c=r.value?((s=a.disabled)==null?void 0:s.value)||d||i.value:e.disabled||o.disabled)!=null?c:!1}),isLimitDisabled:i}},yP=(e,{model:t})=>{function n(){Array.isArray(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&n()},_P=(e,{isLimitExceeded:t})=>{const{elFormItem:n}=Ua(),{emit:o}=nt();function r(a){var i,l;if(t.value)return;const c=a.target.checked?(i=e.trueLabel)!=null?i:!0:(l=e.falseLabel)!=null?l:!1;o("change",c,a)}return ge(()=>e.modelValue,()=>{var a;(a=n.validate)==null||a.call(n,"change").catch(i=>void 0)}),{handleChange:r}},T0=e=>{const{model:t,isLimitExceeded:n}=gP(e),{focus:o,size:r,isChecked:a,checkboxSize:i}=bP(e,{model:t}),{isDisabled:l}=vP(e,{model:t,isChecked:a}),{handleChange:s}=_P(e,{isLimitExceeded:n});return yP(e,{model:t}),{isChecked:a,isDisabled:l,checkboxSize:i,model:t,handleChange:s,focus:o,size:r}},wP=ee({name:"ElCheckbox",props:{modelValue:{type:[Number,String,Boolean],default:()=>{}},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:{type:String,validator:Nn},tabindex:[String,Number]},emits:[tt,"change"],setup(e){const t=ke("checkbox");return he({ns:t},T0(e))}}),xP=["id","aria-controls"],kP=["tabindex","role","aria-checked"],TP=["aria-hidden","name","tabindex","disabled","true-value","false-value"],CP=["aria-hidden","disabled","value","name","tabindex"];function SP(e,t,n,o,r,a){return w(),I("label",{id:e.id,class:S([e.ns.b(),e.ns.m(e.checkboxSize),e.ns.is("disabled",e.isDisabled),e.ns.is("bordered",e.border),e.ns.is("checked",e.isChecked)]),"aria-controls":e.indeterminate?e.controls:null},[M("span",{class:S([e.ns.e("input"),e.ns.is("disabled",e.isDisabled),e.ns.is("checked",e.isChecked),e.ns.is("indeterminate",e.indeterminate),e.ns.is("focus",e.focus)]),tabindex:e.indeterminate?0:void 0,role:e.indeterminate?"checkbox":void 0,"aria-checked":e.indeterminate?"mixed":!1},[M("span",{class:S(e.ns.e("inner"))},null,2),e.trueLabel||e.falseLabel?Ue((w(),I("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=i=>e.model=i),class:S(e.ns.e("original")),type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,tabindex:e.tabindex,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...i)=>e.handleChange&&e.handleChange(...i)),onFocus:t[2]||(t[2]=i=>e.focus=!0),onBlur:t[3]||(t[3]=i=>e.focus=!1)},null,42,TP)),[[vs,e.model]]):Ue((w(),I("input",{key:1,"onUpdate:modelValue":t[4]||(t[4]=i=>e.model=i),class:S(e.ns.e("original")),type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,value:e.label,name:e.name,tabindex:e.tabindex,onChange:t[5]||(t[5]=(...i)=>e.handleChange&&e.handleChange(...i)),onFocus:t[6]||(t[6]=i=>e.focus=!0),onBlur:t[7]||(t[7]=i=>e.focus=!1)},null,42,CP)),[[vs,e.model]])],10,kP),e.$slots.default||e.label?(w(),I("span",{key:0,class:S(e.ns.e("label"))},[ue(e.$slots,"default"),e.$slots.default?G("v-if",!0):(w(),I(Fe,{key:0},[it(ve(e.label),1)],2112))],2)):G("v-if",!0)],10,xP)}var $P=_e(wP,[["render",SP],["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const AP=ee({name:"ElCheckboxButton",props:mP,emits:[tt,"change"],setup(e){const{focus:t,isChecked:n,isDisabled:o,size:r,model:a,handleChange:i}=T0(e),{checkboxGroup:l}=Ua(),s=ke("checkbox"),c=C(()=>{var d,u,p,f;const h=(u=(d=l==null?void 0:l.fill)==null?void 0:d.value)!=null?u:"";return{backgroundColor:h,borderColor:h,color:(f=(p=l==null?void 0:l.textColor)==null?void 0:p.value)!=null?f:"",boxShadow:h?`-1px 0 0 0 ${h}`:null}});return{focus:t,isChecked:n,isDisabled:o,model:a,handleChange:i,activeStyle:c,size:r,ns:s}}}),EP=["aria-checked","aria-disabled"],zP=["name","tabindex","disabled","true-value","false-value"],IP=["name","tabindex","disabled","value"];function NP(e,t,n,o,r,a){return w(),I("label",{class:S([e.ns.b("button"),e.ns.bm("button",e.size),e.ns.is("disabled",e.isDisabled),e.ns.is("checked",e.isChecked),e.ns.is("focus",e.focus)]),role:"checkbox","aria-checked":e.isChecked,"aria-disabled":e.isDisabled},[e.trueLabel||e.falseLabel?Ue((w(),I("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=i=>e.model=i),class:S(e.ns.be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...i)=>e.handleChange&&e.handleChange(...i)),onFocus:t[2]||(t[2]=i=>e.focus=!0),onBlur:t[3]||(t[3]=i=>e.focus=!1)},null,42,zP)),[[vs,e.model]]):Ue((w(),I("input",{key:1,"onUpdate:modelValue":t[4]||(t[4]=i=>e.model=i),class:S(e.ns.be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:e.isDisabled,value:e.label,onChange:t[5]||(t[5]=(...i)=>e.handleChange&&e.handleChange(...i)),onFocus:t[6]||(t[6]=i=>e.focus=!0),onBlur:t[7]||(t[7]=i=>e.focus=!1)},null,42,IP)),[[vs,e.model]]),e.$slots.default||e.label?(w(),I("span",{key:2,class:S(e.ns.be("button","inner")),style:Oe(e.isChecked?e.activeStyle:null)},[ue(e.$slots,"default",{},()=>[it(ve(e.label),1)])],6)):G("v-if",!0)],10,EP)}var C0=_e(AP,[["render",NP],["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const MP=ee({name:"ElCheckboxGroup",props:{modelValue:{type:Array,default:()=>[]},disabled:Boolean,min:{type:Number,default:void 0},max:{type:Number,default:void 0},size:{type:String,validator:Nn},fill:{type:String,default:void 0},textColor:{type:String,default:void 0},tag:{type:String,default:"div"}},emits:[tt,"change"],setup(e,{emit:t,slots:n}){const{elFormItem:o}=Ua(),r=Ut(),a=ke("checkbox"),i=s=>{t(tt,s),je(()=>{t("change",s)})},l=C({get(){return e.modelValue},set(s){i(s)}});return ot("CheckboxGroup",ze(he({name:"ElCheckboxGroup",modelValue:l},Gt(e)),{checkboxGroupSize:r,changeEvent:i})),ge(()=>e.modelValue,()=>{var s;(s=o.validate)==null||s.call(o,"change").catch(c=>void 0)}),()=>Re(e.tag,{class:a.b("group"),role:"group","aria-label":"checkbox-group"},[ue(n,"default")])}});var S0=_e(MP,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const lo=rt($P,{CheckboxButton:C0,CheckboxGroup:S0}),RP=Dt(C0),$0=Dt(S0),A0=Le({size:dc,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),PP=Le(ze(he({},A0),{modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean})),E0={[tt]:e=>Qe(e)||mt(e)||on(e),change:e=>Qe(e)||mt(e)||on(e)},z0=(e,t)=>{const n=A(),o=Ie(fy,void 0),r=C(()=>!!o),a=C({get(){return r.value?o.modelValue:e.modelValue},set(d){r.value?o.changeEvent(d):t(tt,d),n.value.checked=e.modelValue===e.label}}),i=Ut(C(()=>o==null?void 0:o.size)),l=Zr(C(()=>o==null?void 0:o.disabled)),s=A(!1),c=C(()=>l.value||r.value&&a.value!==e.label?-1:0);return{radioRef:n,isGroup:r,radioGroup:o,focus:s,size:i,disabled:l,tabIndex:c,modelValue:a}},OP=ee({name:"ElRadio",props:PP,emits:E0,setup(e,{emit:t}){const n=ke("radio"),{radioRef:o,isGroup:r,focus:a,size:i,disabled:l,tabIndex:s,modelValue:c}=z0(e,t);function d(){je(()=>t("change",c.value))}return{ns:n,focus:a,isGroup:r,modelValue:c,tabIndex:s,size:i,disabled:l,radioRef:o,handleChange:d}}}),FP=["aria-checked","aria-disabled","tabindex"],DP=["value","name","disabled"];function LP(e,t,n,o,r,a){return w(),I("label",{class:S([e.ns.b(),e.ns.is("disabled",e.disabled),e.ns.is("focus",e.focus),e.ns.is("bordered",e.border),e.ns.is("checked",e.modelValue===e.label),e.ns.m(e.size)]),role:"radio","aria-checked":e.modelValue===e.label,"aria-disabled":e.disabled,tabindex:e.tabIndex,onKeydown:t[5]||(t[5]=st(He(i=>e.modelValue=e.disabled?e.modelValue:e.label,["stop","prevent"]),["space"]))},[M("span",{class:S([e.ns.e("input"),e.ns.is("disabled",e.disabled),e.ns.is("checked",e.modelValue===e.label)])},[M("span",{class:S(e.ns.e("inner"))},null,2),Ue(M("input",{ref:"radioRef","onUpdate:modelValue":t[0]||(t[0]=i=>e.modelValue=i),class:S(e.ns.e("original")),value:e.label,type:"radio","aria-hidden":"true",name:e.name,disabled:e.disabled,tabindex:"-1",onFocus:t[1]||(t[1]=i=>e.focus=!0),onBlur:t[2]||(t[2]=i=>e.focus=!1),onChange:t[3]||(t[3]=(...i)=>e.handleChange&&e.handleChange(...i))},null,42,DP),[[Hb,e.modelValue]])],2),M("span",{class:S(e.ns.e("label")),onKeydown:t[4]||(t[4]=He(()=>{},["stop"]))},[ue(e.$slots,"default",{},()=>[it(ve(e.label),1)])],34)],42,FP)}var VP=_e(OP,[["render",LP],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const BP=Le(ze(he({},A0),{name:{type:String,default:""}})),jP=ee({name:"ElRadioButton",props:BP,setup(e,{emit:t}){const n=ke("radio"),{radioRef:o,isGroup:r,focus:a,size:i,disabled:l,tabIndex:s,modelValue:c,radioGroup:d}=z0(e,t),u=C(()=>({backgroundColor:(d==null?void 0:d.fill)||"",borderColor:(d==null?void 0:d.fill)||"",boxShadow:d!=null&&d.fill?`-1px 0 0 0 ${d.fill}`:"",color:(d==null?void 0:d.textColor)||""}));return{ns:n,isGroup:r,size:i,disabled:l,tabIndex:s,modelValue:c,focus:a,activeStyle:u,radioRef:o}}}),HP=["aria-checked","aria-disabled","tabindex"],qP=["value","name","disabled"];function KP(e,t,n,o,r,a){return w(),I("label",{class:S([e.ns.b("button"),e.ns.is("active",e.modelValue===e.label),e.ns.is("disabled",e.disabled),e.ns.is("focus",e.focus),e.ns.bm("button",e.size)]),role:"radio","aria-checked":e.modelValue===e.label,"aria-disabled":e.disabled,tabindex:e.tabIndex,onKeydown:t[4]||(t[4]=st(He(i=>e.modelValue=e.disabled?e.modelValue:e.label,["stop","prevent"]),["space"]))},[Ue(M("input",{ref:"radioRef","onUpdate:modelValue":t[0]||(t[0]=i=>e.modelValue=i),class:S(e.ns.be("button","original-radio")),value:e.label,type:"radio",name:e.name,disabled:e.disabled,tabindex:"-1",onFocus:t[1]||(t[1]=i=>e.focus=!0),onBlur:t[2]||(t[2]=i=>e.focus=!1)},null,42,qP),[[Hb,e.modelValue]]),M("span",{class:S(e.ns.be("button","inner")),style:Oe(e.modelValue===e.label?e.activeStyle:{}),onKeydown:t[3]||(t[3]=He(()=>{},["stop"]))},[ue(e.$slots,"default",{},()=>[it(ve(e.label),1)])],38)],42,HP)}var I0=_e(jP,[["render",KP],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const WP=Le({size:dc,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},textColor:{type:String,default:""}}),UP=E0,YP=ee({name:"ElRadioGroup",props:WP,emits:UP,setup(e,t){const n=ke("radio"),o=A(),{formItem:r}=Ka(),a=l=>{t.emit(tt,l),je(()=>t.emit("change",l))},i=l=>{if(!o.value)return;const s=l.target,c=s.nodeName==="INPUT"?"[type=radio]":"[role=radio]",d=o.value.querySelectorAll(c),u=d.length,p=Array.from(d).indexOf(s),f=o.value.querySelectorAll("[role=radio]");let h=null;switch(l.code){case Pe.left:case Pe.up:l.stopPropagation(),l.preventDefault(),h=p===0?u-1:p-1;break;case Pe.right:case Pe.down:l.stopPropagation(),l.preventDefault(),h=p===u-1?0:p+1;break}h!==null&&(f[h].click(),f[h].focus())};return et(()=>{const l=o.value.querySelectorAll("[type=radio]"),s=l[0];!Array.from(l).some(c=>c.checked)&&s&&(s.tabIndex=0)}),ot(fy,vt(ze(he({},Gt(e)),{changeEvent:a}))),ge(()=>e.modelValue,()=>r==null?void 0:r.validate("change").catch(l=>void 0)),{ns:n,radioGroupRef:o,handleKeydown:i}}});function GP(e,t,n,o,r,a){return w(),I("div",{ref:"radioGroupRef",class:S(e.ns.b("group")),role:"radiogroup",onKeydown:t[0]||(t[0]=(...i)=>e.handleKeydown&&e.handleKeydown(...i))},[ue(e.$slots,"default")],34)}var N0=_e(YP,[["render",GP],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const M0=rt(VP,{RadioButton:I0,RadioGroup:N0}),XP=Dt(N0),ZP=Dt(I0);var JP=ee({name:"NodeContent",setup(){return{ns:ke("cascader-node")}},render(){const{ns:e}=this,{node:t,panel:n}=this.$parent,{data:o,label:r}=t,{renderLabelFn:a}=n;return Re("span",{class:e.e("label")},a?a({node:t,data:o}):r)}});const Ap=Symbol(),QP=ee({name:"ElCascaderNode",components:{ElCheckbox:lo,ElRadio:M0,NodeContent:JP,ElIcon:qe,Check:Ca,Loading:hr,ArrowRight:Yn},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=Ie(Ap),o=ke("cascader-node"),r=C(()=>n.isHoverMenu),a=C(()=>n.config.multiple),i=C(()=>n.config.checkStrictly),l=C(()=>{var k;return(k=n.checkedNodes[0])==null?void 0:k.uid}),s=C(()=>e.node.isDisabled),c=C(()=>e.node.isLeaf),d=C(()=>i.value&&!c.value||!s.value),u=C(()=>f(n.expandingNode)),p=C(()=>i.value&&n.checkedNodes.some(f)),f=k=>{var $;const{level:z,uid:P}=e.node;return(($=k==null?void 0:k.pathNodes[z-1])==null?void 0:$.uid)===P},h=()=>{u.value||n.expandNode(e.node)},b=k=>{const{node:$}=e;k!==$.checked&&n.handleCheckChange($,k)},m=()=>{n.lazyLoad(e.node,()=>{c.value||h()})},g=k=>{!r.value||(v(),!c.value&&t("expand",k))},v=()=>{const{node:k}=e;!d.value||k.loading||(k.loaded?h():m())},y=()=>{r.value&&!c.value||(c.value&&!s.value&&!i.value&&!a.value?x(!0):v())},T=k=>{i.value?(b(k),e.node.loaded&&h()):x(k)},x=k=>{e.node.loaded?(b(k),!i.value&&h()):m()};return{panel:n,isHoverMenu:r,multiple:a,checkStrictly:i,checkedNodeId:l,isDisabled:s,isLeaf:c,expandable:d,inExpandingPath:u,inCheckedPath:p,ns:o,handleHoverExpand:g,handleExpand:v,handleClick:y,handleCheck:x,handleSelectCheck:T}}}),eO=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],tO=M("span",null,null,-1);function nO(e,t,n,o,r,a){const i=le("el-checkbox"),l=le("el-radio"),s=le("check"),c=le("el-icon"),d=le("node-content"),u=le("loading"),p=le("arrow-right");return w(),I("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:S([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:t[2]||(t[2]=(...f)=>e.handleHoverExpand&&e.handleHoverExpand(...f)),onFocus:t[3]||(t[3]=(...f)=>e.handleHoverExpand&&e.handleHoverExpand(...f)),onClick:t[4]||(t[4]=(...f)=>e.handleClick&&e.handleClick(...f))},[G(" prefix "),e.multiple?(w(),Q(i,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:t[0]||(t[0]=He(()=>{},["stop"])),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):e.checkStrictly?(w(),Q(l,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:t[1]||(t[1]=He(()=>{},["stop"]))},{default:K(()=>[G(` +*/const mR=function(e,t){if(e&&e.addEventListener){const n=function(o){const r=hR(o);t&&Reflect.apply(t,this,[o,r])};sp()?e.addEventListener("DOMMouseScroll",n):e.onmousewheel=n}},gR={beforeMount(e,t){mR(e,t.value)}},bR={beforeMount(e,t){e._handleResize=()=>{var n;e&&((n=t.value)==null||n.call(t,e))},ja(e,e._handleResize)},beforeUnmount(e){Ha(e,e._handleResize)}},Dc=(e,t,n)=>{const o=[],r=t&&n();for(let a=0;ae.map((t,n)=>t||n).filter(t=>t!==!0),b0=(e,t,n)=>({getHoursList:(i,l)=>Dc(24,e,()=>e(i,l)),getMinutesList:(i,l,s)=>Dc(60,t,()=>t(i,l,s)),getSecondsList:(i,l,s,c)=>Dc(60,n,()=>n(i,l,s,c))}),v0=(e,t,n)=>{const{getHoursList:o,getMinutesList:r,getSecondsList:a}=b0(e,t,n);return{getAvailableHours:(c,d)=>Lc(o(c,d)),getAvailableMinutes:(c,d,u)=>Lc(r(c,d,u)),getAvailableSeconds:(c,d,u,p)=>Lc(a(c,d,u,p))}},y0=e=>{const t=A(e.parsedValue);return ge(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},vR=ee({directives:{repeatClick:s0},components:{ElScrollbar:qo,ElIcon:qe,ArrowUp:rl,ArrowDown:Gr},props:{role:{type:String,required:!0},spinnerDate:{type:Object,required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:String,default:""},disabledHours:{type:Function},disabledMinutes:{type:Function},disabledSeconds:{type:Function}},emits:["change","select-range","set-option"],setup(e,t){const n=ke("time");let o=!1;const r=bn(H=>{o=!1,P(H)},200),a=A(null),i=A(null),l=A(null),s=A(null),c={hours:i,minutes:l,seconds:s},d=C(()=>{const H=["hours","minutes","seconds"];return e.showSeconds?H:H.slice(0,2)}),u=C(()=>e.spinnerDate.hour()),p=C(()=>e.spinnerDate.minute()),f=C(()=>e.spinnerDate.second()),h=C(()=>({hours:u,minutes:p,seconds:f})),b=C(()=>se(e.role)),m=C(()=>Se(u.value,e.role)),g=C(()=>oe(u.value,p.value,e.role)),v=C(()=>({hours:b,minutes:m,seconds:g})),y=C(()=>{const H=u.value;return[H>0?H-1:void 0,H,H<23?H+1:void 0]}),T=C(()=>{const H=p.value;return[H>0?H-1:void 0,H,H<59?H+1:void 0]}),x=C(()=>{const H=f.value;return[H>0?H-1:void 0,H,H<59?H+1:void 0]}),k=C(()=>({hours:y,minutes:T,seconds:x})),$=H=>{if(!!!e.amPmMode)return"";const ie=e.amPmMode==="A";let be=H<12?" am":" pm";return ie&&(be=be.toUpperCase()),be},z=H=>{H==="hours"?t.emit("select-range",0,2):H==="minutes"?t.emit("select-range",3,5):H==="seconds"&&t.emit("select-range",6,8),a.value=H},P=H=>{L(H,h.value[H].value)},O=()=>{P("hours"),P("minutes"),P("seconds")},D=H=>H.querySelector(`.${n.namespace.value}-scrollbar__wrap`),L=(H,ne)=>{if(e.arrowControl)return;const ie=c[H];ie&&ie.$el&&(D(ie.$el).scrollTop=Math.max(0,ne*F(H)))},F=H=>c[H].$el.querySelector("li").offsetHeight,V=()=>{M(1)},q=()=>{M(-1)},M=H=>{a.value||z("hours");const ne=a.value;let ie=h.value[ne].value;const be=a.value==="hours"?24:60;ie=(ie+H+be)%be,E(ne,ie),L(ne,ie),je(()=>z(a.value))},E=(H,ne)=>{if(!v.value[H].value[ne])switch(H){case"hours":t.emit("change",e.spinnerDate.hour(ne).minute(p.value).second(f.value));break;case"minutes":t.emit("change",e.spinnerDate.hour(u.value).minute(ne).second(f.value));break;case"seconds":t.emit("change",e.spinnerDate.hour(u.value).minute(p.value).second(ne));break}},N=(H,{value:ne,disabled:ie})=>{ie||(E(H,ne),z(H),L(H,ne))},W=H=>{o=!0,r(H);const ne=Math.min(Math.round((D(c[H].$el).scrollTop-(Y(H)*.5-10)/F(H)+3)/F(H)),H==="hours"?23:59);E(H,ne)},Y=H=>c[H].$el.offsetHeight,J=()=>{const H=ne=>{c[ne]&&c[ne].$el&&(D(c[ne].$el).onscroll=()=>{W(ne)})};H("hours"),H("minutes"),H("seconds")};et(()=>{je(()=>{!e.arrowControl&&J(),O(),e.role==="start"&&z("hours")})});const Z=(H,ne)=>{c[ne]=H};t.emit("set-option",[`${e.role}_scrollDown`,M]),t.emit("set-option",[`${e.role}_emitSelectRange`,z]);const{getHoursList:se,getMinutesList:Se,getSecondsList:oe}=b0(e.disabledHours,e.disabledMinutes,e.disabledSeconds);return ge(()=>e.spinnerDate,()=>{o||O()}),{ns:n,setRef:Z,spinnerItems:d,currentScrollbar:a,hours:u,minutes:p,seconds:f,hoursList:b,minutesList:m,arrowHourList:y,arrowMinuteList:T,arrowSecondList:x,getAmPmFlag:$,emitSelectRange:z,adjustCurrentSpinner:P,typeItemHeight:F,listHoursRef:i,listMinutesRef:l,listSecondsRef:s,onIncreaseClick:V,onDecreaseClick:q,handleClick:N,secondsList:g,timePartsMap:h,arrowListMap:k,listMap:v}}}),yR=["onClick"],_R=["onMouseenter"];function wR(e,t,n,o,r,a){const i=le("el-scrollbar"),l=le("arrow-up"),s=le("el-icon"),c=le("arrow-down"),d=In("repeat-click");return w(),I("div",{class:S([e.ns.b("spinner"),{"has-seconds":e.showSeconds}])},[e.arrowControl?G("v-if",!0):(w(!0),I(Fe,{key:0},st(e.spinnerItems,u=>(w(),Q(i,{key:u,ref_for:!0,ref:p=>e.setRef(p,u),class:S(e.ns.be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":e.ns.be("spinner","list"),noresize:"",tag:"ul",onMouseenter:p=>e.emitSelectRange(u),onMousemove:p=>e.adjustCurrentSpinner(u)},{default:K(()=>[(w(!0),I(Fe,null,st(e.listMap[u].value,(p,f)=>(w(),I("li",{key:f,class:S([e.ns.be("spinner","item"),e.ns.is("active",f===e.timePartsMap[u].value),e.ns.is("disabled",p)]),onClick:h=>e.handleClick(u,{value:f,disabled:p})},[u==="hours"?(w(),I(Fe,{key:0},[ct(ve(("0"+(e.amPmMode?f%12||12:f)).slice(-2))+ve(e.getAmPmFlag(f)),1)],2112)):(w(),I(Fe,{key:1},[ct(ve(("0"+f).slice(-2)),1)],2112))],10,yR))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),e.arrowControl?(w(!0),I(Fe,{key:1},st(e.spinnerItems,u=>(w(),I("div",{key:u,class:S([e.ns.be("spinner","wrapper"),e.ns.is("arrow")]),onMouseenter:p=>e.emitSelectRange(u)},[Ue((w(),Q(s,{class:S(["arrow-up",e.ns.be("spinner","arrow")])},{default:K(()=>[U(l)]),_:1},8,["class"])),[[d,e.onDecreaseClick]]),Ue((w(),Q(s,{class:S(["arrow-down",e.ns.be("spinner","arrow")])},{default:K(()=>[U(c)]),_:1},8,["class"])),[[d,e.onIncreaseClick]]),R("ul",{class:S(e.ns.be("spinner","list"))},[(w(!0),I(Fe,null,st(e.arrowListMap[u].value,(p,f)=>(w(),I("li",{key:f,class:S([e.ns.be("spinner","item"),e.ns.is("active",p===e.timePartsMap[u].value),e.ns.is("disabled",e.listMap[u].value[p])])},[typeof p=="number"?(w(),I(Fe,{key:0},[u==="hours"?(w(),I(Fe,{key:0},[ct(ve(("0"+(e.amPmMode?p%12||12:p)).slice(-2))+ve(e.getAmPmFlag(p)),1)],2112)):(w(),I(Fe,{key:1},[ct(ve(("0"+p).slice(-2)),1)],2112))],2112)):G("v-if",!0)],2))),128))],2)],42,_R))),128)):G("v-if",!0)],2)}var _0=_e(vR,[["render",wR],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const xR=ee({components:{TimeSpinner:_0},props:{visible:Boolean,actualVisible:{type:Boolean,default:void 0},datetimeRole:{type:String},parsedValue:{type:[Object,String]},format:{type:String,default:""}},emits:["pick","select-range","set-picker-option"],setup(e,t){const n=ke("time"),{t:o,lang:r}=Tt(),a=A([0,2]),i=y0(e),l=C(()=>Cn(e.actualVisible)?`${n.namespace.value}-zoom-in-top`:""),s=C(()=>e.format.includes("ss")),c=C(()=>e.format.includes("A")?"A":e.format.includes("a")?"a":""),d=M=>{const E=Ge(M).locale(r.value),N=g(E);return E.isSame(N)},u=()=>{t.emit("pick",i.value,!1)},p=(M=!1,E=!1)=>{E||t.emit("pick",e.parsedValue,M)},f=M=>{if(!e.visible)return;const E=g(M).millisecond(0);t.emit("pick",E,!0)},h=(M,E)=>{t.emit("select-range",M,E),a.value=[M,E]},b=M=>{const E=[0,3].concat(s.value?[6]:[]),N=["hours","minutes"].concat(s.value?["seconds"]:[]),Y=(E.indexOf(a.value[0])+M+E.length)%E.length;x.start_emitSelectRange(N[Y])},m=M=>{const E=M.code;if(E===Pe.left||E===Pe.right){const N=E===Pe.left?-1:1;b(N),M.preventDefault();return}if(E===Pe.up||E===Pe.down){const N=E===Pe.up?-1:1;x.start_scrollDown(N),M.preventDefault();return}},g=M=>{const E={hour:F,minute:V,second:q};let N=M;return["hour","minute","second"].forEach(W=>{if(E[W]){let Y;const J=E[W];W==="minute"?Y=J(N.hour(),e.datetimeRole):W==="second"?Y=J(N.hour(),N.minute(),e.datetimeRole):Y=J(e.datetimeRole),Y&&Y.length&&!Y.includes(N[W]())&&(N=N[W](Y[0]))}}),N},v=M=>M?Ge(M,e.format).locale(r.value):null,y=M=>M?M.format(e.format):null,T=()=>Ge(L).locale(r.value);t.emit("set-picker-option",["isValidValue",d]),t.emit("set-picker-option",["formatToString",y]),t.emit("set-picker-option",["parseUserInput",v]),t.emit("set-picker-option",["handleKeydown",m]),t.emit("set-picker-option",["getRangeAvailableTime",g]),t.emit("set-picker-option",["getDefaultValue",T]);const x={},k=M=>{x[M[0]]=M[1]},$=Ie("EP_PICKER_BASE"),{arrowControl:z,disabledHours:P,disabledMinutes:O,disabledSeconds:D,defaultValue:L}=$.props,{getAvailableHours:F,getAvailableMinutes:V,getAvailableSeconds:q}=v0(P,O,D);return{ns:n,transitionName:l,arrowControl:z,onSetOption:k,t:o,handleConfirm:p,handleChange:f,setSelectionRange:h,amPmMode:c,showSeconds:s,handleCancel:u,disabledHours:P,disabledMinutes:O,disabledSeconds:D}}});function kR(e,t,n,o,r,a){const i=le("time-spinner");return w(),Q(qt,{name:e.transitionName},{default:K(()=>[e.actualVisible||e.visible?(w(),I("div",{key:0,class:S(e.ns.b("panel"))},[R("div",{class:S([e.ns.be("panel","content"),{"has-seconds":e.showSeconds}])},[U(i,{ref:"spinner",role:e.datetimeRole||"start","arrow-control":e.arrowControl,"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"spinner-date":e.parsedValue,"disabled-hours":e.disabledHours,"disabled-minutes":e.disabledMinutes,"disabled-seconds":e.disabledSeconds,onChange:e.handleChange,onSetOption:e.onSetOption,onSelectRange:e.setSelectionRange},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onChange","onSetOption","onSelectRange"])],2),R("div",{class:S(e.ns.be("panel","footer"))},[R("button",{type:"button",class:S([e.ns.be("panel","btn"),"cancel"]),onClick:t[0]||(t[0]=(...l)=>e.handleCancel&&e.handleCancel(...l))},ve(e.t("el.datepicker.cancel")),3),R("button",{type:"button",class:S([e.ns.be("panel","btn"),"confirm"]),onClick:t[1]||(t[1]=l=>e.handleConfirm())},ve(e.t("el.datepicker.confirm")),3)],2)],2)):G("v-if",!0)]),_:1},8,["name"])}var Sp=_e(xR,[["render",kR],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const ta=(e,t)=>{const n=[];for(let o=e;o<=t;o++)n.push(o);return n},TR=ee({components:{TimeSpinner:_0},props:{visible:Boolean,actualVisible:Boolean,parsedValue:{type:[Array]},format:{type:String,default:""}},emits:["pick","select-range","set-picker-option"],setup(e,t){const{t:n,lang:o}=Tt(),r=ke("time"),a=ke("picker"),i=C(()=>e.parsedValue[0]),l=C(()=>e.parsedValue[1]),s=y0(e),c=()=>{t.emit("pick",s.value,!1)},d=C(()=>e.format.includes("ss")),u=C(()=>e.format.includes("A")?"A":e.format.includes("a")?"a":""),p=A([]),f=A([]),h=(be=!1)=>{t.emit("pick",[i.value,l.value],be)},b=be=>{v(be.millisecond(0),l.value)},m=be=>{v(i.value,be.millisecond(0))},g=be=>{const $e=be.map(Me=>Ge(Me).locale(o.value)),Ne=F($e);return $e[0].isSame(Ne[0])&&$e[1].isSame(Ne[1])},v=(be,$e)=>{t.emit("pick",[be,$e],!0)},y=C(()=>i.value>l.value),T=A([0,2]),x=(be,$e)=>{t.emit("select-range",be,$e,"min"),T.value=[be,$e]},k=C(()=>d.value?11:8),$=(be,$e)=>{t.emit("select-range",be,$e,"max"),T.value=[be+k.value,$e+k.value]},z=be=>{const $e=d.value?[0,3,6,11,14,17]:[0,3,8,11],Ne=["hours","minutes"].concat(d.value?["seconds"]:[]),j=($e.indexOf(T.value[0])+be+$e.length)%$e.length,X=$e.length/2;j{const $e=be.code;if($e===Pe.left||$e===Pe.right){const Ne=$e===Pe.left?-1:1;z(Ne),be.preventDefault();return}if($e===Pe.up||$e===Pe.down){const Ne=$e===Pe.up?-1:1,Me=T.value[0]{const Ne=oe?oe(be):[],Me=be==="start",X=($e||(Me?l.value:i.value)).hour(),de=Me?ta(X+1,23):ta(0,X-1);return zc(Ne,de)},D=(be,$e,Ne)=>{const Me=H?H(be,$e):[],j=$e==="start",X=Ne||(j?l.value:i.value),de=X.hour();if(be!==de)return Me;const xe=X.minute(),we=j?ta(xe+1,59):ta(0,xe-1);return zc(Me,we)},L=(be,$e,Ne,Me)=>{const j=ne?ne(be,$e,Ne):[],X=Ne==="start",de=Me||(X?l.value:i.value),xe=de.hour(),we=de.minute();if(be!==xe||$e!==we)return j;const Ae=de.second(),ce=X?ta(Ae+1,59):ta(0,Ae-1);return zc(j,ce)},F=be=>be.map(($e,Ne)=>E(be[0],be[1],Ne===0?"start":"end")),{getAvailableHours:V,getAvailableMinutes:q,getAvailableSeconds:M}=v0(O,D,L),E=(be,$e,Ne)=>{const Me={hour:V,minute:q,second:M},j=Ne==="start";let X=j?be:$e;const de=j?$e:be;return["hour","minute","second"].forEach(xe=>{if(Me[xe]){let we;const Ae=Me[xe];if(xe==="minute"?we=Ae(X.hour(),Ne,de):xe==="second"?we=Ae(X.hour(),X.minute(),Ne,de):we=Ae(Ne,de),we&&we.length&&!we.includes(X[xe]())){const ce=j?0:we.length-1;X=X[xe](we[ce])}}}),X},N=be=>be?Array.isArray(be)?be.map($e=>Ge($e,e.format).locale(o.value)):Ge(be,e.format).locale(o.value):null,W=be=>be?Array.isArray(be)?be.map($e=>$e.format(e.format)):be.format(e.format):null,Y=()=>{if(Array.isArray(ie))return ie.map($e=>Ge($e).locale(o.value));const be=Ge(ie).locale(o.value);return[be,be.add(60,"m")]};t.emit("set-picker-option",["formatToString",W]),t.emit("set-picker-option",["parseUserInput",N]),t.emit("set-picker-option",["isValidValue",g]),t.emit("set-picker-option",["handleKeydown",P]),t.emit("set-picker-option",["getDefaultValue",Y]),t.emit("set-picker-option",["getRangeAvailableTime",F]);const J={},Z=be=>{J[be[0]]=be[1]},se=Ie("EP_PICKER_BASE"),{arrowControl:Se,disabledHours:oe,disabledMinutes:H,disabledSeconds:ne,defaultValue:ie}=se.props;return{nsTime:r,nsPicker:a,arrowControl:Se,onSetOption:Z,setMaxSelectionRange:$,setMinSelectionRange:x,btnConfirmDisabled:y,handleCancel:c,handleConfirm:h,t:n,showSeconds:d,minDate:i,maxDate:l,amPmMode:u,handleMinChange:b,handleMaxChange:m,minSelectableRange:p,maxSelectableRange:f,disabledHours_:O,disabledMinutes_:D,disabledSeconds_:L}}}),CR=["disabled"];function SR(e,t,n,o,r,a){const i=le("time-spinner");return e.actualVisible?(w(),I("div",{key:0,class:S([e.nsTime.b("range-picker"),e.nsPicker.b("panel")])},[R("div",{class:S(e.nsTime.be("range-picker","content"))},[R("div",{class:S(e.nsTime.be("range-picker","cell"))},[R("div",{class:S(e.nsTime.be("range-picker","header"))},ve(e.t("el.datepicker.startTime")),3),R("div",{class:S([e.nsTime.be("range-picker","body"),e.nsTime.be("panel","content"),e.nsTime.is("arrow",e.arrowControl),{"has-seconds":e.showSeconds}])},[U(i,{ref:"minSpinner",role:"start","show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,"spinner-date":e.minDate,"disabled-hours":e.disabledHours_,"disabled-minutes":e.disabledMinutes_,"disabled-seconds":e.disabledSeconds_,onChange:e.handleMinChange,onSetOption:e.onSetOption,onSelectRange:e.setMinSelectionRange},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onChange","onSetOption","onSelectRange"])],2)],2),R("div",{class:S(e.nsTime.be("range-picker","cell"))},[R("div",{class:S(e.nsTime.be("range-picker","header"))},ve(e.t("el.datepicker.endTime")),3),R("div",{class:S([e.nsTime.be("range-picker","body"),e.nsTime.be("panel","content"),e.nsTime.is("arrow",e.arrowControl),{"has-seconds":e.showSeconds}])},[U(i,{ref:"maxSpinner",role:"end","show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,"spinner-date":e.maxDate,"disabled-hours":e.disabledHours_,"disabled-minutes":e.disabledMinutes_,"disabled-seconds":e.disabledSeconds_,onChange:e.handleMaxChange,onSetOption:e.onSetOption,onSelectRange:e.setMaxSelectionRange},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onChange","onSetOption","onSelectRange"])],2)],2)],2),R("div",{class:S(e.nsTime.be("panel","footer"))},[R("button",{type:"button",class:S([e.nsTime.be("panel","btn"),"cancel"]),onClick:t[0]||(t[0]=l=>e.handleCancel())},ve(e.t("el.datepicker.cancel")),3),R("button",{type:"button",class:S([e.nsTime.be("panel","btn"),"confirm"]),disabled:e.btnConfirmDisabled,onClick:t[1]||(t[1]=l=>e.handleConfirm())},ve(e.t("el.datepicker.confirm")),11,CR)],2)],2)):G("v-if",!0)}var $R=_e(TR,[["render",SR],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-range.vue"]]);Ge.extend(Tp);var AR=ee({name:"ElTimePicker",install:null,props:ze(he({},Cp),{isRange:{type:Boolean,default:!1}}),emits:["update:modelValue"],setup(e,t){const n=A(null),o=e.isRange?"timerange":"time",r=e.isRange?$R:Sp,a=ze(he({},e),{focus:()=>{var i;(i=n.value)==null||i.handleFocus()},blur:()=>{var i;(i=n.value)==null||i.handleBlur()}});return ot("ElPopperOptions",e.popperOptions),t.expose(a),()=>{var i;const l=(i=e.format)!=null?i:Dd;return Re(l0,ze(he({},e),{format:l,type:o,ref:n,"onUpdate:modelValue":s=>t.emit("update:modelValue",s)}),{default:s=>Re(r,s)})}}});const sr=e=>Array.from(Array.from({length:e}).keys()),w0=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),x0=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),Wl=AR;Wl.install=e=>{e.component(Wl.name,Wl)};const ER=Wl,zR=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return sr(t).map((o,r)=>n-(t-r-1))},IR=e=>{const t=e.daysInMonth();return sr(t).map((n,o)=>o+1)},NR=e=>sr(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),MR=Le({selectedDay:{type:Te(Object)},range:{type:Te(Array)},date:{type:Te(Object),required:!0},hideHeader:{type:Boolean}}),RR={pick:e=>ut(e)},PR={key:0},OR=["onClick"],FR={name:"DateTable"},DR=ee(ze(he({},FR),{props:MR,emits:RR,setup(e,{expose:t,emit:n}){const o=e;Ge.extend(a0);const{t:r,lang:a}=Tt(),i=ke("calendar-table"),l=ke("calendar-day"),s=Ge().locale(a.value),c=s.$locale().weekStart||0,d=C(()=>!!o.range&&!!o.range.length),u=C(()=>{let g=[];if(d.value){const[v,y]=o.range,T=sr(y.date()-v.date()+1).map($=>({text:v.date()+$,type:"current"}));let x=T.length%7;x=x===0?0:7-x;const k=sr(x).map(($,z)=>({text:z+1,type:"next"}));g=T.concat(k)}else{const v=o.date.startOf("month").day()||7,y=zR(o.date,v-c).map(k=>({text:k,type:"prev"})),T=IR(o.date).map(k=>({text:k,type:"current"}));g=[...y,...T];const x=sr(42-g.length).map((k,$)=>({text:$+1,type:"next"}));g=g.concat(x)}return NR(g)}),p=C(()=>{const g=c;return g===0?Nc.map(v=>r(`el.datepicker.weeks.${v}`)):Nc.slice(g).concat(Nc.slice(0,g)).map(v=>r(`el.datepicker.weeks.${v}`))}),f=(g,v)=>{switch(v){case"prev":return o.date.startOf("month").subtract(1,"month").date(g);case"next":return o.date.startOf("month").add(1,"month").date(g);case"current":return o.date.date(g)}},h=({text:g,type:v})=>{const y=[v];if(v==="current"){const T=f(g,v);T.isSame(o.selectedDay,"day")&&y.push(l.is("selected")),T.isSame(s,"day")&&y.push(l.is("today"))}return y},b=({text:g,type:v})=>{const y=f(g,v);n("pick",y)},m=({text:g,type:v})=>{const y=f(g,v);return{isSelected:y.isSame(o.selectedDay),type:`${v}-month`,day:y.format("YYYY-MM-DD"),date:y.toDate()}};return t({getFormattedDate:f}),(g,v)=>(w(),I("table",{class:S([_(i).b(),_(i).is("range",_(d))]),cellspacing:"0",cellpadding:"0"},[g.hideHeader?G("v-if",!0):(w(),I("thead",PR,[(w(!0),I(Fe,null,st(_(p),y=>(w(),I("th",{key:y},ve(y),1))),128))])),R("tbody",null,[(w(!0),I(Fe,null,st(_(u),(y,T)=>(w(),I("tr",{key:T,class:S({[_(i).e("row")]:!0,[_(i).em("row","hide-border")]:T===0&&g.hideHeader})},[(w(!0),I(Fe,null,st(y,(x,k)=>(w(),I("td",{key:k,class:S(h(x)),onClick:$=>b(x)},[R("div",{class:S(_(l).b())},[ue(g.$slots,"dateCell",{data:m(x)},()=>[R("span",null,ve(x.text),1)])],2)],10,OR))),128))],2))),128))])],2))}}));var Pm=_e(DR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const LR=Le({modelValue:{type:Date},range:{type:Te(Array),validator:e=>Array.isArray(e)&&e.length===2&&e.every(t=>t instanceof Date)}}),VR={[tt]:e=>e instanceof Date,input:e=>e instanceof Date},BR={name:"ElCalendar"},jR=ee(ze(he({},BR),{props:LR,emits:VR,setup(e,{expose:t,emit:n}){const o=e,r=ke("calendar"),{t:a,lang:i}=Tt(),l=A(),s=Ge().locale(i.value),c=C(()=>b.value.subtract(1,"month").date(1)),d=C(()=>b.value.add(1,"month").date(1)),u=C(()=>b.value.subtract(1,"year").date(1)),p=C(()=>b.value.add(1,"year").date(1)),f=C(()=>{const T=`el.datepicker.month${b.value.format("M")}`;return`${b.value.year()} ${a("el.datepicker.year")} ${a(T)}`}),h=C({get(){return o.modelValue?b.value:l.value},set(T){if(!T)return;l.value=T;const x=T.toDate();n("input",x),n("update:modelValue",x)}}),b=C(()=>o.modelValue?Ge(o.modelValue).locale(i.value):h.value?h.value:g.value.length?g.value[0][0]:s),m=(T,x)=>{const k=T.startOf("week"),$=x.endOf("week"),z=k.get("month"),P=$.get("month");if(z===P)return[[k,$]];if(z+1===P){const O=k.endOf("month"),D=$.startOf("month"),F=O.isSame(D,"week")?D.add(1,"week"):D;return[[k,O],[F.startOf("week"),$]]}else if(z+2===P){const O=k.endOf("month"),D=k.add(1,"month").startOf("month"),L=O.isSame(D,"week")?D.add(1,"week"):D,F=L.endOf("month"),V=$.startOf("month"),q=F.isSame(V,"week")?V.add(1,"week"):V;return[[k,O],[L.startOf("week"),F],[q.startOf("week"),$]]}else return[]},g=C(()=>{if(!o.range)return[];const T=o.range.map($=>Ge($).locale(i.value)),[x,k]=T;return x.isAfter(k)?[]:x.isSame(k,"month")?m(x,k):x.add(1,"month").month()!==k.month()?[]:m(x,k)}),v=T=>{h.value=T},y=T=>{let x;T==="prev-month"?x=c.value:T==="next-month"?x=d.value:T==="prev-year"?x=u.value:T==="next-year"?x=p.value:x=s,!x.isSame(b.value,"day")&&v(x)};return t({selectedDay:h,pickDay:v,selectDate:y,calculateValidatedDateRange:m}),(T,x)=>(w(),I("div",{class:S(_(r).b())},[R("div",{class:S(_(r).e("header"))},[ue(T.$slots,"header",{date:_(f)},()=>[R("div",{class:S(_(r).e("title"))},ve(_(f)),3),_(g).length===0?(w(),I("div",{key:0,class:S(_(r).e("button-group"))},[U(_(n0),null,{default:K(()=>[U(_(Vn),{size:"small",onClick:x[0]||(x[0]=k=>y("prev-month"))},{default:K(()=>[ct(ve(_(a)("el.datepicker.prevMonth")),1)]),_:1}),U(_(Vn),{size:"small",onClick:x[1]||(x[1]=k=>y("today"))},{default:K(()=>[ct(ve(_(a)("el.datepicker.today")),1)]),_:1}),U(_(Vn),{size:"small",onClick:x[2]||(x[2]=k=>y("next-month"))},{default:K(()=>[ct(ve(_(a)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):G("v-if",!0)])],2),_(g).length===0?(w(),I("div",{key:0,class:S(_(r).e("body"))},[U(Pm,{date:_(b),"selected-day":_(h),onPick:v},dr({_:2},[T.$slots.dateCell?{name:"dateCell",fn:K(k=>[ue(T.$slots,"dateCell",eo(ur(k)))])}:void 0]),1032,["date","selected-day"])],2)):(w(),I("div",{key:1,class:S(_(r).e("body"))},[(w(!0),I(Fe,null,st(_(g),(k,$)=>(w(),Q(Pm,{key:$,date:k[0],"selected-day":_(h),range:k,"hide-header":$!==0,onPick:v},dr({_:2},[T.$slots.dateCell?{name:"dateCell",fn:K(z=>[ue(T.$slots,"dateCell",eo(ur(z)))])}:void 0]),1032,["date","selected-day","range","hide-header"]))),128))],2))],2))}}));var HR=_e(jR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/calendar.vue"]]);const qR=rt(HR),KR=Le({header:{type:String,default:""},bodyStyle:{type:Te([String,Object,Array]),default:""},shadow:{type:String,default:"always"}}),WR={name:"ElCard"},UR=ee(ze(he({},WR),{props:KR,setup(e){const t=ke("card");return(n,o)=>(w(),I("div",{class:S([_(t).b(),_(t).is(`${n.shadow}-shadow`)])},[n.$slots.header||n.header?(w(),I("div",{key:0,class:S(_(t).e("header"))},[ue(n.$slots,"header",{},()=>[ct(ve(n.header),1)])],2)):G("v-if",!0),R("div",{class:S(_(t).e("body")),style:Oe(n.bodyStyle)},[ue(n.$slots,"default")],6)],2))}}));var YR=_e(UR,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const GR=rt(YR),XR=Le({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,default:""},indicator:{type:Boolean,default:!0},arrow:{type:String,default:"hover"},type:{type:String,default:""},loop:{type:Boolean,default:!0},direction:{type:String,default:"horizontal",validator(e){return["horizontal","vertical"].includes(e)}},pauseOnHover:{type:Boolean,default:!0}}),ZR={change:(e,t)=>[e,t].every(mt)},JR=["onMouseenter","onMouseleave"],QR=["onMouseenter","onClick"],eP={key:0},tP={name:"ElCarousel"},nP=ee(ze(he({},tP),{props:XR,emits:ZR,setup(e,{expose:t,emit:n}){const o=e,r=ke("carousel"),a=300,i=A(-1),l=A(null),s=A(!1),c=A(),d=A([]),u=C(()=>o.arrow!=="never"&&!_(m)),p=C(()=>d.value.some(Y=>Y.props.label.toString().length>0)),f=C(()=>{const Y=[r.b(),r.m(o.direction)];return _(b)&&Y.push(r.m("card")),Y}),h=C(()=>{const Y=[r.e("indicators"),r.em("indicators",o.direction)];return p.value&&Y.push(r.em("indicators","labels")),(o.indicatorPosition==="outside"||_(b))&&Y.push(r.em("indicators","outside")),Y}),b=C(()=>o.type==="card"),m=C(()=>o.direction==="vertical"),g=Pr(Y=>{k(Y)},a,{trailing:!0}),v=Pr(Y=>{M(Y)},a);function y(){l.value&&(clearInterval(l.value),l.value=null)}function T(){o.interval<=0||!o.autoplay||l.value||(l.value=setInterval(()=>x(),o.interval))}const x=()=>{i.valueSe.props.name===Y);se.length>0&&(Y=d.value.indexOf(se[0]))}if(Y=Number(Y),Number.isNaN(Y)||Y!==Math.floor(Y))return;const J=d.value.length,Z=i.value;Y<0?i.value=o.loop?J-1:0:Y>=J?i.value=o.loop?0:J-1:i.value=Y,Z===i.value&&$(Z)}function $(Y){d.value.forEach((J,Z)=>{J.translateItem(Z,i.value,Y)})}function z(Y){d.value.push(Y)}function P(Y){const J=d.value.findIndex(Z=>Z.uid===Y);J!==-1&&(d.value.splice(J,1),i.value===J&&N())}function O(Y,J){var Z,se,Se,oe;const H=_(d),ne=H.length;if(ne===0||!Y.states.inStage)return!1;const ie=J+1,be=J-1,$e=ne-1,Ne=H[$e].states.active,Me=H[0].states.active,j=(se=(Z=H[ie])==null?void 0:Z.states)==null?void 0:se.active,X=(oe=(Se=H[be])==null?void 0:Se.states)==null?void 0:oe.active;return J===$e&&Me||j?"left":J===0&&Ne||X?"right":!1}function D(){s.value=!0,o.pauseOnHover&&y()}function L(){s.value=!1,T()}function F(Y){_(m)||d.value.forEach((J,Z)=>{Y===O(J,Z)&&(J.states.hover=!0)})}function V(){_(m)||d.value.forEach(Y=>{Y.states.hover=!1})}function q(Y){i.value=Y}function M(Y){o.trigger==="hover"&&Y!==i.value&&(i.value=Y)}function E(){k(i.value-1)}function N(){k(i.value+1)}ge(()=>i.value,(Y,J)=>{$(J),J>-1&&n("change",Y,J)}),ge(()=>o.autoplay,Y=>{Y?T():y()}),ge(()=>o.loop,()=>{k(i.value)});const W=Kt();return et(async()=>{await je(),W.value=Ba(c.value,()=>{$()}),o.initialIndex=0&&(i.value=o.initialIndex),T()}),$t(()=>{y(),c.value&&W.value&&W.value.stop()}),ot(sy,{root:c,isCardType:b,isVertical:m,items:d,loop:o.loop,addItem:z,removeItem:P,setActiveItem:k}),t({setActiveItem:k,prev:E,next:N}),(Y,J)=>(w(),I("div",{ref_key:"root",ref:c,class:S(_(f)),onMouseenter:He(D,["stop"]),onMouseleave:He(L,["stop"])},[R("div",{class:S(_(r).e("container")),style:Oe({height:Y.height})},[_(u)?(w(),Q(qt,{key:0,name:"carousel-arrow-left"},{default:K(()=>[Ue(R("button",{type:"button",class:S([_(r).e("arrow"),_(r).em("arrow","left")]),onMouseenter:J[0]||(J[0]=Z=>F("left")),onMouseleave:V,onClick:J[1]||(J[1]=He(Z=>_(g)(i.value-1),["stop"]))},[U(_(qe),null,{default:K(()=>[U(_(Xr))]),_:1})],34),[[ft,(Y.arrow==="always"||s.value)&&(o.loop||i.value>0)]])]),_:1})):G("v-if",!0),_(u)?(w(),Q(qt,{key:1,name:"carousel-arrow-right"},{default:K(()=>[Ue(R("button",{type:"button",class:S([_(r).e("arrow"),_(r).em("arrow","right")]),onMouseenter:J[2]||(J[2]=Z=>F("right")),onMouseleave:V,onClick:J[3]||(J[3]=He(Z=>_(g)(i.value+1),["stop"]))},[U(_(qe),null,{default:K(()=>[U(_(Yn))]),_:1})],34),[[ft,(Y.arrow==="always"||s.value)&&(o.loop||i.value(w(),I("li",{key:se,class:S([_(r).e("indicator"),_(r).em("indicator",Y.direction),_(r).is("active",se===i.value)]),onMouseenter:Se=>_(v)(se),onClick:He(Se=>q(se),["stop"])},[R("button",{class:S(_(r).e("button"))},[_(p)?(w(),I("span",eP,ve(Z.props.label),1)):G("v-if",!0)],2)],42,QR))),128))],2)):G("v-if",!0)],42,JR))}}));var oP=_e(nP,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel.vue"]]);const rP=Le({name:{type:String,default:""},label:{type:[String,Number],default:""}}),aP={name:"ElCarouselItem"},iP=ee(ze(he({},aP),{props:rP,setup(e){const t=e,n=ke("carousel"),o=Ie(sy),r=nt(),a=.83,i=A(!1),l=A(0),s=A(1),c=A(!1),d=A(!1),u=A(!1),p=A(!1),{isCardType:f,isVertical:h}=o,b=C(()=>{const k=`${`translate${_(h)?"Y":"X"}`}(${_(l)}px)`,$=`scale(${_(s)})`;return{transform:[k,$].join(" ")}});function m(x,k,$){const z=$-1,P=k-1,O=k+1,D=$/2;return k===0&&x===z?-1:k===z&&x===0?$:x=D?$+1:x>O&&x-k>=D?-2:x}function g(x,k){var $;const z=(($=o.root.value)==null?void 0:$.offsetWidth)||0;return u.value?z*((2-a)*(x-k)+1)/4:x{var z;const P=_(f),O=(z=o.items.value.length)!=null?z:Number.NaN,D=x===k;!P&&!Cn($)&&(p.value=D||x===$),!D&&O>2&&o.loop&&(x=m(x,k,O));const L=_(h);c.value=D,P?(u.value=Math.round(Math.abs(x-k))<=1,l.value=g(x,k),s.value=_(c)?1:a):l.value=v(x,k,L),d.value=!0};function T(){if(o&&_(f)){const x=o.items.value.findIndex(({uid:k})=>k===r.uid);o.setActiveItem(x)}}return et(()=>{o.addItem({props:t,states:vt({hover:i,translate:l,scale:s,active:c,ready:d,inStage:u,animating:p}),uid:r.uid,translateItem:y})}),Qi(()=>{o.removeItem(r.uid)}),(x,k)=>Ue((w(),I("div",{class:S([_(n).e("item"),_(n).is("active",c.value),_(n).is("in-stage",u.value),_(n).is("hover",i.value),_(n).is("animating",p.value),{[_(n).em("item","card")]:_(f)}]),style:Oe(_(b)),onClick:T},[_(f)?Ue((w(),I("div",{key:0,class:S(_(n).e("mask"))},null,2)),[[ft,!c.value]]):G("v-if",!0),ue(x.$slots,"default")],6)),[[ft,d.value]])}}));var k0=_e(iP,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue"]]);const lP=rt(oP,{CarouselItem:k0}),sP=Dt(k0),cP={modelValue:{type:[Boolean,Number,String],default:()=>{}},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},tabindex:[String,Number],size:String},Ua=()=>{const e=Ie(Mn,{}),t=Ie(qn,{}),n=Ie("CheckboxGroup",{}),o=C(()=>n&&(n==null?void 0:n.name)==="ElCheckboxGroup"),r=C(()=>t.size);return{isGroup:o,checkboxGroup:n,elForm:e,elFormItemSize:r,elFormItem:t}},dP=e=>{const t=A(!1),{emit:n}=nt(),{isGroup:o,checkboxGroup:r}=Ua(),a=A(!1);return{model:C({get(){var l,s;return o.value?(l=r.modelValue)==null?void 0:l.value:(s=e.modelValue)!=null?s:t.value},set(l){var s;o.value&&Array.isArray(l)?(a.value=r.max!==void 0&&l.length>r.max.value,a.value===!1&&((s=r==null?void 0:r.changeEvent)==null||s.call(r,l))):(n(tt,l),t.value=l)}}),isLimitExceeded:a}},uP=(e,{model:t})=>{const{isGroup:n,checkboxGroup:o}=Ua(),r=A(!1),a=Ut(o==null?void 0:o.checkboxGroupSize,{prop:!0}),i=C(()=>{const s=t.value;return Fa(s)==="[object Boolean]"?s:Array.isArray(s)?s.includes(e.label):s!=null?s===e.trueLabel:!!s}),l=Ut(C(()=>{var s;return n.value?(s=o==null?void 0:o.checkboxGroupSize)==null?void 0:s.value:void 0}));return{isChecked:i,focus:r,size:a,checkboxSize:l}},pP=(e,{model:t,isChecked:n})=>{const{elForm:o,isGroup:r,checkboxGroup:a}=Ua(),i=C(()=>{var s,c;const d=(s=a.max)==null?void 0:s.value,u=(c=a.min)==null?void 0:c.value;return!!(d||u)&&t.value.length>=d&&!n.value||t.value.length<=u&&n.value});return{isDisabled:C(()=>{var s,c;const d=e.disabled||o.disabled;return(c=r.value?((s=a.disabled)==null?void 0:s.value)||d||i.value:e.disabled||o.disabled)!=null?c:!1}),isLimitDisabled:i}},fP=(e,{model:t})=>{function n(){Array.isArray(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&n()},hP=(e,{isLimitExceeded:t})=>{const{elFormItem:n}=Ua(),{emit:o}=nt();function r(a){var i,l;if(t.value)return;const c=a.target.checked?(i=e.trueLabel)!=null?i:!0:(l=e.falseLabel)!=null?l:!1;o("change",c,a)}return ge(()=>e.modelValue,()=>{var a;(a=n.validate)==null||a.call(n,"change").catch(i=>void 0)}),{handleChange:r}},T0=e=>{const{model:t,isLimitExceeded:n}=dP(e),{focus:o,size:r,isChecked:a,checkboxSize:i}=uP(e,{model:t}),{isDisabled:l}=pP(e,{model:t,isChecked:a}),{handleChange:s}=hP(e,{isLimitExceeded:n});return fP(e,{model:t}),{isChecked:a,isDisabled:l,checkboxSize:i,model:t,handleChange:s,focus:o,size:r}},mP=ee({name:"ElCheckbox",props:{modelValue:{type:[Number,String,Boolean],default:()=>{}},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:{type:String,validator:Nn},tabindex:[String,Number]},emits:[tt,"change"],setup(e){const t=ke("checkbox");return he({ns:t},T0(e))}}),gP=["id","aria-controls"],bP=["tabindex","role","aria-checked"],vP=["aria-hidden","name","tabindex","disabled","true-value","false-value"],yP=["aria-hidden","disabled","value","name","tabindex"];function _P(e,t,n,o,r,a){return w(),I("label",{id:e.id,class:S([e.ns.b(),e.ns.m(e.checkboxSize),e.ns.is("disabled",e.isDisabled),e.ns.is("bordered",e.border),e.ns.is("checked",e.isChecked)]),"aria-controls":e.indeterminate?e.controls:null},[R("span",{class:S([e.ns.e("input"),e.ns.is("disabled",e.isDisabled),e.ns.is("checked",e.isChecked),e.ns.is("indeterminate",e.indeterminate),e.ns.is("focus",e.focus)]),tabindex:e.indeterminate?0:void 0,role:e.indeterminate?"checkbox":void 0,"aria-checked":e.indeterminate?"mixed":!1},[R("span",{class:S(e.ns.e("inner"))},null,2),e.trueLabel||e.falseLabel?Ue((w(),I("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=i=>e.model=i),class:S(e.ns.e("original")),type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,tabindex:e.tabindex,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...i)=>e.handleChange&&e.handleChange(...i)),onFocus:t[2]||(t[2]=i=>e.focus=!0),onBlur:t[3]||(t[3]=i=>e.focus=!1)},null,42,vP)),[[vs,e.model]]):Ue((w(),I("input",{key:1,"onUpdate:modelValue":t[4]||(t[4]=i=>e.model=i),class:S(e.ns.e("original")),type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,value:e.label,name:e.name,tabindex:e.tabindex,onChange:t[5]||(t[5]=(...i)=>e.handleChange&&e.handleChange(...i)),onFocus:t[6]||(t[6]=i=>e.focus=!0),onBlur:t[7]||(t[7]=i=>e.focus=!1)},null,42,yP)),[[vs,e.model]])],10,bP),e.$slots.default||e.label?(w(),I("span",{key:0,class:S(e.ns.e("label"))},[ue(e.$slots,"default"),e.$slots.default?G("v-if",!0):(w(),I(Fe,{key:0},[ct(ve(e.label),1)],2112))],2)):G("v-if",!0)],10,gP)}var wP=_e(mP,[["render",_P],["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const xP=ee({name:"ElCheckboxButton",props:cP,emits:[tt,"change"],setup(e){const{focus:t,isChecked:n,isDisabled:o,size:r,model:a,handleChange:i}=T0(e),{checkboxGroup:l}=Ua(),s=ke("checkbox"),c=C(()=>{var d,u,p,f;const h=(u=(d=l==null?void 0:l.fill)==null?void 0:d.value)!=null?u:"";return{backgroundColor:h,borderColor:h,color:(f=(p=l==null?void 0:l.textColor)==null?void 0:p.value)!=null?f:"",boxShadow:h?`-1px 0 0 0 ${h}`:null}});return{focus:t,isChecked:n,isDisabled:o,model:a,handleChange:i,activeStyle:c,size:r,ns:s}}}),kP=["aria-checked","aria-disabled"],TP=["name","tabindex","disabled","true-value","false-value"],CP=["name","tabindex","disabled","value"];function SP(e,t,n,o,r,a){return w(),I("label",{class:S([e.ns.b("button"),e.ns.bm("button",e.size),e.ns.is("disabled",e.isDisabled),e.ns.is("checked",e.isChecked),e.ns.is("focus",e.focus)]),role:"checkbox","aria-checked":e.isChecked,"aria-disabled":e.isDisabled},[e.trueLabel||e.falseLabel?Ue((w(),I("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=i=>e.model=i),class:S(e.ns.be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...i)=>e.handleChange&&e.handleChange(...i)),onFocus:t[2]||(t[2]=i=>e.focus=!0),onBlur:t[3]||(t[3]=i=>e.focus=!1)},null,42,TP)),[[vs,e.model]]):Ue((w(),I("input",{key:1,"onUpdate:modelValue":t[4]||(t[4]=i=>e.model=i),class:S(e.ns.be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:e.isDisabled,value:e.label,onChange:t[5]||(t[5]=(...i)=>e.handleChange&&e.handleChange(...i)),onFocus:t[6]||(t[6]=i=>e.focus=!0),onBlur:t[7]||(t[7]=i=>e.focus=!1)},null,42,CP)),[[vs,e.model]]),e.$slots.default||e.label?(w(),I("span",{key:2,class:S(e.ns.be("button","inner")),style:Oe(e.isChecked?e.activeStyle:null)},[ue(e.$slots,"default",{},()=>[ct(ve(e.label),1)])],6)):G("v-if",!0)],10,kP)}var C0=_e(xP,[["render",SP],["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const $P=ee({name:"ElCheckboxGroup",props:{modelValue:{type:Array,default:()=>[]},disabled:Boolean,min:{type:Number,default:void 0},max:{type:Number,default:void 0},size:{type:String,validator:Nn},fill:{type:String,default:void 0},textColor:{type:String,default:void 0},tag:{type:String,default:"div"}},emits:[tt,"change"],setup(e,{emit:t,slots:n}){const{elFormItem:o}=Ua(),r=Ut(),a=ke("checkbox"),i=s=>{t(tt,s),je(()=>{t("change",s)})},l=C({get(){return e.modelValue},set(s){i(s)}});return ot("CheckboxGroup",ze(he({name:"ElCheckboxGroup",modelValue:l},Gt(e)),{checkboxGroupSize:r,changeEvent:i})),ge(()=>e.modelValue,()=>{var s;(s=o.validate)==null||s.call(o,"change").catch(c=>void 0)}),()=>Re(e.tag,{class:a.b("group"),role:"group","aria-label":"checkbox-group"},[ue(n,"default")])}});var S0=_e($P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const lo=rt(wP,{CheckboxButton:C0,CheckboxGroup:S0}),AP=Dt(C0),$0=Dt(S0),A0=Le({size:cc,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),EP=Le(ze(he({},A0),{modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean})),E0={[tt]:e=>Qe(e)||mt(e)||on(e),change:e=>Qe(e)||mt(e)||on(e)},z0=(e,t)=>{const n=A(),o=Ie(fy,void 0),r=C(()=>!!o),a=C({get(){return r.value?o.modelValue:e.modelValue},set(d){r.value?o.changeEvent(d):t(tt,d),n.value.checked=e.modelValue===e.label}}),i=Ut(C(()=>o==null?void 0:o.size)),l=Zr(C(()=>o==null?void 0:o.disabled)),s=A(!1),c=C(()=>l.value||r.value&&a.value!==e.label?-1:0);return{radioRef:n,isGroup:r,radioGroup:o,focus:s,size:i,disabled:l,tabIndex:c,modelValue:a}},zP=ee({name:"ElRadio",props:EP,emits:E0,setup(e,{emit:t}){const n=ke("radio"),{radioRef:o,isGroup:r,focus:a,size:i,disabled:l,tabIndex:s,modelValue:c}=z0(e,t);function d(){je(()=>t("change",c.value))}return{ns:n,focus:a,isGroup:r,modelValue:c,tabIndex:s,size:i,disabled:l,radioRef:o,handleChange:d}}}),IP=["aria-checked","aria-disabled","tabindex"],NP=["value","name","disabled"];function MP(e,t,n,o,r,a){return w(),I("label",{class:S([e.ns.b(),e.ns.is("disabled",e.disabled),e.ns.is("focus",e.focus),e.ns.is("bordered",e.border),e.ns.is("checked",e.modelValue===e.label),e.ns.m(e.size)]),role:"radio","aria-checked":e.modelValue===e.label,"aria-disabled":e.disabled,tabindex:e.tabIndex,onKeydown:t[5]||(t[5]=lt(He(i=>e.modelValue=e.disabled?e.modelValue:e.label,["stop","prevent"]),["space"]))},[R("span",{class:S([e.ns.e("input"),e.ns.is("disabled",e.disabled),e.ns.is("checked",e.modelValue===e.label)])},[R("span",{class:S(e.ns.e("inner"))},null,2),Ue(R("input",{ref:"radioRef","onUpdate:modelValue":t[0]||(t[0]=i=>e.modelValue=i),class:S(e.ns.e("original")),value:e.label,type:"radio","aria-hidden":"true",name:e.name,disabled:e.disabled,tabindex:"-1",onFocus:t[1]||(t[1]=i=>e.focus=!0),onBlur:t[2]||(t[2]=i=>e.focus=!1),onChange:t[3]||(t[3]=(...i)=>e.handleChange&&e.handleChange(...i))},null,42,NP),[[Hb,e.modelValue]])],2),R("span",{class:S(e.ns.e("label")),onKeydown:t[4]||(t[4]=He(()=>{},["stop"]))},[ue(e.$slots,"default",{},()=>[ct(ve(e.label),1)])],34)],42,IP)}var RP=_e(zP,[["render",MP],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const PP=Le(ze(he({},A0),{name:{type:String,default:""}})),OP=ee({name:"ElRadioButton",props:PP,setup(e,{emit:t}){const n=ke("radio"),{radioRef:o,isGroup:r,focus:a,size:i,disabled:l,tabIndex:s,modelValue:c,radioGroup:d}=z0(e,t),u=C(()=>({backgroundColor:(d==null?void 0:d.fill)||"",borderColor:(d==null?void 0:d.fill)||"",boxShadow:d!=null&&d.fill?`-1px 0 0 0 ${d.fill}`:"",color:(d==null?void 0:d.textColor)||""}));return{ns:n,isGroup:r,size:i,disabled:l,tabIndex:s,modelValue:c,focus:a,activeStyle:u,radioRef:o}}}),FP=["aria-checked","aria-disabled","tabindex"],DP=["value","name","disabled"];function LP(e,t,n,o,r,a){return w(),I("label",{class:S([e.ns.b("button"),e.ns.is("active",e.modelValue===e.label),e.ns.is("disabled",e.disabled),e.ns.is("focus",e.focus),e.ns.bm("button",e.size)]),role:"radio","aria-checked":e.modelValue===e.label,"aria-disabled":e.disabled,tabindex:e.tabIndex,onKeydown:t[4]||(t[4]=lt(He(i=>e.modelValue=e.disabled?e.modelValue:e.label,["stop","prevent"]),["space"]))},[Ue(R("input",{ref:"radioRef","onUpdate:modelValue":t[0]||(t[0]=i=>e.modelValue=i),class:S(e.ns.be("button","original-radio")),value:e.label,type:"radio",name:e.name,disabled:e.disabled,tabindex:"-1",onFocus:t[1]||(t[1]=i=>e.focus=!0),onBlur:t[2]||(t[2]=i=>e.focus=!1)},null,42,DP),[[Hb,e.modelValue]]),R("span",{class:S(e.ns.be("button","inner")),style:Oe(e.modelValue===e.label?e.activeStyle:{}),onKeydown:t[3]||(t[3]=He(()=>{},["stop"]))},[ue(e.$slots,"default",{},()=>[ct(ve(e.label),1)])],38)],42,FP)}var I0=_e(OP,[["render",LP],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const VP=Le({size:cc,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},textColor:{type:String,default:""}}),BP=E0,jP=ee({name:"ElRadioGroup",props:VP,emits:BP,setup(e,t){const n=ke("radio"),o=A(),{formItem:r}=Ka(),a=l=>{t.emit(tt,l),je(()=>t.emit("change",l))},i=l=>{if(!o.value)return;const s=l.target,c=s.nodeName==="INPUT"?"[type=radio]":"[role=radio]",d=o.value.querySelectorAll(c),u=d.length,p=Array.from(d).indexOf(s),f=o.value.querySelectorAll("[role=radio]");let h=null;switch(l.code){case Pe.left:case Pe.up:l.stopPropagation(),l.preventDefault(),h=p===0?u-1:p-1;break;case Pe.right:case Pe.down:l.stopPropagation(),l.preventDefault(),h=p===u-1?0:p+1;break}h!==null&&(f[h].click(),f[h].focus())};return et(()=>{const l=o.value.querySelectorAll("[type=radio]"),s=l[0];!Array.from(l).some(c=>c.checked)&&s&&(s.tabIndex=0)}),ot(fy,vt(ze(he({},Gt(e)),{changeEvent:a}))),ge(()=>e.modelValue,()=>r==null?void 0:r.validate("change").catch(l=>void 0)),{ns:n,radioGroupRef:o,handleKeydown:i}}});function HP(e,t,n,o,r,a){return w(),I("div",{ref:"radioGroupRef",class:S(e.ns.b("group")),role:"radiogroup",onKeydown:t[0]||(t[0]=(...i)=>e.handleKeydown&&e.handleKeydown(...i))},[ue(e.$slots,"default")],34)}var N0=_e(jP,[["render",HP],["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const M0=rt(RP,{RadioButton:I0,RadioGroup:N0}),qP=Dt(N0),KP=Dt(I0);var WP=ee({name:"NodeContent",setup(){return{ns:ke("cascader-node")}},render(){const{ns:e}=this,{node:t,panel:n}=this.$parent,{data:o,label:r}=t,{renderLabelFn:a}=n;return Re("span",{class:e.e("label")},a?a({node:t,data:o}):r)}});const $p=Symbol(),UP=ee({name:"ElCascaderNode",components:{ElCheckbox:lo,ElRadio:M0,NodeContent:WP,ElIcon:qe,Check:Ca,Loading:hr,ArrowRight:Yn},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=Ie($p),o=ke("cascader-node"),r=C(()=>n.isHoverMenu),a=C(()=>n.config.multiple),i=C(()=>n.config.checkStrictly),l=C(()=>{var k;return(k=n.checkedNodes[0])==null?void 0:k.uid}),s=C(()=>e.node.isDisabled),c=C(()=>e.node.isLeaf),d=C(()=>i.value&&!c.value||!s.value),u=C(()=>f(n.expandingNode)),p=C(()=>i.value&&n.checkedNodes.some(f)),f=k=>{var $;const{level:z,uid:P}=e.node;return(($=k==null?void 0:k.pathNodes[z-1])==null?void 0:$.uid)===P},h=()=>{u.value||n.expandNode(e.node)},b=k=>{const{node:$}=e;k!==$.checked&&n.handleCheckChange($,k)},m=()=>{n.lazyLoad(e.node,()=>{c.value||h()})},g=k=>{!r.value||(v(),!c.value&&t("expand",k))},v=()=>{const{node:k}=e;!d.value||k.loading||(k.loaded?h():m())},y=()=>{r.value&&!c.value||(c.value&&!s.value&&!i.value&&!a.value?x(!0):v())},T=k=>{i.value?(b(k),e.node.loaded&&h()):x(k)},x=k=>{e.node.loaded?(b(k),!i.value&&h()):m()};return{panel:n,isHoverMenu:r,multiple:a,checkStrictly:i,checkedNodeId:l,isDisabled:s,isLeaf:c,expandable:d,inExpandingPath:u,inCheckedPath:p,ns:o,handleHoverExpand:g,handleExpand:v,handleClick:y,handleCheck:x,handleSelectCheck:T}}}),YP=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],GP=R("span",null,null,-1);function XP(e,t,n,o,r,a){const i=le("el-checkbox"),l=le("el-radio"),s=le("check"),c=le("el-icon"),d=le("node-content"),u=le("loading"),p=le("arrow-right");return w(),I("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:S([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:t[2]||(t[2]=(...f)=>e.handleHoverExpand&&e.handleHoverExpand(...f)),onFocus:t[3]||(t[3]=(...f)=>e.handleHoverExpand&&e.handleHoverExpand(...f)),onClick:t[4]||(t[4]=(...f)=>e.handleClick&&e.handleClick(...f))},[G(" prefix "),e.multiple?(w(),Q(i,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:t[0]||(t[0]=He(()=>{},["stop"])),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):e.checkStrictly?(w(),Q(l,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:t[1]||(t[1]=He(()=>{},["stop"]))},{default:K(()=>[G(` Add an empty element to avoid render label, do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 - `),tO]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?(w(),Q(c,{key:2,class:S(e.ns.e("prefix"))},{default:K(()=>[U(s)]),_:1},8,["class"])):G("v-if",!0),G(" content "),U(d),G(" postfix "),e.isLeaf?G("v-if",!0):(w(),I(Fe,{key:3},[e.node.loading?(w(),Q(c,{key:0,class:S([e.ns.is("loading"),e.ns.e("postfix")])},{default:K(()=>[U(u)]),_:1},8,["class"])):(w(),Q(c,{key:1,class:S(["arrow-right",e.ns.e("postfix")])},{default:K(()=>[U(p)]),_:1},8,["class"]))],2112))],42,eO)}var oO=_e(QP,[["render",nO],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const rO=ee({name:"ElCascaderMenu",components:{Loading:hr,ElIcon:qe,ElScrollbar:qo,ElCascaderNode:oO},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=nt(),n=ke("cascader-menu"),{t:o}=Tt(),r=al();let a=null,i=null;const l=Ie(Ap),s=A(null),c=C(()=>!e.nodes.length),d=C(()=>!l.initialLoaded),u=C(()=>`cascader-menu-${r}-${e.index}`),p=m=>{a=m.target},f=m=>{if(!(!l.isHoverMenu||!a||!s.value))if(a.contains(m.target)){h();const g=t.vnode.el,{left:v}=g.getBoundingClientRect(),{offsetWidth:y,offsetHeight:T}=g,x=m.clientX-v,k=a.offsetTop,$=k+a.offsetHeight;s.value.innerHTML=` + `),GP]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?(w(),Q(c,{key:2,class:S(e.ns.e("prefix"))},{default:K(()=>[U(s)]),_:1},8,["class"])):G("v-if",!0),G(" content "),U(d),G(" postfix "),e.isLeaf?G("v-if",!0):(w(),I(Fe,{key:3},[e.node.loading?(w(),Q(c,{key:0,class:S([e.ns.is("loading"),e.ns.e("postfix")])},{default:K(()=>[U(u)]),_:1},8,["class"])):(w(),Q(c,{key:1,class:S(["arrow-right",e.ns.e("postfix")])},{default:K(()=>[U(p)]),_:1},8,["class"]))],2112))],42,YP)}var ZP=_e(UP,[["render",XP],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const JP=ee({name:"ElCascaderMenu",components:{Loading:hr,ElIcon:qe,ElScrollbar:qo,ElCascaderNode:ZP},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=nt(),n=ke("cascader-menu"),{t:o}=Tt(),r=al();let a=null,i=null;const l=Ie($p),s=A(null),c=C(()=>!e.nodes.length),d=C(()=>!l.initialLoaded),u=C(()=>`cascader-menu-${r}-${e.index}`),p=m=>{a=m.target},f=m=>{if(!(!l.isHoverMenu||!a||!s.value))if(a.contains(m.target)){h();const g=t.vnode.el,{left:v}=g.getBoundingClientRect(),{offsetWidth:y,offsetHeight:T}=g,x=m.clientX-v,k=a.offsetTop,$=k+a.offsetHeight;s.value.innerHTML=` - `}else i||(i=window.setTimeout(b,l.config.hoverThreshold))},h=()=>{!i||(clearTimeout(i),i=null)},b=()=>{!s.value||(s.value.innerHTML="",h())};return{ns:n,panel:l,hoverZone:s,isEmpty:c,isLoading:d,menuId:u,t:o,handleExpand:p,handleMouseMove:f,clearHoverZone:b}}});function aO(e,t,n,o,r,a){const i=le("el-cascader-node"),l=le("loading"),s=le("el-icon"),c=le("el-scrollbar");return w(),Q(c,{key:e.menuId,tag:"ul",role:"menu",class:S(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:K(()=>{var d;return[(w(!0),I(Fe,null,ct(e.nodes,u=>(w(),Q(i,{key:u.uid,node:u,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(w(),I("div",{key:0,class:S(e.ns.e("empty-text"))},[U(s,{size:"14",class:S(e.ns.is("loading"))},{default:K(()=>[U(l)]),_:1},8,["class"]),it(" "+ve(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(w(),I("div",{key:1,class:S(e.ns.e("empty-text"))},ve(e.t("el.cascader.noData")),3)):(d=e.panel)!=null&&d.isHoverMenu?(w(),I("svg",{key:2,ref:"hoverZone",class:S(e.ns.e("hover-zone"))},null,2)):G("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var iO=_e(rO,[["render",aO],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]),Ep=(e=>(e.CLICK="click",e.HOVER="hover",e))(Ep||{});let lO=0;const sO=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};class Na{constructor(t,n,o,r=!1){this.data=t,this.config=n,this.parent=o,this.root=r,this.uid=lO++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:a,label:i,children:l}=n,s=t[l],c=sO(this);this.level=r?0:o?o.level+1:1,this.value=t[a],this.label=t[i],this.pathNodes=c,this.pathValues=c.map(d=>d.value),this.pathLabels=c.map(d=>d.label),this.childrenData=s,this.children=(s||[]).map(d=>new Na(d,n,this)),this.loaded=!n.lazy||this.isLeaf||!Bi(s)}get isDisabled(){const{data:t,parent:n,config:o}=this,{disabled:r,checkStrictly:a}=o;return(Je(r)?r(t,this):!!t[r])||!a&&(n==null?void 0:n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:o,loaded:r}=this,{lazy:a,leaf:i}=n,l=Je(i)?i(t,this):t[i];return Cn(l)?a&&!r?!1:!(Array.isArray(o)&&o.length):!!l}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:o}=this,r=new Na(t,this.config,this);return Array.isArray(n)?n.push(t):this.childrenData=[t],o.push(r),r}calcText(t,n){const o=t?this.pathLabels.join(n):this.label;return this.text=o,o}broadcast(t,...n){const o=`onParent${kn(t)}`;this.children.forEach(r=>{r&&(r.broadcast(t,...n),r[o]&&r[o](...n))})}emit(t,...n){const{parent:o}=this,r=`onChild${kn(t)}`;o&&(o[r]&&o[r](...n),o.emit(t,...n))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(r=>!r.isDisabled),o=n.length?n.every(r=>r.checked):!1;this.setCheckState(o)}setCheckState(t){const n=this.children.length,o=this.children.reduce((r,a)=>{const i=a.checked?1:a.indeterminate?.5:0;return r+i},0);this.checked=this.loaded&&this.children.every(r=>r.loaded&&r.checked)&&t,this.indeterminate=this.loaded&&o!==n&&o>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:o}=this.config;n||!o?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}}const Gd=(e,t)=>e.reduce((n,o)=>(o.isLeaf?n.push(o):(!t&&n.push(o),n=n.concat(Gd(o.children,t))),n),[]);class Fm{constructor(t,n){this.config=n;const o=(t||[]).map(r=>new Na(r,this.config));this.nodes=o,this.allNodes=Gd(o,!1),this.leafNodes=Gd(o,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const o=n?n.appendChild(t):new Na(t,this.config);n||this.nodes.push(o),this.allNodes.push(o),o.isLeaf&&this.leafNodes.push(o)}appendNodes(t,n){t.forEach(o=>this.appendNode(o,n))}getNodeByValue(t,n=!1){return!t&&t!==0?null:this.getFlattedNodes(n).find(r=>En(r.value,t)||En(r.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:o,level:r})=>En(t.value,o)&&t.level===r)||null}}const R0={modelValue:[Number,String,Array],options:{type:Array,default:()=>[]},props:{type:Object,default:()=>({})}},cO={expandTrigger:Ep.CLICK,multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:wt,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},dO=e=>C(()=>he(he({},cO),e.props)),Dm=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},uO=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():jv(e)&&e.click()},pO=(e,t)=>{const n=t.slice(0),o=n.map(a=>a.uid),r=e.reduce((a,i)=>{const l=o.indexOf(i.uid);return l>-1&&(a.push(i),n.splice(l,1),o.splice(l,1)),a},[]);return r.push(...n),r},fO=ee({name:"ElCascaderPanel",components:{ElCascaderMenu:iO},props:ze(he({},R0),{border:{type:Boolean,default:!0},renderLabel:Function}),emits:[tt,Xt,"close","expand-change"],setup(e,{emit:t,slots:n}){let o=!1;const r=ke("cascader"),a=dO(e);let i=null;const l=A(!0),s=A([]),c=A(null),d=A([]),u=A(null),p=A([]),f=C(()=>a.value.expandTrigger===Ep.HOVER),h=C(()=>e.renderLabel||n.default),b=()=>{const{options:L}=e,F=a.value;o=!1,i=new Fm(L,F),d.value=[i.getNodes()],F.lazy&&Bi(e.options)?(l.value=!1,m(void 0,V=>{V&&(i=new Fm(V,F),d.value=[i.getNodes()]),l.value=!0,z(!1,!0)})):z(!1,!0)},m=(L,F)=>{const V=a.value;L=L||new Na({},V,void 0,!0),L.loading=!0;const q=R=>{const E=L,N=E.root?null:E;R&&(i==null||i.appendNodes(R,N)),E.loading=!1,E.loaded=!0,E.childrenData=E.childrenData||[],F&&F(R)};V.lazyLoad(L,q)},g=(L,F)=>{var V;const{level:q}=L,R=d.value.slice(0,q);let E;L.isLeaf?E=L.pathNodes[q-2]:(E=L,R.push(L.children)),((V=u.value)==null?void 0:V.uid)!==(E==null?void 0:E.uid)&&(u.value=L,d.value=R,!F&&t("expand-change",(L==null?void 0:L.pathValues)||[]))},v=(L,F,V=!0)=>{const{checkStrictly:q,multiple:R}=a.value,E=p.value[0];o=!0,!R&&(E==null||E.doCheck(!1)),L.doCheck(F),$(),V&&!R&&!q&&t("close"),!V&&!R&&!q&&y(L)},y=L=>{!L||(L=L.parent,y(L),L&&g(L))},T=L=>i==null?void 0:i.getFlattedNodes(L),x=L=>{var F;return(F=T(L))==null?void 0:F.filter(V=>V.checked!==!1)},k=()=>{p.value.forEach(L=>L.doCheck(!1)),$()},$=()=>{var L;const{checkStrictly:F,multiple:V}=a.value,q=p.value,R=x(!F),E=pO(q,R),N=E.map(W=>W.valueByOption);p.value=E,c.value=V?N:(L=N[0])!=null?L:null},z=(L=!1,F=!1)=>{const{modelValue:V}=e,{lazy:q,multiple:R,checkStrictly:E}=a.value,N=!E;if(!(!l.value||o||!F&&En(V,c.value)))if(q&&!L){const Y=Jh(z4(Or(V))).map(J=>i==null?void 0:i.getNodeByValue(J)).filter(J=>!!J&&!J.loaded&&!J.loading);Y.length?Y.forEach(J=>{m(J,()=>z(!1,F))}):z(!0,F)}else{const W=R?Or(V):[V],Y=Jh(W.map(J=>i==null?void 0:i.getNodeByValue(J,N)));P(Y,!1),c.value=V}},P=(L,F=!0)=>{const{checkStrictly:V}=a.value,q=p.value,R=L.filter(W=>!!W&&(V||W.isLeaf)),E=i==null?void 0:i.getSameNode(u.value),N=F&&E||R[0];N?N.pathNodes.forEach(W=>g(W,!0)):u.value=null,q.forEach(W=>W.doCheck(!1)),R.forEach(W=>W.doCheck(!0)),p.value=R,je(O)},O=()=>{!dt||s.value.forEach(L=>{const F=L==null?void 0:L.$el;if(F){const V=F.querySelector(`.${r.namespace.value}-scrollbar__wrap`),q=F.querySelector(`.${r.b("node")}.${r.is("active")}`)||F.querySelector(`.${r.b("node")}.in-active-path`);Uv(V,q)}})},D=L=>{const F=L.target,{code:V}=L;switch(V){case Pe.up:case Pe.down:{L.preventDefault();const q=V===Pe.up?-1:1;Vl(Hv(F,q,`.${r.b("node")}[tabindex="-1"]`));break}case Pe.left:{L.preventDefault();const q=s.value[Dm(F)-1],R=q==null?void 0:q.$el.querySelector(`.${r.b("node")}[aria-expanded="true"]`);Vl(R);break}case Pe.right:{L.preventDefault();const q=s.value[Dm(F)+1],R=q==null?void 0:q.$el.querySelector(`.${r.b("node")}[tabindex="-1"]`);Vl(R);break}case Pe.enter:uO(F);break;case Pe.esc:case Pe.tab:t("close");break}};return ot(Ap,vt({config:a,expandingNode:u,checkedNodes:p,isHoverMenu:f,initialLoaded:l,renderLabelFn:h,lazyLoad:m,expandNode:g,handleCheckChange:v})),ge([a,()=>e.options],b,{deep:!0,immediate:!0}),ge(()=>e.modelValue,()=>{o=!1,z()}),ge(c,L=>{En(L,e.modelValue)||(t(tt,L),t(Xt,L))}),gb(()=>s.value=[]),et(()=>!Bi(e.modelValue)&&z()),{ns:r,menuList:s,menus:d,checkedNodes:p,handleKeyDown:D,handleCheckChange:v,getFlattedNodes:T,getCheckedNodes:x,clearCheckedNodes:k,calculateCheckedValue:$,scrollToExpandingNode:O}}});function hO(e,t,n,o,r,a){const i=le("el-cascader-menu");return w(),I("div",{class:S([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:t[0]||(t[0]=(...l)=>e.handleKeyDown&&e.handleKeyDown(...l))},[(w(!0),I(Fe,null,ct(e.menus,(l,s)=>(w(),Q(i,{key:s,ref_for:!0,ref:c=>e.menuList[s]=c,index:s,nodes:[...l]},null,8,["index","nodes"]))),128))],34)}var Ul=_e(fO,[["render",hO],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);Ul.install=e=>{e.component(Ul.name,Ul)};const P0=Ul,mO=P0,zp=Le({closable:Boolean,type:{type:String,values:["success","info","warning","danger",""],default:""},hit:Boolean,disableTransitions:Boolean,color:{type:String,default:""},size:{type:String,values:wo,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),gO={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},bO={name:"ElTag"},vO=ee(ze(he({},bO),{props:zp,emits:gO,setup(e,{emit:t}){const n=e,o=Ut(),r=ke("tag"),a=C(()=>{const{type:s,hit:c,effect:d,closable:u,round:p}=n;return[r.b(),r.is("closable",u),r.m(s),r.m(o.value),r.m(d),r.is("hit",c),r.is("round",p)]}),i=s=>{s.stopPropagation(),t("close",s)},l=s=>{t("click",s)};return(s,c)=>s.disableTransitions?(w(),Q(qt,{key:1,name:`${_(r).namespace.value}-zoom-in-center`},{default:K(()=>[M("span",{class:S(_(a)),style:Oe({backgroundColor:s.color}),onClick:l},[M("span",{class:S(_(r).e("content"))},[ue(s.$slots,"default")],2),s.closable?(w(),Q(_(qe),{key:0,class:S(_(r).e("close")),onClick:i},{default:K(()=>[U(_(Hn))]),_:1},8,["class"])):G("v-if",!0)],6)]),_:3},8,["name"])):(w(),I("span",{key:0,class:S(_(a)),style:Oe({backgroundColor:s.color}),onClick:l},[M("span",{class:S(_(r).e("content"))},[ue(s.$slots,"default")],2),s.closable?(w(),Q(_(qe),{key:0,class:S(_(r).e("close")),onClick:i},{default:K(()=>[U(_(Hn))]),_:1},8,["class"])):G("v-if",!0)],6))}}));var yO=_e(vO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const mc=rt(yO),_O=40,wO={large:36,default:32,small:28},xO={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:e})=>{const{modifiersData:t,placement:n}=e;["right","left","bottom","top"].includes(n)||(t.arrow.x=35)},requires:["arrow"]}]},Lm="ElCascader",kO=ee({name:Lm,components:{ElCascaderPanel:P0,ElInput:Gn,ElTooltip:vn,ElScrollbar:qo,ElTag:mc,ElIcon:qe,CircleClose:Oo,Check:Ca,ArrowDown:Gr},directives:{Clickoutside:Jr},props:ze(he({},R0),{size:{type:String,validator:Nn},placeholder:{type:String},disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:Function,default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:Function,default:()=>!0},popperClass:{type:String,default:""},popperAppendToBody:{type:Boolean,default:void 0},teleported:tn.teleported,tagType:ze(he({},zp.type),{default:"info"})}),emits:[tt,Xt,"focus","blur","visible-change","expand-change","remove-tag"],setup(e,{emit:t}){let n=0,o=0;const{compatTeleported:r}=Wa(Lm,"popperAppendToBody"),a=ke("cascader"),i=ke("input"),{t:l}=Tt(),s=Ie(Mn,{}),c=Ie(qn,{}),d=A(null),u=A(null),p=A(null),f=A(null),h=A(null),b=A(!1),m=A(!1),g=A(!1),v=A(""),y=A(""),T=A([]),x=A([]),k=A([]),$=A(!1),z=C(()=>e.disabled||s.disabled),P=C(()=>e.placeholder||l("el.cascader.placeholder")),O=Ut(),D=C(()=>["small"].includes(O.value)?"small":"default"),L=C(()=>!!e.props.multiple),F=C(()=>!e.filterable||L.value),V=C(()=>L.value?y.value:v.value),q=C(()=>{var ce;return((ce=f.value)==null?void 0:ce.checkedNodes)||[]}),R=C(()=>!e.clearable||z.value||g.value||!m.value?!1:!!q.value.length),E=C(()=>{const{showAllLevels:ce,separator:ae}=e,te=q.value;return te.length?L.value?" ":te[0].calcText(ce,ae):""}),N=C({get(){return e.modelValue},set(ce){var ae;t(tt,ce),t(Xt,ce),(ae=c.validate)==null||ae.call(c,"change").catch(te=>void 0)}}),W=C(()=>{var ce,ae;return(ae=(ce=d.value)==null?void 0:ce.popperRef)==null?void 0:ae.contentRef}),Y=ce=>{var ae,te,pe;if(!z.value&&(ce=ce!=null?ce:!b.value,ce!==b.value)){if(b.value=ce,(te=(ae=u.value)==null?void 0:ae.input)==null||te.setAttribute("aria-expanded",`${ce}`),ce)J(),je((pe=f.value)==null?void 0:pe.scrollToExpandingNode);else if(e.filterable){const{value:De}=E;v.value=De,y.value=De}t("visible-change",ce)}},J=()=>{je(()=>{var ce;(ce=d.value)==null||ce.updatePopper()})},Z=()=>{g.value=!1},se=ce=>{const{showAllLevels:ae,separator:te}=e;return{node:ce,key:ce.uid,text:ce.calcText(ae,te),hitState:!1,closable:!z.value&&!ce.isDisabled,isCollapseTag:!1}},Se=ce=>{var ae;const te=ce.node;te.doCheck(!1),(ae=f.value)==null||ae.calculateCheckedValue(),t("remove-tag",te.valueByOption)},oe=()=>{if(!L.value)return;const ce=q.value,ae=[],te=[];if(ce.forEach(pe=>te.push(se(pe))),x.value=te,ce.length){const[pe,...De]=ce,B=De.length;ae.push(se(pe)),B&&(e.collapseTags?ae.push({key:-1,text:`+ ${B}`,closable:!1,isCollapseTag:!0}):De.forEach(me=>ae.push(se(me))))}T.value=ae},H=()=>{var ce,ae;const{filterMethod:te,showAllLevels:pe,separator:De}=e,B=(ae=(ce=f.value)==null?void 0:ce.getFlattedNodes(!e.props.checkStrictly))==null?void 0:ae.filter(me=>me.isDisabled?!1:(me.calcText(pe,De),te(me,V.value)));L.value&&(T.value.forEach(me=>{me.hitState=!1}),x.value.forEach(me=>{me.hitState=!1})),g.value=!0,k.value=B,J()},ne=()=>{var ce;let ae;g.value&&h.value?ae=h.value.$el.querySelector(`.${a.e("suggestion-item")}`):ae=(ce=f.value)==null?void 0:ce.$el.querySelector(`.${a.b("node")}[tabindex="-1"]`),ae&&(ae.focus(),!g.value&&ae.click())},ie=()=>{var ce,ae;const te=(ce=u.value)==null?void 0:ce.input,pe=p.value,De=(ae=h.value)==null?void 0:ae.$el;if(!(!dt||!te)){if(De){const B=De.querySelector(`.${a.e("suggestion-list")}`);B.style.minWidth=`${te.offsetWidth}px`}if(pe){const{offsetHeight:B}=pe,me=T.value.length>0?`${Math.max(B+6,n)}px`:`${n}px`;te.style.height=me,J()}}},be=ce=>{var ae;return(ae=f.value)==null?void 0:ae.getCheckedNodes(ce)},$e=ce=>{J(),t("expand-change",ce)},Ne=ce=>{var ae;const te=(ae=ce.target)==null?void 0:ae.value;if(ce.type==="compositionend")$.value=!1,je(()=>Ae(te));else{const pe=te[te.length-1]||"";$.value=!lc(pe)}},Me=ce=>{if(!$.value)switch(ce.code){case Pe.enter:Y();break;case Pe.down:Y(!0),je(ne),ce.preventDefault();break;case Pe.esc:case Pe.tab:Y(!1);break}},j=()=>{var ce;(ce=f.value)==null||ce.clearCheckedNodes(),Y(!1)},X=ce=>{var ae,te;const{checked:pe}=ce;L.value?(ae=f.value)==null||ae.handleCheckChange(ce,!pe,!1):(!pe&&((te=f.value)==null||te.handleCheckChange(ce,!0,!1)),Y(!1))},de=ce=>{const ae=ce.target,{code:te}=ce;switch(te){case Pe.up:case Pe.down:{const pe=te===Pe.up?-1:1;Vl(Hv(ae,pe,`.${a.e("suggestion-item")}[tabindex="-1"]`));break}case Pe.enter:ae.click();break;case Pe.esc:case Pe.tab:Y(!1);break}},xe=()=>{const ce=T.value,ae=ce[ce.length-1];o=y.value?0:o+1,!(!ae||!o)&&(ae.hitState?Se(ae):ae.hitState=!0)},we=bn(()=>{const{value:ce}=V;if(!ce)return;const ae=e.beforeFilter(ce);Vr(ae)?ae.then(H).catch(()=>{}):ae!==!1?H():Z()},e.debounce),Ae=(ce,ae)=>{!b.value&&Y(!0),!(ae!=null&&ae.isComposing)&&(ce?we():Z())};return ge(g,J),ge([q,z],oe),ge(T,()=>{je(()=>ie())}),ge(E,ce=>v.value=ce,{immediate:!0}),et(()=>{var ce;const ae=(ce=u.value)==null?void 0:ce.$el;n=(ae==null?void 0:ae.offsetHeight)||wO[O.value]||_O,ja(ae,ie)}),$t(()=>{var ce;Ha((ce=u.value)==null?void 0:ce.$el,ie)}),{popperOptions:xO,tooltipRef:d,popperPaneRef:W,input:u,tagWrapper:p,panel:f,suggestionPanel:h,popperVisible:b,inputHover:m,inputPlaceholder:P,filtering:g,presentText:E,checkedValue:N,inputValue:v,searchInputValue:y,presentTags:T,allPresentTags:x,suggestions:k,isDisabled:z,isOnComposition:$,realSize:O,tagSize:D,multiple:L,readonly:F,clearBtnVisible:R,compatTeleported:r,nsCascader:a,nsInput:i,t:l,togglePopperVisible:Y,hideSuggestionPanel:Z,deleteTag:Se,focusFirstNode:ne,getCheckedNodes:be,handleExpandChange:$e,handleKeyDown:Me,handleComposition:Ne,handleClear:j,handleSuggestionClick:X,handleSuggestionKeyDown:de,handleDelete:xe,handleInput:Ae}}}),TO={key:0},CO={class:"el-cascader__collapse-tags"},SO=["placeholder"],$O=["onClick"];function AO(e,t,n,o,r,a){const i=le("circle-close"),l=le("el-icon"),s=le("arrow-down"),c=le("el-input"),d=le("el-tag"),u=le("el-tooltip"),p=le("el-cascader-panel"),f=le("check"),h=le("el-scrollbar"),b=In("clickoutside");return w(),Q(u,{ref:"tooltipRef",visible:e.popperVisible,"onUpdate:visible":t[17]||(t[17]=m=>e.popperVisible=m),teleported:e.compatTeleported,"popper-class":[e.nsCascader.e("dropdown"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${e.nsCascader.namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:e.hideSuggestionPanel},{default:K(()=>[Ue((w(),I("div",{class:S([e.nsCascader.b(),e.nsCascader.m(e.realSize),e.nsCascader.is("disabled",e.isDisabled),e.$attrs.class]),style:Oe(e.$attrs.style),onClick:t[11]||(t[11]=()=>e.togglePopperVisible(e.readonly?void 0:!0)),onKeydown:t[12]||(t[12]=(...m)=>e.handleKeyDown&&e.handleKeyDown(...m)),onMouseenter:t[13]||(t[13]=m=>e.inputHover=!0),onMouseleave:t[14]||(t[14]=m=>e.inputHover=!1)},[U(c,{ref:"input",modelValue:e.inputValue,"onUpdate:modelValue":t[1]||(t[1]=m=>e.inputValue=m),placeholder:e.inputPlaceholder,readonly:e.readonly,disabled:e.isDisabled,"validate-event":!1,size:e.realSize,class:S(e.nsCascader.is("focus",e.popperVisible)),onCompositionstart:e.handleComposition,onCompositionupdate:e.handleComposition,onCompositionend:e.handleComposition,onFocus:t[2]||(t[2]=m=>e.$emit("focus",m)),onBlur:t[3]||(t[3]=m=>e.$emit("blur",m)),onInput:e.handleInput},{suffix:K(()=>[e.clearBtnVisible?(w(),Q(l,{key:"clear",class:S([e.nsInput.e("icon"),"icon-circle-close"]),onClick:He(e.handleClear,["stop"])},{default:K(()=>[U(i)]),_:1},8,["class","onClick"])):(w(),Q(l,{key:"arrow-down",class:S([e.nsInput.e("icon"),"icon-arrow-down",e.nsCascader.is("reverse",e.popperVisible)]),onClick:t[0]||(t[0]=He(m=>e.togglePopperVisible(),["stop"]))},{default:K(()=>[U(s)]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","onCompositionstart","onCompositionupdate","onCompositionend","onInput"]),e.multiple?(w(),I("div",{key:0,ref:"tagWrapper",class:S(e.nsCascader.e("tags"))},[(w(!0),I(Fe,null,ct(e.presentTags,m=>(w(),Q(d,{key:m.key,type:e.tagType,size:e.tagSize,hit:m.hitState,closable:m.closable,"disable-transitions":"",onClose:g=>e.deleteTag(m)},{default:K(()=>[m.isCollapseTag===!1?(w(),I("span",TO,ve(m.text),1)):(w(),Q(u,{key:1,teleported:!1,disabled:e.popperVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:K(()=>[M("span",null,ve(m.text),1)]),content:K(()=>[M("div",CO,[(w(!0),I(Fe,null,ct(e.allPresentTags,(g,v)=>(w(),I("div",{key:v,class:"el-cascader__collapse-tag"},[(w(),Q(d,{key:g.key,class:"in-tooltip",type:e.tagType,size:e.tagSize,hit:g.hitState,closable:g.closable,"disable-transitions":"",onClose:y=>e.deleteTag(g)},{default:K(()=>[M("span",null,ve(g.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))]))),128))])]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),e.filterable&&!e.isDisabled?Ue((w(),I("input",{key:0,"onUpdate:modelValue":t[4]||(t[4]=m=>e.searchInputValue=m),type:"text",class:S(e.nsCascader.e("search-input")),placeholder:e.presentText?"":e.inputPlaceholder,onInput:t[5]||(t[5]=m=>e.handleInput(e.searchInputValue,m)),onClick:t[6]||(t[6]=He(m=>e.togglePopperVisible(!0),["stop"])),onKeydown:t[7]||(t[7]=st((...m)=>e.handleDelete&&e.handleDelete(...m),["delete"])),onCompositionstart:t[8]||(t[8]=(...m)=>e.handleComposition&&e.handleComposition(...m)),onCompositionupdate:t[9]||(t[9]=(...m)=>e.handleComposition&&e.handleComposition(...m)),onCompositionend:t[10]||(t[10]=(...m)=>e.handleComposition&&e.handleComposition(...m))},null,42,SO)),[[Ou,e.searchInputValue]]):G("v-if",!0)],2)):G("v-if",!0)],38)),[[b,()=>e.togglePopperVisible(!1),e.popperPaneRef]])]),content:K(()=>[Ue(U(p,{ref:"panel",modelValue:e.checkedValue,"onUpdate:modelValue":t[15]||(t[15]=m=>e.checkedValue=m),options:e.options,props:e.props,border:!1,"render-label":e.$slots.default,onExpandChange:e.handleExpandChange,onClose:t[16]||(t[16]=m=>e.$nextTick(()=>e.togglePopperVisible(!1)))},null,8,["modelValue","options","props","render-label","onExpandChange"]),[[ft,!e.filtering]]),e.filterable?Ue((w(),Q(h,{key:0,ref:"suggestionPanel",tag:"ul",class:S(e.nsCascader.e("suggestion-panel")),"view-class":e.nsCascader.e("suggestion-list"),onKeydown:e.handleSuggestionKeyDown},{default:K(()=>[e.suggestions.length?(w(!0),I(Fe,{key:0},ct(e.suggestions,m=>(w(),I("li",{key:m.uid,class:S([e.nsCascader.e("suggestion-item"),e.nsCascader.is("checked",m.checked)]),tabindex:-1,onClick:g=>e.handleSuggestionClick(m)},[M("span",null,ve(m.text),1),m.checked?(w(),Q(l,{key:0},{default:K(()=>[U(f)]),_:1})):G("v-if",!0)],10,$O))),128)):ue(e.$slots,"empty",{key:1},()=>[M("li",{class:S(e.nsCascader.e("empty-text"))},ve(e.t("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class","onKeydown"])),[[ft,e.filtering]]):G("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-options","transition","onHide"])}var Yl=_e(kO,[["render",AO],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/index.vue"]]);Yl.install=e=>{e.component(Yl.name,Yl)};const EO=Yl,zO=EO,IO=Le({checked:{type:Boolean,default:!1}}),NO={"update:checked":e=>on(e),change:e=>on(e)},MO={name:"ElCheckTag"},RO=ee(ze(he({},MO),{props:IO,emits:NO,setup(e,{emit:t}){const n=e,o=ke("check-tag"),r=()=>{const a=!n.checked;t("change",a),t("update:checked",a)};return(a,i)=>(w(),I("span",{class:S([_(o).b(),_(o).is("checked",a.checked)]),onClick:r},[ue(a.$slots,"default")],2))}}));var PO=_e(RO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const OO=rt(PO),FO=Le({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:Te([Number,Object]),default:()=>Ft({})},sm:{type:Te([Number,Object]),default:()=>Ft({})},md:{type:Te([Number,Object]),default:()=>Ft({})},lg:{type:Te([Number,Object]),default:()=>Ft({})},xl:{type:Te([Number,Object]),default:()=>Ft({})}});var DO=ee({name:"ElCol",props:FO,setup(e,{slots:t}){const{gutter:n}=Ie(hy,{gutter:C(()=>0)}),o=ke("col"),r=C(()=>n.value?{paddingLeft:`${n.value/2}px`,paddingRight:`${n.value/2}px`}:{}),a=C(()=>{const i=[];return["span","offset","pull","push"].forEach(c=>{const d=e[c];typeof d=="number"&&(c==="span"?i.push(o.b(`${e[c]}`)):d>0&&i.push(o.b(`${c}-${e[c]}`)))}),["xs","sm","md","lg","xl"].forEach(c=>{if(typeof e[c]=="number")i.push(o.b(`${c}-${e[c]}`));else if(typeof e[c]=="object"){const d=e[c];Object.keys(d).forEach(u=>{i.push(u!=="span"?o.b(`${c}-${u}-${d[u]}`):o.b(`${c}-${d[u]}`))})}}),n.value&&i.push(o.is("guttered")),i});return()=>U(e.tag,{class:[o.b(),a.value],style:r.value},t)}});const LO=rt(DO),Vm=e=>typeof mt(e),VO=Le({accordion:Boolean,modelValue:{type:Te([Array,String,Number]),default:()=>Ft([])}}),BO={[tt]:Vm,[Xt]:Vm},jO={name:"ElCollapse"},HO=ee(ze(he({},jO),{props:VO,emits:BO,setup(e,{expose:t,emit:n}){const o=e,r=ke("collapse"),a=A(Di(o.modelValue)),i=s=>{a.value=s;const c=o.accordion?a.value[0]:a.value;n(tt,c),n(Xt,c)},l=s=>{if(o.accordion)i([(a.value[0]||a.value[0]===0)&&a.value[0]===s?"":s]);else{const c=[...a.value],d=c.indexOf(s);d>-1?c.splice(d,1):c.push(s),i(c)}};return ge(()=>o.modelValue,()=>a.value=Di(o.modelValue),{deep:!0}),ot(cy,{activeNames:a,handleItemClick:l}),t({activeNames:a,setActiveNames:i}),(s,c)=>(w(),I("div",{class:S(_(r).b()),role:"tablist","aria-multiselectable":"true"},[ue(s.$slots,"default")],2))}}));var qO=_e(HO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const KO=ee({name:"ElCollapseTransition",setup(){return{ns:ke("collapse-transition"),on:{beforeEnter(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){t.dataset.oldOverflow=t.style.overflow,t.scrollHeight!==0?(t.style.maxHeight=`${t.scrollHeight}px`,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom):(t.style.maxHeight=0,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom),t.style.overflow="hidden"},afterEnter(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.maxHeight=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){t.scrollHeight!==0&&(t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom}}}}});function WO(e,t,n,o,r,a){return w(),Q(qt,St({name:e.ns.b()},Bw(e.on)),{default:K(()=>[ue(e.$slots,"default")]),_:3},16,["name"])}var Gl=_e(KO,[["render",WO],["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);Gl.install=e=>{e.component(Gl.name,Gl)};const gc=Gl,UO=gc,YO=Le({title:{type:String,default:""},name:{type:Te([String,Number]),default:()=>al()},disabled:Boolean}),GO=["aria-expanded","aria-controls","aria-describedby"],XO=["id","tabindex","onKeypress"],ZO=["id","aria-hidden","aria-labelledby"],JO={name:"ElCollapseItem"},QO=ee(ze(he({},JO),{props:YO,setup(e,{expose:t}){const n=e,o=Ie(cy),r=ke("collapse"),a=A(!1),i=A(!1),l=A(al()),s=C(()=>o==null?void 0:o.activeNames.value.includes(n.name)),c=()=>{setTimeout(()=>{i.value?i.value=!1:a.value=!0},50)},d=()=>{n.disabled||(o==null||o.handleItemClick(n.name),a.value=!1,i.value=!0)},u=()=>{o==null||o.handleItemClick(n.name)};return t({isActive:s}),(p,f)=>(w(),I("div",{class:S([_(r).b("item"),_(r).is("active",_(s)),_(r).is("disabled",p.disabled)])},[M("div",{role:"tab","aria-expanded":_(s),"aria-controls":_(r).b(`content-${l.value}`),"aria-describedby":_(r).b(`content-${l.value}`)},[M("div",{id:_(r).b(`head-${l.value}`),class:S([_(r).be("item","header"),_(r).is("active",_(s)),{focusing:a.value}]),role:"button",tabindex:p.disabled?-1:0,onClick:d,onKeypress:st(He(u,["stop","prevent"]),["space","enter"]),onFocus:c,onBlur:f[0]||(f[0]=h=>a.value=!1)},[ue(p.$slots,"title",{},()=>[it(ve(p.title),1)]),U(_(qe),{class:S([_(r).be("item","arrow"),_(r).is("active",_(s))])},{default:K(()=>[U(_(Yn))]),_:1},8,["class"])],42,XO)],8,GO),U(_(gc),null,{default:K(()=>[Ue(M("div",{id:_(r).b(`content-${l.value}`),class:S(_(r).be("item","wrap")),role:"tabpanel","aria-hidden":!_(s),"aria-labelledby":_(r).b(`head-${l.value}`)},[M("div",{class:S(_(r).be("item","content"))},[ue(p.$slots,"default")],2)],10,ZO),[[ft,_(s)]])]),_:3})],2))}}));var O0=_e(QO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const eF=rt(qO,{CollapseItem:O0}),tF=Dt(O0);let Bc=!1;function Wi(e,t){if(!dt)return;const n=function(a){var i;(i=t.drag)==null||i.call(t,a)},o=function(a){var i;Bt(document,"mousemove",n),Bt(document,"mouseup",o),Bt(document,"touchmove",n),Bt(document,"touchend",o),document.onselectstart=null,document.ondragstart=null,Bc=!1,(i=t.end)==null||i.call(t,a)},r=function(a){var i;Bc||(a.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,At(document,"mousemove",n),At(document,"mouseup",o),At(document,"touchmove",n),At(document,"touchend",o),Bc=!0,(i=t.start)==null||i.call(t,a))};At(e,"mousedown",r),At(e,"touchstart",r)}const nF=ee({name:"ElColorAlphaSlider",props:{color:{type:Object,required:!0},vertical:{type:Boolean,default:!1}},setup(e){const t=nt(),n=Kt(null),o=Kt(null),r=A(0),a=A(0),i=A(null);ge(()=>e.color.get("alpha"),()=>{p()}),ge(()=>e.color.value,()=>{p()});function l(){if(e.vertical)return 0;const f=t.vnode.el,h=e.color.get("alpha");return f?Math.round(h*(f.offsetWidth-n.value.offsetWidth/2)/100):0}function s(){const f=t.vnode.el;if(!e.vertical)return 0;const h=e.color.get("alpha");return f?Math.round(h*(f.offsetHeight-n.value.offsetHeight/2)/100):0}function c(){if(e.color&&e.color.value){const{r:f,g:h,b}=e.color.toRgb();return`linear-gradient(to right, rgba(${f}, ${h}, ${b}, 0) 0%, rgba(${f}, ${h}, ${b}, 1) 100%)`}return null}function d(f){f.target!==n.value&&u(f)}function u(f){const b=t.vnode.el.getBoundingClientRect(),{clientX:m,clientY:g}=rp(f);if(e.vertical){let v=g-b.top;v=Math.max(n.value.offsetHeight/2,v),v=Math.min(v,b.height-n.value.offsetHeight/2),e.color.set("alpha",Math.round((v-n.value.offsetHeight/2)/(b.height-n.value.offsetHeight)*100))}else{let v=m-b.left;v=Math.max(n.value.offsetWidth/2,v),v=Math.min(v,b.width-n.value.offsetWidth/2),e.color.set("alpha",Math.round((v-n.value.offsetWidth/2)/(b.width-n.value.offsetWidth)*100))}}function p(){r.value=l(),a.value=s(),i.value=c()}return et(()=>{const f={drag:h=>{u(h)},end:h=>{u(h)}};Wi(o.value,f),Wi(n.value,f),p()}),{thumb:n,bar:o,thumbLeft:r,thumbTop:a,background:i,handleClick:d,update:p}}});function oF(e,t,n,o,r,a){return w(),I("div",{class:S(["el-color-alpha-slider",{"is-vertical":e.vertical}])},[M("div",{ref:"bar",class:"el-color-alpha-slider__bar",style:Oe({background:e.background}),onClick:t[0]||(t[0]=(...i)=>e.handleClick&&e.handleClick(...i))},null,4),M("div",{ref:"thumb",class:"el-color-alpha-slider__thumb",style:Oe({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,4)],2)}var rF=_e(nF,[["render",oF],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const aF=ee({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=nt(),n=A(null),o=A(null),r=A(0),a=A(0),i=C(()=>e.color.get("hue"));ge(()=>i.value,()=>{u()});function l(p){p.target!==n.value&&s(p)}function s(p){const h=t.vnode.el.getBoundingClientRect(),{clientX:b,clientY:m}=rp(p);let g;if(e.vertical){let v=m-h.top;v=Math.min(v,h.height-n.value.offsetHeight/2),v=Math.max(n.value.offsetHeight/2,v),g=Math.round((v-n.value.offsetHeight/2)/(h.height-n.value.offsetHeight)*360)}else{let v=b-h.left;v=Math.min(v,h.width-n.value.offsetWidth/2),v=Math.max(n.value.offsetWidth/2,v),g=Math.round((v-n.value.offsetWidth/2)/(h.width-n.value.offsetWidth)*360)}e.color.set("hue",g)}function c(){const p=t.vnode.el;if(e.vertical)return 0;const f=e.color.get("hue");return p?Math.round(f*(p.offsetWidth-n.value.offsetWidth/2)/360):0}function d(){const p=t.vnode.el;if(!e.vertical)return 0;const f=e.color.get("hue");return p?Math.round(f*(p.offsetHeight-n.value.offsetHeight/2)/360):0}function u(){r.value=c(),a.value=d()}return et(()=>{const p={drag:f=>{s(f)},end:f=>{s(f)}};Wi(o.value,p),Wi(n.value,p),u()}),{bar:o,thumb:n,thumbLeft:r,thumbTop:a,hueValue:i,handleClick:l,update:u}}});function iF(e,t,n,o,r,a){return w(),I("div",{class:S(["el-color-hue-slider",{"is-vertical":e.vertical}])},[M("div",{ref:"bar",class:"el-color-hue-slider__bar",onClick:t[0]||(t[0]=(...i)=>e.handleClick&&e.handleClick(...i))},null,512),M("div",{ref:"thumb",class:"el-color-hue-slider__thumb",style:Oe({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,4)],2)}var lF=_e(aF,[["render",iF],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/hue-slider.vue"]]);const F0=Symbol(),sF=()=>Ie(F0),Bm=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},cF=function(e){return typeof e=="string"&&e.includes(".")&&Number.parseFloat(e)===1},dF=function(e){return typeof e=="string"&&e.includes("%")},ga=function(e,t){cF(e)&&(e="100%");const n=dF(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),n&&(e=Number.parseInt(`${e*t}`,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},jm={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Xl=function(e){e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return`${jm[t]||t}${jm[n]||n}`},Hm=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${Xl(e)}${Xl(t)}${Xl(n)}`},jc={A:10,B:11,C:12,D:13,E:14,F:15},wr=function(e){return e.length===2?(jc[e[0].toUpperCase()]||+e[0])*16+(jc[e[1].toUpperCase()]||+e[1]):jc[e[1].toUpperCase()]||+e[1]},uF=function(e,t,n){t=t/100,n=n/100;let o=t;const r=Math.max(n,.01);n*=2,t*=n<=1?n:2-n,o*=r<=1?r:2-r;const a=(n+t)/2,i=n===0?2*o/(r+o):2*t/(n+t);return{h:e,s:i*100,v:a*100}},qm=function(e,t,n){e=ga(e,255),t=ga(t,255),n=ga(n,255);const o=Math.max(e,t,n),r=Math.min(e,t,n);let a;const i=o,l=o-r,s=o===0?0:l/o;if(o===r)a=0;else{switch(o){case e:{a=(t-n)/l+(t{this._hue=Math.max(0,Math.min(360,o)),this._saturation=Math.max(0,Math.min(100,r)),this._value=Math.max(0,Math.min(100,a)),this.doOnChange()};if(t.includes("hsl")){const o=t.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(r=>r!=="").map((r,a)=>a>2?Number.parseFloat(r):Number.parseInt(r,10));if(o.length===4?this._alpha=Number.parseFloat(o[3])*100:o.length===3&&(this._alpha=100),o.length>=3){const{h:r,s:a,v:i}=uF(o[0],o[1],o[2]);n(r,a,i)}}else if(t.includes("hsv")){const o=t.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(r=>r!=="").map((r,a)=>a>2?Number.parseFloat(r):Number.parseInt(r,10));o.length===4?this._alpha=Number.parseFloat(o[3])*100:o.length===3&&(this._alpha=100),o.length>=3&&n(o[0],o[1],o[2])}else if(t.includes("rgb")){const o=t.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(r=>r!=="").map((r,a)=>a>2?Number.parseFloat(r):Number.parseInt(r,10));if(o.length===4?this._alpha=Number.parseFloat(o[3])*100:o.length===3&&(this._alpha=100),o.length>=3){const{h:r,s:a,v:i}=qm(o[0],o[1],o[2]);n(r,a,i)}}else if(t.includes("#")){const o=t.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(o))return;let r,a,i;o.length===3?(r=wr(o[0]+o[0]),a=wr(o[1]+o[1]),i=wr(o[2]+o[2])):(o.length===6||o.length===8)&&(r=wr(o.slice(0,2)),a=wr(o.slice(2,4)),i=wr(o.slice(4,6))),o.length===8?this._alpha=wr(o.slice(6))/255*100:(o.length===3||o.length===6)&&(this._alpha=100);const{h:l,s,v:c}=qm(r,a,i);n(l,s,c)}}compare(t){return Math.abs(t._hue-this._hue)<2&&Math.abs(t._saturation-this._saturation)<1&&Math.abs(t._value-this._value)<1&&Math.abs(t._alpha-this._alpha)<1}doOnChange(){const{_hue:t,_saturation:n,_value:o,_alpha:r,format:a}=this;if(this.enableAlpha)switch(a){case"hsl":{const i=Bm(t,n/100,o/100);this.value=`hsla(${t}, ${Math.round(i[1]*100)}%, ${Math.round(i[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${t}, ${Math.round(n)}%, ${Math.round(o)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${Hm(ni(t,n,o))}${Xl(r*255/100)}`;break}default:{const{r:i,g:l,b:s}=ni(t,n,o);this.value=`rgba(${i}, ${l}, ${s}, ${this.get("alpha")/100})`}}else switch(a){case"hsl":{const i=Bm(t,n/100,o/100);this.value=`hsl(${t}, ${Math.round(i[1]*100)}%, ${Math.round(i[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${t}, ${Math.round(n)}%, ${Math.round(o)}%)`;break}case"rgb":{const{r:i,g:l,b:s}=ni(t,n,o);this.value=`rgb(${i}, ${l}, ${s})`;break}default:this.value=Hm(ni(t,n,o))}}}const pF=ee({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(e){const{currentColor:t}=sF(),n=A(r(e.colors,e.color));ge(()=>t.value,a=>{const i=new wi;i.fromString(a),n.value.forEach(l=>{l.selected=i.compare(l)})}),Dn(()=>{n.value=r(e.colors,e.color)});function o(a){e.color.fromString(e.colors[a])}function r(a,i){return a.map(l=>{const s=new wi;return s.enableAlpha=!0,s.format="rgba",s.fromString(l),s.selected=s.value===i.value,s})}return{rgbaColors:n,handleSelect:o}}}),fF={class:"el-color-predefine"},hF={class:"el-color-predefine__colors"},mF=["onClick"];function gF(e,t,n,o,r,a){return w(),I("div",fF,[M("div",hF,[(w(!0),I(Fe,null,ct(e.rgbaColors,(i,l)=>(w(),I("div",{key:e.colors[l],class:S(["el-color-predefine__color-selector",{selected:i.selected,"is-alpha":i._alpha<100}]),onClick:s=>e.handleSelect(l)},[M("div",{style:Oe({backgroundColor:i.value})},null,4)],10,mF))),128))])])}var bF=_e(pF,[["render",gF],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const vF=ee({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=nt(),n=A(0),o=A(0),r=A("hsl(0, 100%, 50%)"),a=C(()=>{const s=e.color.get("hue"),c=e.color.get("value");return{hue:s,value:c}});function i(){const s=e.color.get("saturation"),c=e.color.get("value"),d=t.vnode.el,{clientWidth:u,clientHeight:p}=d;o.value=s*u/100,n.value=(100-c)*p/100,r.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function l(s){const d=t.vnode.el.getBoundingClientRect(),{clientX:u,clientY:p}=rp(s);let f=u-d.left,h=p-d.top;f=Math.max(0,f),f=Math.min(f,d.width),h=Math.max(0,h),h=Math.min(h,d.height),o.value=f,n.value=h,e.color.set({saturation:f/d.width*100,value:100-h/d.height*100})}return ge(()=>a.value,()=>{i()}),et(()=>{Wi(t.vnode.el,{drag:s=>{l(s)},end:s=>{l(s)}}),i()}),{cursorTop:n,cursorLeft:o,background:r,colorValue:a,handleDrag:l,update:i}}}),yF=M("div",{class:"el-color-svpanel__white"},null,-1),_F=M("div",{class:"el-color-svpanel__black"},null,-1),wF=M("div",null,null,-1),xF=[wF];function kF(e,t,n,o,r,a){return w(),I("div",{class:"el-color-svpanel",style:Oe({backgroundColor:e.background})},[yF,_F,M("div",{class:"el-color-svpanel__cursor",style:Oe({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},xF,4)],4)}var TF=_e(vF,[["render",kF],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const CF=ee({name:"ElColorPicker",components:{ElButton:Vn,ElTooltip:vn,ElInput:Gn,ElIcon:qe,Close:Hn,ArrowDown:Gr,SvPanel:TF,HueSlider:lF,AlphaSlider:rF,Predefine:bF},directives:{ClickOutside:Jr},props:{modelValue:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:{type:String,validator:Nn},popperClass:String,predefine:Array},emits:["change","active-change",tt],setup(e,{emit:t}){const{t:n}=Tt(),o=ke("color"),r=Ie(Mn,{}),a=Ie(qn,{}),i=A(null),l=A(null),s=A(null),c=A(null),d=vt(new wi({enableAlpha:e.showAlpha,format:e.colorFormat,value:e.modelValue})),u=A(!1),p=A(!1),f=A(""),h=C(()=>!e.modelValue&&!p.value?"transparent":v(d,e.showAlpha)),b=Ut(),m=C(()=>!!(e.disabled||r.disabled)),g=C(()=>!e.modelValue&&!p.value?"":d.value);ge(()=>e.modelValue,D=>{D?D&&D!==d.value&&d.fromString(D):p.value=!1}),ge(()=>g.value,D=>{f.value=D,t("active-change",D)}),ge(()=>d.value,()=>{!e.modelValue&&!p.value&&(p.value=!0)});function v(D,L){if(!(D instanceof wi))throw new TypeError("color should be instance of _color Class");const{r:F,g:V,b:q}=D.toRgb();return L?`rgba(${F}, ${V}, ${q}, ${D.get("alpha")/100})`:`rgb(${F}, ${V}, ${q})`}function y(D){u.value=D}const T=bn(y,100);function x(){T(!1),k()}function k(){je(()=>{e.modelValue?d.fromString(e.modelValue):p.value=!1})}function $(){m.value||T(!u.value)}function z(){d.fromString(f.value)}function P(){var D;const L=d.value;t(tt,L),t("change",L),(D=a.validate)==null||D.call(a,"change").catch(F=>void 0),T(!1),je(()=>{const F=new wi({enableAlpha:e.showAlpha,format:e.colorFormat,value:e.modelValue});d.compare(F)||k()})}function O(){var D;T(!1),t(tt,null),t("change",null),e.modelValue!==null&&((D=a.validate)==null||D.call(a,"change").catch(L=>void 0)),k()}return et(()=>{e.modelValue&&(f.value=g.value)}),ge(()=>u.value,()=>{je(()=>{var D,L,F;(D=i.value)==null||D.update(),(L=l.value)==null||L.update(),(F=s.value)==null||F.update()})}),ot(F0,{currentColor:g}),{color:d,colorDisabled:m,colorSize:b,displayedColor:h,showPanelColor:p,showPicker:u,customInput:f,handleConfirm:z,hide:x,handleTrigger:$,clear:O,confirmValue:P,t:n,ns:o,hue:i,svPanel:l,alpha:s,popper:c}}});function SF(e,t,n,o,r,a){const i=le("hue-slider"),l=le("sv-panel"),s=le("alpha-slider"),c=le("predefine"),d=le("el-input"),u=le("el-button"),p=le("arrow-down"),f=le("el-icon"),h=le("close"),b=le("el-tooltip"),m=In("click-outside");return w(),Q(b,{ref:"popper",visible:e.showPicker,"onUpdate:visible":t[2]||(t[2]=g=>e.showPicker=g),"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[e.ns.be("picker","panel"),e.ns.b("dropdown"),e.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:"el-zoom-in-top",persistent:""},{content:K(()=>[Ue((w(),I("div",null,[M("div",{class:S(e.ns.be("dropdown","main-wrapper"))},[U(i,{ref:"hue",class:"hue-slider",color:e.color,vertical:""},null,8,["color"]),U(l,{ref:"svPanel",color:e.color},null,8,["color"])],2),e.showAlpha?(w(),Q(s,{key:0,ref:"alpha",color:e.color},null,8,["color"])):G("v-if",!0),e.predefine?(w(),Q(c,{key:1,ref:"predefine",color:e.color,colors:e.predefine},null,8,["color","colors"])):G("v-if",!0),M("div",{class:S(e.ns.be("dropdown","btns"))},[M("span",{class:S(e.ns.be("dropdown","value"))},[U(d,{modelValue:e.customInput,"onUpdate:modelValue":t[0]||(t[0]=g=>e.customInput=g),"validate-event":!1,size:"small",onKeyup:st(e.handleConfirm,["enter"]),onBlur:e.handleConfirm},null,8,["modelValue","onKeyup","onBlur"])],2),U(u,{size:"small",type:"text",class:S(e.ns.be("dropdown","link-btn")),onClick:e.clear},{default:K(()=>[it(ve(e.t("el.colorpicker.clear")),1)]),_:1},8,["class","onClick"]),U(u,{plain:"",size:"small",class:S(e.ns.be("dropdown","btn")),onClick:e.confirmValue},{default:K(()=>[it(ve(e.t("el.colorpicker.confirm")),1)]),_:1},8,["class","onClick"])],2)])),[[m,e.hide]])]),default:K(()=>[M("div",{class:S([e.ns.b("picker"),e.ns.is("disabled",e.colorDisabled),e.ns.bm("picker",e.colorSize)])},[e.colorDisabled?(w(),I("div",{key:0,class:S(e.ns.be("picker","mask"))},null,2)):G("v-if",!0),M("div",{class:S(e.ns.be("picker","trigger")),onClick:t[1]||(t[1]=(...g)=>e.handleTrigger&&e.handleTrigger(...g))},[M("span",{class:S([e.ns.be("picker","color"),e.ns.is("alpha",e.showAlpha)])},[M("span",{class:S(e.ns.be("picker","color-inner")),style:Oe({backgroundColor:e.displayedColor})},[Ue(U(f,{class:S([e.ns.be("picker","icon"),e.ns.is("icon-arrow-down")])},{default:K(()=>[U(p)]),_:1},8,["class"]),[[ft,e.modelValue||e.showPanelColor]]),!e.modelValue&&!e.showPanelColor?(w(),Q(f,{key:0,class:S([e.ns.be("picker","empty"),e.ns.is("icon-close")])},{default:K(()=>[U(h)]),_:1},8,["class"])):G("v-if",!0)],6)],2)],2)],2)]),_:1},8,["visible","popper-class"])}var Zl=_e(CF,[["render",SF],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/index.vue"]]);Zl.install=e=>{e.component(Zl.name,Zl)};const $F=Zl,AF=$F,Xd={},EF=Le({a11y:{type:Boolean,default:!0},locale:{type:Te(Object)},size:{type:String,values:wo,default:""},button:{type:Te(Object)},experimentalFeatures:{type:Te(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Te(Object)},zIndex:{type:Number},namespace:{type:String,default:"el"}});var zF=ee({name:"ElConfigProvider",props:EF,setup(e,{slots:t}){ge(()=>e.message,o=>{Object.assign(Xd,o!=null?o:{})},{immediate:!0,deep:!0});const n=_y(e);return()=>ue(t,"default",{config:n==null?void 0:n.value})}});const IF=rt(zF),NF=ee({name:"ElContainer",props:{direction:{type:String,default:""}},setup(e,{slots:t}){const n=ke("container");return{isVertical:C(()=>e.direction==="vertical"?!0:e.direction==="horizontal"?!1:t&&t.default?t.default().some(a=>{const i=a.type.name;return i==="ElHeader"||i==="ElFooter"}):!1),ns:n}}});function MF(e,t,n,o,r,a){return w(),I("section",{class:S([e.ns.b(),e.ns.is("vertical",e.isVertical)])},[ue(e.$slots,"default")],2)}var RF=_e(NF,[["render",MF],["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const PF=ee({name:"ElAside",props:{width:{type:String,default:null}},setup(e){const t=ke("aside");return{style:C(()=>e.width?{"--el-aside-width":e.width}:{}),ns:t}}});function OF(e,t,n,o,r,a){return w(),I("aside",{class:S(e.ns.b()),style:Oe(e.style)},[ue(e.$slots,"default")],6)}var D0=_e(PF,[["render",OF],["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const FF=ee({name:"ElFooter",props:{height:{type:String,default:null}},setup(e){const t=ke("footer");return{style:C(()=>e.height?{"--el-footer-height":e.height}:{}),ns:t}}});function DF(e,t,n,o,r,a){return w(),I("footer",{class:S(e.ns.b()),style:Oe(e.style)},[ue(e.$slots,"default")],6)}var L0=_e(FF,[["render",DF],["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const LF=ee({name:"ElHeader",props:{height:{type:String,default:null}},setup(e){const t=ke("header");return{style:C(()=>e.height?{"--el-header-height":e.height}:{}),ns:t}}});function VF(e,t,n,o,r,a){return w(),I("header",{class:S(e.ns.b()),style:Oe(e.style)},[ue(e.$slots,"default")],6)}var V0=_e(LF,[["render",VF],["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const BF=ee({name:"ElMain",setup(){return{ns:ke("main")}}});function jF(e,t,n,o,r,a){return w(),I("main",{class:S(e.ns.b())},[ue(e.$slots,"default")],2)}var B0=_e(BF,[["render",jF],["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const HF=rt(RF,{Aside:D0,Footer:L0,Header:V0,Main:B0}),qF=Dt(D0),KF=Dt(L0),WF=Dt(V0),UF=Dt(B0);var j0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){return function(n,o,r){var a=o.prototype,i=a.format;r.en.ordinal=function(l){var s=["th","st","nd","rd"],c=l%100;return"["+l+(s[(c-20)%10]||s[c]||s[0])+"]"},a.format=function(l){var s=this,c=this.$locale();if(!this.isValid())return i.bind(this)(l);var d=this.$utils(),u=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(p){switch(p){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return c.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return c.ordinal(s.week(),"W");case"w":case"ww":return d.s(s.week(),p==="w"?1:2,"0");case"W":case"WW":return d.s(s.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return d.s(String(s.$H===0?24:s.$H),p==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return p}});return i.bind(this)(u)}}})})(j0);var YF=j0.exports,H0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){var n="week",o="year";return function(r,a,i){var l=a.prototype;l.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=i(this).startOf(o).add(1,o).date(c),u=i(this).endOf(n);if(d.isBefore(u))return 1}var p=i(this).startOf(o).date(c).startOf(n).subtract(1,"millisecond"),f=this.diff(p,n,!0);return f<0?i(this).startOf("week").week():Math.ceil(f)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(H0);var GF=H0.exports,q0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){return function(n,o){o.prototype.weekYear=function(){var r=this.month(),a=this.week(),i=this.year();return a===1&&r===11?i+1:r===0&&a>=52?i-1:i}}})})(q0);var XF=q0.exports,K0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){return function(n,o,r){o.prototype.dayOfYear=function(a){var i=Math.round((r(this).startOf("day")-r(this).startOf("year"))/864e5)+1;return a==null?i:this.add(a-i,"day")}}})})(K0);var ZF=K0.exports,W0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){return function(n,o){o.prototype.isSameOrAfter=function(r,a){return this.isSame(r,a)||this.isAfter(r,a)}}})})(W0);var JF=W0.exports,U0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){return function(n,o){o.prototype.isSameOrBefore=function(r,a){return this.isSame(r,a)||this.isBefore(r,a)}}})})(U0);var QF=U0.exports;const Y0=Symbol();var eD=ee({name:"ElDatePickerCell",props:Le({cell:{type:Te(Object)}}),setup(e){const t=Ie(Y0);return()=>{const n=e.cell;if(t!=null&&t.ctx.slots.default){const o=t.ctx.slots.default(n).filter(r=>r.patchFlag!==-2&&r.type.toString()!=="Symbol(Comment)");if(o.length)return o}return Re("div",{class:"el-date-table-cell"},[Re("span",{class:"el-date-table-cell__text"},[n==null?void 0:n.text])])}}});const tD=ee({components:{ElDatePickerCell:eD},props:{date:{type:Object},minDate:{type:Object},maxDate:{type:Object},parsedValue:{type:[Object,Array]},selectionMode:{type:String,default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{type:Function},cellClassName:{type:Function},rangeState:{type:Object,default:()=>({endDate:null,selecting:!1})}},emits:["changerange","pick","select"],setup(e,t){const{t:n,lang:o}=Tt(),r=A(null),a=A(null),i=A([[],[],[],[],[],[]]),l=e.date.$locale().weekStart||7,s=e.date.locale("en").localeData().weekdaysShort().map(T=>T.toLowerCase()),c=C(()=>l>3?7-l:-l),d=C(()=>{const T=e.date.startOf("month");return T.subtract(T.day()||7,"day")}),u=C(()=>s.concat(s).slice(l,l+7)),p=C(()=>{var T;const x=e.date.startOf("month"),k=x.day()||7,$=x.daysInMonth(),z=x.subtract(1,"month").daysInMonth(),P=c.value,O=i.value;let D=1;const L=e.selectionMode==="dates"?Or(e.parsedValue):[],F=Ge().locale(o.value).startOf("day");for(let V=0;V<6;V++){const q=O[V];e.showWeekNumber&&(q[0]||(q[0]={type:"week",text:d.value.add(V*7+1,"day").week()}));for(let R=0;R<7;R++){let E=q[e.showWeekNumber?R+1:R];E||(E={row:V,column:R,type:"normal",inRange:!1,start:!1,end:!1});const N=V*7+R,W=d.value.add(N-P,"day");E.dayjs=W,E.date=W.toDate(),E.timestamp=W.valueOf(),E.type="normal";const Y=e.rangeState.endDate||e.maxDate||e.rangeState.selecting&&e.minDate;if(E.inRange=e.minDate&&W.isSameOrAfter(e.minDate,"day")&&Y&&W.isSameOrBefore(Y,"day")||e.minDate&&W.isSameOrBefore(e.minDate,"day")&&Y&&W.isSameOrAfter(Y,"day"),(T=e.minDate)!=null&&T.isSameOrAfter(Y)?(E.start=Y&&W.isSame(Y,"day"),E.end=e.minDate&&W.isSame(e.minDate,"day")):(E.start=e.minDate&&W.isSame(e.minDate,"day"),E.end=Y&&W.isSame(Y,"day")),W.isSame(F,"day")&&(E.type="today"),V>=0&&V<=1){const se=k+P<0?7+k+P:k+P;R+V*7>=se?E.text=D++:(E.text=z-(se-R%7)+1+V*7,E.type="prev-month")}else D<=$?E.text=D++:(E.text=D++-$,E.type="next-month");const Z=W.toDate();E.selected=L.find(se=>se.valueOf()===W.valueOf()),E.isSelected=!!E.selected,E.isCurrent=f(E),E.disabled=e.disabledDate&&e.disabledDate(Z),E.customClass=e.cellClassName&&e.cellClassName(Z),q[e.showWeekNumber?R+1:R]=E}if(e.selectionMode==="week"){const R=e.showWeekNumber?1:0,E=e.showWeekNumber?7:6,N=y(q[R+1]);q[R].inRange=N,q[R].start=N,q[E].inRange=N,q[E].end=N}}return O}),f=T=>e.selectionMode==="day"&&(T.type==="normal"||T.type==="today")&&h(T,e.parsedValue),h=(T,x)=>x?Ge(x).locale(o.value).isSame(e.date.date(Number(T.text)),"day"):!1,b=T=>{const x=[];return(T.type==="normal"||T.type==="today")&&!T.disabled?(x.push("available"),T.type==="today"&&x.push("today")):x.push(T.type),f(T)&&x.push("current"),T.inRange&&(T.type==="normal"||T.type==="today"||e.selectionMode==="week")&&(x.push("in-range"),T.start&&x.push("start-date"),T.end&&x.push("end-date")),T.disabled&&x.push("disabled"),T.selected&&x.push("selected"),T.customClass&&x.push(T.customClass),x.join(" ")},m=(T,x)=>{const k=T*7+(x-(e.showWeekNumber?1:0))-c.value;return d.value.add(k,"day")},g=T=>{if(!e.rangeState.selecting)return;let x=T.target;if(x.tagName==="SPAN"&&(x=x.parentNode.parentNode),x.tagName==="DIV"&&(x=x.parentNode),x.tagName!=="TD")return;const k=x.parentNode.rowIndex-1,$=x.cellIndex;p.value[k][$].disabled||(k!==r.value||$!==a.value)&&(r.value=k,a.value=$,t.emit("changerange",{selecting:!0,endDate:m(k,$)}))},v=T=>{let x=T.target;for(;x&&x.tagName!=="TD";)x=x.parentNode;if(!x||x.tagName!=="TD")return;const k=x.parentNode.rowIndex-1,$=x.cellIndex,z=p.value[k][$];if(z.disabled||z.type==="week")return;const P=m(k,$);if(e.selectionMode==="range")e.rangeState.selecting?(P>=e.minDate?t.emit("pick",{minDate:e.minDate,maxDate:P}):t.emit("pick",{minDate:P,maxDate:e.minDate}),t.emit("select",!1)):(t.emit("pick",{minDate:P,maxDate:null}),t.emit("select",!0));else if(e.selectionMode==="day")t.emit("pick",P);else if(e.selectionMode==="week"){const O=P.week(),D=`${P.year()}w${O}`;t.emit("pick",{year:P.year(),week:O,value:D,date:P.startOf("week")})}else if(e.selectionMode==="dates"){const O=z.selected?Or(e.parsedValue).filter(D=>D.valueOf()!==P.valueOf()):Or(e.parsedValue).concat([P]);t.emit("pick",O)}},y=T=>{if(e.selectionMode!=="week")return!1;let x=e.date.startOf("day");if(T.type==="prev-month"&&(x=x.subtract(1,"month")),T.type==="next-month"&&(x=x.add(1,"month")),x=x.date(Number.parseInt(T.text,10)),e.parsedValue&&!Array.isArray(e.parsedValue)){const k=(e.parsedValue.day()-l+7)%7-1;return e.parsedValue.subtract(k,"day").isSame(x,"day")}return!1};return{handleMouseMove:g,t:n,rows:p,isWeekActive:y,getCellClasses:b,WEEKS:u,handleClick:v}}}),nD={key:0};function oD(e,t,n,o,r,a){const i=le("el-date-picker-cell");return w(),I("table",{cellspacing:"0",cellpadding:"0",class:S(["el-date-table",{"is-week-mode":e.selectionMode==="week"}]),onClick:t[0]||(t[0]=(...l)=>e.handleClick&&e.handleClick(...l)),onMousemove:t[1]||(t[1]=(...l)=>e.handleMouseMove&&e.handleMouseMove(...l))},[M("tbody",null,[M("tr",null,[e.showWeekNumber?(w(),I("th",nD,ve(e.t("el.datepicker.week")),1)):G("v-if",!0),(w(!0),I(Fe,null,ct(e.WEEKS,(l,s)=>(w(),I("th",{key:s},ve(e.t("el.datepicker.weeks."+l)),1))),128))]),(w(!0),I(Fe,null,ct(e.rows,(l,s)=>(w(),I("tr",{key:s,class:S(["el-date-table__row",{current:e.isWeekActive(l[1])}])},[(w(!0),I(Fe,null,ct(l,(c,d)=>(w(),I("td",{key:d,class:S(e.getCellClasses(c))},[U(i,{cell:c},null,8,["cell"])],2))),128))],2))),128))])],34)}var G0=_e(tD,[["render",oD],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const rD=(e,t,n)=>{const o=Ge().locale(n).startOf("month").month(t).year(e),r=o.daysInMonth();return sr(r).map(a=>o.add(a,"day").toDate())},aD=ee({props:{disabledDate:{type:Function},selectionMode:{type:String,default:"month"},minDate:{type:Object},maxDate:{type:Object},date:{type:Object},parsedValue:{type:Object},rangeState:{type:Object,default:()=>({endDate:null,selecting:!1})}},emits:["changerange","pick","select"],setup(e,t){const{t:n,lang:o}=Tt(),r=A(e.date.locale("en").localeData().monthsShort().map(p=>p.toLowerCase())),a=A([[],[],[]]),i=A(null),l=A(null),s=C(()=>{var p;const f=a.value,h=Ge().locale(o.value).startOf("month");for(let b=0;b<3;b++){const m=f[b];for(let g=0;g<4;g++){let v=m[g];v||(v={row:b,column:g,type:"normal",inRange:!1,start:!1,end:!1}),v.type="normal";const y=b*4+g,T=e.date.startOf("year").month(y),x=e.rangeState.endDate||e.maxDate||e.rangeState.selecting&&e.minDate;v.inRange=e.minDate&&T.isSameOrAfter(e.minDate,"month")&&x&&T.isSameOrBefore(x,"month")||e.minDate&&T.isSameOrBefore(e.minDate,"month")&&x&&T.isSameOrAfter(x,"month"),(p=e.minDate)!=null&&p.isSameOrAfter(x)?(v.start=x&&T.isSame(x,"month"),v.end=e.minDate&&T.isSame(e.minDate,"month")):(v.start=e.minDate&&T.isSame(e.minDate,"month"),v.end=x&&T.isSame(x,"month")),h.isSame(T)&&(v.type="today"),v.text=y;const $=T.toDate();v.disabled=e.disabledDate&&e.disabledDate($),m[g]=v}}return f});return{handleMouseMove:p=>{if(!e.rangeState.selecting)return;let f=p.target;if(f.tagName==="A"&&(f=f.parentNode.parentNode),f.tagName==="DIV"&&(f=f.parentNode),f.tagName!=="TD")return;const h=f.parentNode.rowIndex,b=f.cellIndex;s.value[h][b].disabled||(h!==i.value||b!==l.value)&&(i.value=h,l.value=b,t.emit("changerange",{selecting:!0,endDate:e.date.startOf("year").month(h*4+b)}))},handleMonthTableClick:p=>{let f=p.target;if(f.tagName==="A"&&(f=f.parentNode.parentNode),f.tagName==="DIV"&&(f=f.parentNode),f.tagName!=="TD"||oo(f,"disabled"))return;const h=f.cellIndex,m=f.parentNode.rowIndex*4+h,g=e.date.startOf("year").month(m);e.selectionMode==="range"?e.rangeState.selecting?(g>=e.minDate?t.emit("pick",{minDate:e.minDate,maxDate:g}):t.emit("pick",{minDate:g,maxDate:e.minDate}),t.emit("select",!1)):(t.emit("pick",{minDate:g,maxDate:null}),t.emit("select",!0)):t.emit("pick",m)},rows:s,getCellStyle:p=>{const f={},h=e.date.year(),b=new Date,m=p.text;return f.disabled=e.disabledDate?rD(h,m,o.value).every(e.disabledDate):!1,f.current=Or(e.parsedValue).findIndex(g=>g.year()===h&&g.month()===m)>=0,f.today=b.getFullYear()===h&&b.getMonth()===m,p.inRange&&(f["in-range"]=!0,p.start&&(f["start-date"]=!0),p.end&&(f["end-date"]=!0)),f},t:n,months:r}}}),iD={class:"cell"};function lD(e,t,n,o,r,a){return w(),I("table",{class:"el-month-table",onClick:t[0]||(t[0]=(...i)=>e.handleMonthTableClick&&e.handleMonthTableClick(...i)),onMousemove:t[1]||(t[1]=(...i)=>e.handleMouseMove&&e.handleMouseMove(...i))},[M("tbody",null,[(w(!0),I(Fe,null,ct(e.rows,(i,l)=>(w(),I("tr",{key:l},[(w(!0),I(Fe,null,ct(i,(s,c)=>(w(),I("td",{key:c,class:S(e.getCellStyle(s))},[M("div",null,[M("a",iD,ve(e.t("el.datepicker.months."+e.months[s.text])),1)])],2))),128))]))),128))])],32)}var X0=_e(aD,[["render",lD],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const sD=(e,t)=>{const n=Ge(String(e)).locale(t).startOf("year"),r=n.endOf("year").dayOfYear();return sr(r).map(a=>n.add(a,"day").toDate())},cD=ee({props:{disabledDate:{type:Function},parsedValue:{type:Object},date:{type:Object}},emits:["pick"],setup(e,t){const{lang:n}=Tt();return{startYear:C(()=>Math.floor(e.date.year()/10)*10),getCellStyle:i=>{const l={},s=Ge().locale(n.value);return l.disabled=e.disabledDate?sD(i,n.value).every(e.disabledDate):!1,l.current=Or(e.parsedValue).findIndex(c=>c.year()===i)>=0,l.today=s.year()===i,l},handleYearTableClick:i=>{const l=i.target;if(l.tagName==="A"){if(oo(l.parentNode,"disabled"))return;const s=l.textContent||l.innerText;t.emit("pick",Number(s))}}}}}),dD={class:"cell"},uD={class:"cell"},pD={class:"cell"},fD={class:"cell"},hD={class:"cell"},mD={class:"cell"},gD={class:"cell"},bD={class:"cell"},vD={class:"cell"},yD={class:"cell"},_D=M("td",null,null,-1),wD=M("td",null,null,-1);function xD(e,t,n,o,r,a){return w(),I("table",{class:"el-year-table",onClick:t[0]||(t[0]=(...i)=>e.handleYearTableClick&&e.handleYearTableClick(...i))},[M("tbody",null,[M("tr",null,[M("td",{class:S(["available",e.getCellStyle(e.startYear+0)])},[M("a",dD,ve(e.startYear),1)],2),M("td",{class:S(["available",e.getCellStyle(e.startYear+1)])},[M("a",uD,ve(e.startYear+1),1)],2),M("td",{class:S(["available",e.getCellStyle(e.startYear+2)])},[M("a",pD,ve(e.startYear+2),1)],2),M("td",{class:S(["available",e.getCellStyle(e.startYear+3)])},[M("a",fD,ve(e.startYear+3),1)],2)]),M("tr",null,[M("td",{class:S(["available",e.getCellStyle(e.startYear+4)])},[M("a",hD,ve(e.startYear+4),1)],2),M("td",{class:S(["available",e.getCellStyle(e.startYear+5)])},[M("a",mD,ve(e.startYear+5),1)],2),M("td",{class:S(["available",e.getCellStyle(e.startYear+6)])},[M("a",gD,ve(e.startYear+6),1)],2),M("td",{class:S(["available",e.getCellStyle(e.startYear+7)])},[M("a",bD,ve(e.startYear+7),1)],2)]),M("tr",null,[M("td",{class:S(["available",e.getCellStyle(e.startYear+8)])},[M("a",vD,ve(e.startYear+8),1)],2),M("td",{class:S(["available",e.getCellStyle(e.startYear+9)])},[M("a",yD,ve(e.startYear+9),1)],2),_D,wD])])])}var kD=_e(cD,[["render",xD],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const TD=(e,t,n)=>!0,CD=ee({components:{DateTable:G0,ElInput:Gn,ElButton:Vn,ElIcon:qe,TimePickPanel:$p,MonthTable:X0,YearTable:kD,DArrowLeft:rc,ArrowLeft:Xr,DArrowRight:ac,ArrowRight:Yn},directives:{clickoutside:Jr},props:{visible:{type:Boolean,default:!1},parsedValue:{type:[Object,Array]},format:{type:String,default:""},type:{type:String,required:!0,validator:ny}},emits:["pick","set-picker-option","panel-change"],setup(e,t){const{t:n,lang:o}=Tt(),r=Ie("EP_PICKER_BASE"),a=Ie(hc),{shortcuts:i,disabledDate:l,cellClassName:s,defaultTime:c,arrowControl:d}=r.props,u=Yt(r.props,"defaultValue"),p=A(Ge().locale(o.value)),f=C(()=>Ge(c).locale(o.value)),h=C(()=>p.value.month()),b=C(()=>p.value.year()),m=A([]),g=A(null),v=A(null),y=te=>m.value.length>0?TD(te,m.value,e.format||"HH:mm:ss"):!0,T=te=>c&&!H.value?f.value.year(te.year()).month(te.month()).date(te.date()):Y.value?te.millisecond(0):te.startOf("day"),x=(te,...pe)=>{if(!te)t.emit("pick",te,...pe);else if(Array.isArray(te)){const De=te.map(T);t.emit("pick",De,...pe)}else t.emit("pick",T(te),...pe);g.value=null,v.value=null},k=te=>{if(V.value==="day"){let pe=e.parsedValue?e.parsedValue.year(te.year()).month(te.month()).date(te.date()):te;y(pe)||(pe=m.value[0][0].year(te.year()).month(te.month()).date(te.date())),p.value=pe,x(pe,Y.value)}else V.value==="week"?x(te.date):V.value==="dates"&&x(te,!0)},$=()=>{p.value=p.value.subtract(1,"month"),ae("month")},z=()=>{p.value=p.value.add(1,"month"),ae("month")},P=()=>{D.value==="year"?p.value=p.value.subtract(10,"year"):p.value=p.value.subtract(1,"year"),ae("year")},O=()=>{D.value==="year"?p.value=p.value.add(10,"year"):p.value=p.value.add(1,"year"),ae("year")},D=A("date"),L=C(()=>{const te=n("el.datepicker.year");if(D.value==="year"){const pe=Math.floor(b.value/10)*10;return te?`${pe} ${te} - ${pe+9} ${te}`:`${pe} - ${pe+9}`}return`${b.value} ${te}`}),F=te=>{const pe=typeof te.value=="function"?te.value():te.value;if(pe){x(Ge(pe).locale(o.value));return}te.onClick&&te.onClick(t)},V=C(()=>["week","month","year","dates"].includes(e.type)?e.type:"day");ge(()=>V.value,te=>{if(["month","year"].includes(te)){D.value=te;return}D.value="date"},{immediate:!0}),ge(()=>D.value,()=>{a==null||a.updatePopper()});const q=C(()=>!!i.length),R=te=>{p.value=p.value.startOf("month").month(te),V.value==="month"?x(p.value):D.value="date",ae("month")},E=te=>{V.value==="year"?(p.value=p.value.startOf("year").year(te),x(p.value)):(p.value=p.value.year(te),D.value="month"),ae("year")},N=()=>{D.value="month"},W=()=>{D.value="year"},Y=C(()=>e.type==="datetime"||e.type==="datetimerange"),J=C(()=>Y.value||V.value==="dates"),Z=()=>{if(V.value==="dates")x(e.parsedValue);else{let te=e.parsedValue;if(!te){const pe=Ge(c).locale(o.value),De=we();te=pe.year(De.year()).month(De.month()).date(De.date())}p.value=te,x(te)}},se=()=>{const pe=Ge().locale(o.value).toDate();(!l||!l(pe))&&y(pe)&&(p.value=Ge().locale(o.value),x(p.value))},Se=C(()=>x0(e.format)),oe=C(()=>w0(e.format)),H=C(()=>{if(v.value)return v.value;if(!(!e.parsedValue&&!u.value))return(e.parsedValue||p.value).format(Se.value)}),ne=C(()=>{if(g.value)return g.value;if(!(!e.parsedValue&&!u.value))return(e.parsedValue||p.value).format(oe.value)}),ie=A(!1),be=()=>{ie.value=!0},$e=()=>{ie.value=!1},Ne=(te,pe,De)=>{const B=e.parsedValue?e.parsedValue.hour(te.hour()).minute(te.minute()).second(te.second()):te;p.value=B,x(p.value,!0),De||(ie.value=pe)},Me=te=>{const pe=Ge(te,Se.value).locale(o.value);pe.isValid()&&y(pe)&&(p.value=pe.year(p.value.year()).month(p.value.month()).date(p.value.date()),v.value=null,ie.value=!1,x(p.value,!0))},j=te=>{const pe=Ge(te,oe.value).locale(o.value);if(pe.isValid()){if(l&&l(pe.toDate()))return;p.value=pe.hour(p.value.hour()).minute(p.value.minute()).second(p.value.second()),g.value=null,x(p.value,!0)}},X=te=>Ge.isDayjs(te)&&te.isValid()&&(l?!l(te.toDate()):!0),de=te=>V.value==="dates"?te.map(pe=>pe.format(e.format)):te.format(e.format),xe=te=>Ge(te,e.format).locale(o.value),we=()=>{const te=Ge(u.value).locale(o.value);if(!u.value){const pe=f.value;return Ge().hour(pe.hour()).minute(pe.minute()).second(pe.second()).locale(o.value)}return te},Ae=te=>{const{code:pe,keyCode:De}=te,B=[Pe.up,Pe.down,Pe.left,Pe.right];e.visible&&!ie.value&&(B.includes(pe)&&(ce(De),te.stopPropagation(),te.preventDefault()),pe===Pe.enter&&g.value===null&&v.value===null&&x(p,!1))},ce=te=>{const pe={year:{38:-4,40:4,37:-1,39:1,offset:(B,me)=>B.setFullYear(B.getFullYear()+me)},month:{38:-4,40:4,37:-1,39:1,offset:(B,me)=>B.setMonth(B.getMonth()+me)},week:{38:-1,40:1,37:-1,39:1,offset:(B,me)=>B.setDate(B.getDate()+me*7)},day:{38:-7,40:7,37:-1,39:1,offset:(B,me)=>B.setDate(B.getDate()+me)}},De=p.value.toDate();for(;Math.abs(p.value.diff(De,"year",!0))<1;){const B=pe[V.value];if(B.offset(De,B[te]),l&&l(De))continue;const me=Ge(De).locale(o.value);p.value=me,t.emit("pick",me,!0);break}},ae=te=>{t.emit("panel-change",p.value.toDate(),te,D.value)};return t.emit("set-picker-option",["isValidValue",X]),t.emit("set-picker-option",["formatToString",de]),t.emit("set-picker-option",["parseUserInput",xe]),t.emit("set-picker-option",["handleKeydown",Ae]),ge(()=>u.value,te=>{te&&(p.value=we())},{immediate:!0}),ge(()=>e.parsedValue,te=>{if(te){if(V.value==="dates"||Array.isArray(te))return;p.value=te}else p.value=we()},{immediate:!0}),{handleTimePick:Ne,handleTimePickClose:$e,onTimePickerInputFocus:be,timePickerVisible:ie,visibleTime:H,visibleDate:ne,showTime:Y,changeToNow:se,onConfirm:Z,footerVisible:J,handleYearPick:E,showMonthPicker:N,showYearPicker:W,handleMonthPick:R,hasShortcuts:q,shortcuts:i,arrowControl:d,disabledDate:l,cellClassName:s,selectionMode:V,handleShortcutClick:F,prevYear_:P,nextYear_:O,prevMonth_:$,nextMonth_:z,innerDate:p,t:n,yearLabel:L,currentView:D,month:h,handleDatePick:k,handleVisibleTimeChange:Me,handleVisibleDateChange:j,timeFormat:Se,userInputTime:v,userInputDate:g}}}),SD={class:"el-picker-panel__body-wrapper"},$D={key:0,class:"el-picker-panel__sidebar"},AD=["onClick"],ED={class:"el-picker-panel__body"},zD={key:0,class:"el-date-picker__time-header"},ID={class:"el-date-picker__editor-wrap"},ND={class:"el-date-picker__editor-wrap"},MD=["aria-label"],RD=["aria-label"],PD=["aria-label"],OD=["aria-label"],FD={class:"el-picker-panel__content"},DD={class:"el-picker-panel__footer"};function LD(e,t,n,o,r,a){const i=le("el-input"),l=le("time-pick-panel"),s=le("d-arrow-left"),c=le("el-icon"),d=le("arrow-left"),u=le("d-arrow-right"),p=le("arrow-right"),f=le("date-table"),h=le("year-table"),b=le("month-table"),m=le("el-button"),g=In("clickoutside");return w(),I("div",{class:S(["el-picker-panel el-date-picker",[{"has-sidebar":e.$slots.sidebar||e.hasShortcuts,"has-time":e.showTime}]])},[M("div",SD,[ue(e.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),e.hasShortcuts?(w(),I("div",$D,[(w(!0),I(Fe,null,ct(e.shortcuts,(v,y)=>(w(),I("button",{key:y,type:"button",class:"el-picker-panel__shortcut",onClick:T=>e.handleShortcutClick(v)},ve(v.text),9,AD))),128))])):G("v-if",!0),M("div",ED,[e.showTime?(w(),I("div",zD,[M("span",ID,[U(i,{placeholder:e.t("el.datepicker.selectDate"),"model-value":e.visibleDate,size:"small",onInput:t[0]||(t[0]=v=>e.userInputDate=v),onChange:e.handleVisibleDateChange},null,8,["placeholder","model-value","onChange"])]),Ue((w(),I("span",ND,[U(i,{placeholder:e.t("el.datepicker.selectTime"),"model-value":e.visibleTime,size:"small",onFocus:e.onTimePickerInputFocus,onInput:t[1]||(t[1]=v=>e.userInputTime=v),onChange:e.handleVisibleTimeChange},null,8,["placeholder","model-value","onFocus","onChange"]),U(l,{visible:e.timePickerVisible,format:e.timeFormat,"time-arrow-control":e.arrowControl,"parsed-value":e.innerDate,onPick:e.handleTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[g,e.handleTimePickClose]])])):G("v-if",!0),Ue(M("div",{class:S(["el-date-picker__header",{"el-date-picker__header--bordered":e.currentView==="year"||e.currentView==="month"}])},[M("button",{type:"button","aria-label":e.t("el.datepicker.prevYear"),class:"el-picker-panel__icon-btn el-date-picker__prev-btn d-arrow-left",onClick:t[2]||(t[2]=(...v)=>e.prevYear_&&e.prevYear_(...v))},[U(c,null,{default:K(()=>[U(s)]),_:1})],8,MD),Ue(M("button",{type:"button","aria-label":e.t("el.datepicker.prevMonth"),class:"el-picker-panel__icon-btn el-date-picker__prev-btn arrow-left",onClick:t[3]||(t[3]=(...v)=>e.prevMonth_&&e.prevMonth_(...v))},[U(c,null,{default:K(()=>[U(d)]),_:1})],8,RD),[[ft,e.currentView==="date"]]),M("span",{role:"button",class:"el-date-picker__header-label",onClick:t[4]||(t[4]=(...v)=>e.showYearPicker&&e.showYearPicker(...v))},ve(e.yearLabel),1),Ue(M("span",{role:"button",class:S(["el-date-picker__header-label",{active:e.currentView==="month"}]),onClick:t[5]||(t[5]=(...v)=>e.showMonthPicker&&e.showMonthPicker(...v))},ve(e.t(`el.datepicker.month${e.month+1}`)),3),[[ft,e.currentView==="date"]]),M("button",{type:"button","aria-label":e.t("el.datepicker.nextYear"),class:"el-picker-panel__icon-btn el-date-picker__next-btn d-arrow-right",onClick:t[6]||(t[6]=(...v)=>e.nextYear_&&e.nextYear_(...v))},[U(c,null,{default:K(()=>[U(u)]),_:1})],8,PD),Ue(M("button",{type:"button","aria-label":e.t("el.datepicker.nextMonth"),class:"el-picker-panel__icon-btn el-date-picker__next-btn arrow-right",onClick:t[7]||(t[7]=(...v)=>e.nextMonth_&&e.nextMonth_(...v))},[U(c,null,{default:K(()=>[U(p)]),_:1})],8,OD),[[ft,e.currentView==="date"]])],2),[[ft,e.currentView!=="time"]]),M("div",FD,[e.currentView==="date"?(w(),Q(f,{key:0,"selection-mode":e.selectionMode,date:e.innerDate,"parsed-value":e.parsedValue,"disabled-date":e.disabledDate,onPick:e.handleDatePick},null,8,["selection-mode","date","parsed-value","disabled-date","onPick"])):G("v-if",!0),e.currentView==="year"?(w(),Q(h,{key:1,date:e.innerDate,"disabled-date":e.disabledDate,"parsed-value":e.parsedValue,onPick:e.handleYearPick},null,8,["date","disabled-date","parsed-value","onPick"])):G("v-if",!0),e.currentView==="month"?(w(),Q(b,{key:2,date:e.innerDate,"parsed-value":e.parsedValue,"disabled-date":e.disabledDate,onPick:e.handleMonthPick},null,8,["date","parsed-value","disabled-date","onPick"])):G("v-if",!0)])])]),Ue(M("div",DD,[Ue(U(m,{size:"small",type:"text",class:"el-picker-panel__link-btn",onClick:e.changeToNow},{default:K(()=>[it(ve(e.t("el.datepicker.now")),1)]),_:1},8,["onClick"]),[[ft,e.selectionMode!=="dates"]]),U(m,{plain:"",size:"small",class:"el-picker-panel__link-btn",onClick:e.onConfirm},{default:K(()=>[it(ve(e.t("el.datepicker.confirm")),1)]),_:1},8,["onClick"])],512),[[ft,e.footerVisible&&e.currentView==="date"]])],2)}var VD=_e(CD,[["render",LD],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const BD=ee({directives:{clickoutside:Jr},components:{TimePickPanel:$p,DateTable:G0,ElInput:Gn,ElButton:Vn,ElIcon:qe,DArrowLeft:rc,ArrowLeft:Xr,DArrowRight:ac,ArrowRight:Yn},props:{unlinkPanels:Boolean,parsedValue:{type:Array},type:{type:String,required:!0,validator:ny}},emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,t){const{t:n,lang:o}=Tt(),r=A(Ge().locale(o.value)),a=A(Ge().locale(o.value).add(1,"month")),i=A(null),l=A(null),s=A({min:null,max:null}),c=A({min:null,max:null}),d=C(()=>`${r.value.year()} ${n("el.datepicker.year")} ${n(`el.datepicker.month${r.value.month()+1}`)}`),u=C(()=>`${a.value.year()} ${n("el.datepicker.year")} ${n(`el.datepicker.month${a.value.month()+1}`)}`),p=C(()=>r.value.year()),f=C(()=>r.value.month()),h=C(()=>a.value.year()),b=C(()=>a.value.month()),m=C(()=>!!De.length),g=C(()=>s.value.min!==null?s.value.min:i.value?i.value.format(k.value):""),v=C(()=>s.value.max!==null?s.value.max:l.value||i.value?(l.value||i.value).format(k.value):""),y=C(()=>c.value.min!==null?c.value.min:i.value?i.value.format(x.value):""),T=C(()=>c.value.max!==null?c.value.max:l.value||i.value?(l.value||i.value).format(x.value):""),x=C(()=>x0(Be)),k=C(()=>w0(Be)),$=()=>{r.value=r.value.subtract(1,"year"),e.unlinkPanels||(a.value=r.value.add(1,"month")),q("year")},z=()=>{r.value=r.value.subtract(1,"month"),e.unlinkPanels||(a.value=r.value.add(1,"month")),q("month")},P=()=>{e.unlinkPanels?a.value=a.value.add(1,"year"):(r.value=r.value.add(1,"year"),a.value=r.value.add(1,"month")),q("year")},O=()=>{e.unlinkPanels?a.value=a.value.add(1,"month"):(r.value=r.value.add(1,"month"),a.value=r.value.add(1,"month")),q("month")},D=()=>{r.value=r.value.add(1,"year"),q("year")},L=()=>{r.value=r.value.add(1,"month"),q("month")},F=()=>{a.value=a.value.subtract(1,"year"),q("year")},V=()=>{a.value=a.value.subtract(1,"month"),q("month")},q=fe=>{t.emit("panel-change",[r.value.toDate(),a.value.toDate()],fe)},R=C(()=>{const fe=(f.value+1)%12,Ee=f.value+1>=12?1:0;return e.unlinkPanels&&new Date(p.value+Ee,fe)e.unlinkPanels&&h.value*12+b.value-(p.value*12+f.value+1)>=12),N=fe=>Array.isArray(fe)&&fe[0]&&fe[1]&&fe[0].valueOf()<=fe[1].valueOf(),W=A({endDate:null,selecting:!1}),Y=C(()=>!(i.value&&l.value&&!W.value.selecting&&N([i.value,l.value]))),J=fe=>{W.value=fe},Z=fe=>{W.value.selecting=fe,fe||(W.value.endDate=null)},se=C(()=>e.type==="datetime"||e.type==="datetimerange"),Se=(fe=!1)=>{N([i.value,l.value])&&t.emit("pick",[i.value,l.value],fe)},oe=(fe,Ee)=>{if(!!fe)return Ze?Ge(Ze[Ee]||Ze).locale(o.value).year(fe.year()).month(fe.month()).date(fe.date()):fe},H=(fe,Ee=!0)=>{const We=fe.minDate,gt=fe.maxDate,Ct=oe(We,0),_t=oe(gt,1);l.value===_t&&i.value===Ct||(t.emit("calendar-change",[We.toDate(),gt&>.toDate()]),l.value=_t,i.value=Ct,!(!Ee||se.value)&&Se())},ne=fe=>{const Ee=typeof fe.value=="function"?fe.value():fe.value;if(Ee){t.emit("pick",[Ge(Ee[0]).locale(o.value),Ge(Ee[1]).locale(o.value)]);return}fe.onClick&&fe.onClick(t)},ie=A(!1),be=A(!1),$e=()=>{ie.value=!1},Ne=()=>{be.value=!1},Me=(fe,Ee)=>{s.value[Ee]=fe;const We=Ge(fe,k.value).locale(o.value);if(We.isValid()){if(B&&B(We.toDate()))return;Ee==="min"?(r.value=We,i.value=(i.value||r.value).year(We.year()).month(We.month()).date(We.date()),e.unlinkPanels||(a.value=We.add(1,"month"),l.value=i.value.add(1,"month"))):(a.value=We,l.value=(l.value||a.value).year(We.year()).month(We.month()).date(We.date()),e.unlinkPanels||(r.value=We.subtract(1,"month"),i.value=l.value.subtract(1,"month")))}},j=(fe,Ee)=>{s.value[Ee]=null},X=(fe,Ee)=>{c.value[Ee]=fe;const We=Ge(fe,x.value).locale(o.value);We.isValid()&&(Ee==="min"?(ie.value=!0,i.value=(i.value||r.value).hour(We.hour()).minute(We.minute()).second(We.second()),(!l.value||l.value.isBefore(i.value))&&(l.value=i.value)):(be.value=!0,l.value=(l.value||a.value).hour(We.hour()).minute(We.minute()).second(We.second()),a.value=l.value,l.value&&l.value.isBefore(i.value)&&(i.value=l.value)))},de=(fe,Ee)=>{c.value[Ee]=null,Ee==="min"?(r.value=i.value,ie.value=!1):(a.value=l.value,be.value=!1)},xe=(fe,Ee,We)=>{c.value.min||(fe&&(r.value=fe,i.value=(i.value||r.value).hour(fe.hour()).minute(fe.minute()).second(fe.second())),We||(ie.value=Ee),(!l.value||l.value.isBefore(i.value))&&(l.value=i.value,a.value=fe))},we=(fe,Ee,We)=>{c.value.max||(fe&&(a.value=fe,l.value=(l.value||a.value).hour(fe.hour()).minute(fe.minute()).second(fe.second())),We||(be.value=Ee),l.value&&l.value.isBefore(i.value)&&(i.value=l.value))},Ae=()=>{r.value=te()[0],a.value=r.value.add(1,"month"),t.emit("pick",null)},ce=fe=>Array.isArray(fe)?fe.map(Ee=>Ee.format(Be)):fe.format(Be),ae=fe=>Array.isArray(fe)?fe.map(Ee=>Ge(Ee,Be).locale(o.value)):Ge(fe,Be).locale(o.value),te=()=>{let fe;if(Array.isArray(ye.value)){const Ee=Ge(ye.value[0]);let We=Ge(ye.value[1]);return e.unlinkPanels||(We=Ee.add(1,"month")),[Ee,We]}else ye.value?fe=Ge(ye.value):fe=Ge();return fe=fe.locale(o.value),[fe,fe.add(1,"month")]};t.emit("set-picker-option",["isValidValue",N]),t.emit("set-picker-option",["parseUserInput",ae]),t.emit("set-picker-option",["formatToString",ce]),t.emit("set-picker-option",["handleClear",Ae]);const pe=Ie("EP_PICKER_BASE"),{shortcuts:De,disabledDate:B,cellClassName:me,format:Be,defaultTime:Ze,arrowControl:Ve,clearable:re}=pe.props,ye=Yt(pe.props,"defaultValue");return ge(()=>ye.value,fe=>{if(fe){const Ee=te();i.value=null,l.value=null,r.value=Ee[0],a.value=Ee[1]}},{immediate:!0}),ge(()=>e.parsedValue,fe=>{if(fe&&fe.length===2)if(i.value=fe[0],l.value=fe[1],r.value=i.value,e.unlinkPanels&&l.value){const Ee=i.value.year(),We=i.value.month(),gt=l.value.year(),Ct=l.value.month();a.value=Ee===gt&&We===Ct?l.value.add(1,"month"):l.value}else a.value=r.value.add(1,"month"),l.value&&(a.value=a.value.hour(l.value.hour()).minute(l.value.minute()).second(l.value.second()));else{const Ee=te();i.value=null,l.value=null,r.value=Ee[0],a.value=Ee[1]}},{immediate:!0}),{shortcuts:De,disabledDate:B,cellClassName:me,minTimePickerVisible:ie,maxTimePickerVisible:be,handleMinTimeClose:$e,handleMaxTimeClose:Ne,handleShortcutClick:ne,rangeState:W,minDate:i,maxDate:l,handleRangePick:H,onSelect:Z,handleChangeRange:J,btnDisabled:Y,enableYearArrow:E,enableMonthArrow:R,rightPrevMonth:V,rightPrevYear:F,rightNextMonth:O,rightNextYear:P,leftPrevMonth:z,leftPrevYear:$,leftNextMonth:L,leftNextYear:D,hasShortcuts:m,leftLabel:d,rightLabel:u,leftDate:r,rightDate:a,showTime:se,t:n,minVisibleDate:g,maxVisibleDate:v,minVisibleTime:y,maxVisibleTime:T,arrowControl:Ve,handleDateInput:Me,handleDateChange:j,handleTimeInput:X,handleTimeChange:de,handleMinTimePick:xe,handleMaxTimePick:we,handleClear:Ae,handleConfirm:Se,timeFormat:x,clearable:re}}}),jD={class:"el-picker-panel__body-wrapper"},HD={key:0,class:"el-picker-panel__sidebar"},qD=["onClick"],KD={class:"el-picker-panel__body"},WD={key:0,class:"el-date-range-picker__time-header"},UD={class:"el-date-range-picker__editors-wrap"},YD={class:"el-date-range-picker__time-picker-wrap"},GD={class:"el-date-range-picker__time-picker-wrap"},XD={class:"el-date-range-picker__editors-wrap is-right"},ZD={class:"el-date-range-picker__time-picker-wrap"},JD={class:"el-date-range-picker__time-picker-wrap"},QD={class:"el-picker-panel__content el-date-range-picker__content is-left"},e7={class:"el-date-range-picker__header"},t7=["disabled"],n7=["disabled"],o7={class:"el-picker-panel__content el-date-range-picker__content is-right"},r7={class:"el-date-range-picker__header"},a7=["disabled"],i7=["disabled"],l7={key:0,class:"el-picker-panel__footer"};function s7(e,t,n,o,r,a){const i=le("el-input"),l=le("time-pick-panel"),s=le("arrow-right"),c=le("el-icon"),d=le("d-arrow-left"),u=le("arrow-left"),p=le("d-arrow-right"),f=le("date-table"),h=le("el-button"),b=In("clickoutside");return w(),I("div",{class:S(["el-picker-panel el-date-range-picker",[{"has-sidebar":e.$slots.sidebar||e.hasShortcuts,"has-time":e.showTime}]])},[M("div",jD,[ue(e.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),e.hasShortcuts?(w(),I("div",HD,[(w(!0),I(Fe,null,ct(e.shortcuts,(m,g)=>(w(),I("button",{key:g,type:"button",class:"el-picker-panel__shortcut",onClick:v=>e.handleShortcutClick(m)},ve(m.text),9,qD))),128))])):G("v-if",!0),M("div",KD,[e.showTime?(w(),I("div",WD,[M("span",UD,[M("span",YD,[U(i,{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startDate"),class:"el-date-range-picker__editor","model-value":e.minVisibleDate,onInput:t[0]||(t[0]=m=>e.handleDateInput(m,"min")),onChange:t[1]||(t[1]=m=>e.handleDateChange(m,"min"))},null,8,["disabled","placeholder","model-value"])]),Ue((w(),I("span",GD,[U(i,{size:"small",class:"el-date-range-picker__editor",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startTime"),"model-value":e.minVisibleTime,onFocus:t[2]||(t[2]=m=>e.minTimePickerVisible=!0),onInput:t[3]||(t[3]=m=>e.handleTimeInput(m,"min")),onChange:t[4]||(t[4]=m=>e.handleTimeChange(m,"min"))},null,8,["disabled","placeholder","model-value"]),U(l,{visible:e.minTimePickerVisible,format:e.timeFormat,"datetime-role":"start","time-arrow-control":e.arrowControl,"parsed-value":e.leftDate,onPick:e.handleMinTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[b,e.handleMinTimeClose]])]),M("span",null,[U(c,null,{default:K(()=>[U(s)]),_:1})]),M("span",XD,[M("span",ZD,[U(i,{size:"small",class:"el-date-range-picker__editor",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endDate"),"model-value":e.maxVisibleDate,readonly:!e.minDate,onInput:t[5]||(t[5]=m=>e.handleDateInput(m,"max")),onChange:t[6]||(t[6]=m=>e.handleDateChange(m,"max"))},null,8,["disabled","placeholder","model-value","readonly"])]),Ue((w(),I("span",JD,[U(i,{size:"small",class:"el-date-range-picker__editor",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endTime"),"model-value":e.maxVisibleTime,readonly:!e.minDate,onFocus:t[7]||(t[7]=m=>e.minDate&&(e.maxTimePickerVisible=!0)),onInput:t[8]||(t[8]=m=>e.handleTimeInput(m,"max")),onChange:t[9]||(t[9]=m=>e.handleTimeChange(m,"max"))},null,8,["disabled","placeholder","model-value","readonly"]),U(l,{"datetime-role":"end",visible:e.maxTimePickerVisible,format:e.timeFormat,"time-arrow-control":e.arrowControl,"parsed-value":e.rightDate,onPick:e.handleMaxTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[b,e.handleMaxTimeClose]])])])):G("v-if",!0),M("div",QD,[M("div",e7,[M("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-left",onClick:t[10]||(t[10]=(...m)=>e.leftPrevYear&&e.leftPrevYear(...m))},[U(c,null,{default:K(()=>[U(d)]),_:1})]),M("button",{type:"button",class:"el-picker-panel__icon-btn arrow-left",onClick:t[11]||(t[11]=(...m)=>e.leftPrevMonth&&e.leftPrevMonth(...m))},[U(c,null,{default:K(()=>[U(u)]),_:1})]),e.unlinkPanels?(w(),I("button",{key:0,type:"button",disabled:!e.enableYearArrow,class:S([{"is-disabled":!e.enableYearArrow},"el-picker-panel__icon-btn d-arrow-right"]),onClick:t[12]||(t[12]=(...m)=>e.leftNextYear&&e.leftNextYear(...m))},[U(c,null,{default:K(()=>[U(p)]),_:1})],10,t7)):G("v-if",!0),e.unlinkPanels?(w(),I("button",{key:1,type:"button",disabled:!e.enableMonthArrow,class:S([{"is-disabled":!e.enableMonthArrow},"el-picker-panel__icon-btn arrow-right"]),onClick:t[13]||(t[13]=(...m)=>e.leftNextMonth&&e.leftNextMonth(...m))},[U(c,null,{default:K(()=>[U(s)]),_:1})],10,n7)):G("v-if",!0),M("div",null,ve(e.leftLabel),1)]),U(f,{"selection-mode":"range",date:e.leftDate,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,onChangerange:e.handleChangeRange,onPick:e.handleRangePick,onSelect:e.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onPick","onSelect"])]),M("div",o7,[M("div",r7,[e.unlinkPanels?(w(),I("button",{key:0,type:"button",disabled:!e.enableYearArrow,class:S([{"is-disabled":!e.enableYearArrow},"el-picker-panel__icon-btn d-arrow-left"]),onClick:t[14]||(t[14]=(...m)=>e.rightPrevYear&&e.rightPrevYear(...m))},[U(c,null,{default:K(()=>[U(d)]),_:1})],10,a7)):G("v-if",!0),e.unlinkPanels?(w(),I("button",{key:1,type:"button",disabled:!e.enableMonthArrow,class:S([{"is-disabled":!e.enableMonthArrow},"el-picker-panel__icon-btn arrow-left"]),onClick:t[15]||(t[15]=(...m)=>e.rightPrevMonth&&e.rightPrevMonth(...m))},[U(c,null,{default:K(()=>[U(u)]),_:1})],10,i7)):G("v-if",!0),M("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-right",onClick:t[16]||(t[16]=(...m)=>e.rightNextYear&&e.rightNextYear(...m))},[U(c,null,{default:K(()=>[U(p)]),_:1})]),M("button",{type:"button",class:"el-picker-panel__icon-btn arrow-right",onClick:t[17]||(t[17]=(...m)=>e.rightNextMonth&&e.rightNextMonth(...m))},[U(c,null,{default:K(()=>[U(s)]),_:1})]),M("div",null,ve(e.rightLabel),1)]),U(f,{"selection-mode":"range",date:e.rightDate,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,onChangerange:e.handleChangeRange,onPick:e.handleRangePick,onSelect:e.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onPick","onSelect"])])])]),e.showTime?(w(),I("div",l7,[e.clearable?(w(),Q(h,{key:0,size:"small",type:"text",class:"el-picker-panel__link-btn",onClick:e.handleClear},{default:K(()=>[it(ve(e.t("el.datepicker.clear")),1)]),_:1},8,["onClick"])):G("v-if",!0),U(h,{plain:"",size:"small",class:"el-picker-panel__link-btn",disabled:e.btnDisabled,onClick:t[18]||(t[18]=m=>e.handleConfirm(!1))},{default:K(()=>[it(ve(e.t("el.datepicker.confirm")),1)]),_:1},8,["disabled"])])):G("v-if",!0)],2)}var c7=_e(BD,[["render",s7],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const d7=ee({components:{MonthTable:X0,ElIcon:qe,DArrowLeft:rc,DArrowRight:ac},props:{unlinkPanels:Boolean,parsedValue:{type:Array}},emits:["pick","set-picker-option"],setup(e,t){const{t:n,lang:o}=Tt(),r=A(Ge().locale(o.value)),a=A(Ge().locale(o.value).add(1,"year")),i=C(()=>!!L.length),l=R=>{const E=typeof R.value=="function"?R.value():R.value;if(E){t.emit("pick",[Ge(E[0]).locale(o.value),Ge(E[1]).locale(o.value)]);return}R.onClick&&R.onClick(t)},s=()=>{r.value=r.value.subtract(1,"year"),e.unlinkPanels||(a.value=a.value.subtract(1,"year"))},c=()=>{e.unlinkPanels||(r.value=r.value.add(1,"year")),a.value=a.value.add(1,"year")},d=()=>{r.value=r.value.add(1,"year")},u=()=>{a.value=a.value.subtract(1,"year")},p=C(()=>`${r.value.year()} ${n("el.datepicker.year")}`),f=C(()=>`${a.value.year()} ${n("el.datepicker.year")}`),h=C(()=>r.value.year()),b=C(()=>a.value.year()===r.value.year()?r.value.year()+1:a.value.year()),m=C(()=>e.unlinkPanels&&b.value>h.value+1),g=A(null),v=A(null),y=A({endDate:null,selecting:!1}),T=R=>{y.value=R},x=(R,E=!0)=>{const N=R.minDate,W=R.maxDate;v.value===W&&g.value===N||(v.value=W,g.value=N,E&&$())},k=R=>Array.isArray(R)&&R&&R[0]&&R[1]&&R[0].valueOf()<=R[1].valueOf(),$=(R=!1)=>{k([g.value,v.value])&&t.emit("pick",[g.value,v.value],R)},z=R=>{y.value.selecting=R,R||(y.value.endDate=null)},P=R=>R.map(E=>E.format(V)),O=()=>{let R;if(Array.isArray(q.value)){const E=Ge(q.value[0]);let N=Ge(q.value[1]);return e.unlinkPanels||(N=E.add(1,"year")),[E,N]}else q.value?R=Ge(q.value):R=Ge();return R=R.locale(o.value),[R,R.add(1,"year")]};t.emit("set-picker-option",["formatToString",P]);const D=Ie("EP_PICKER_BASE"),{shortcuts:L,disabledDate:F,format:V}=D.props,q=Yt(D.props,"defaultValue");return ge(()=>q.value,R=>{if(R){const E=O();r.value=E[0],a.value=E[1]}},{immediate:!0}),ge(()=>e.parsedValue,R=>{if(R&&R.length===2)if(g.value=R[0],v.value=R[1],r.value=g.value,e.unlinkPanels&&v.value){const E=g.value.year(),N=v.value.year();a.value=E===N?v.value.add(1,"year"):v.value}else a.value=r.value.add(1,"year");else{const E=O();g.value=null,v.value=null,r.value=E[0],a.value=E[1]}},{immediate:!0}),{shortcuts:L,disabledDate:F,onSelect:z,handleRangePick:x,rangeState:y,handleChangeRange:T,minDate:g,maxDate:v,enableYearArrow:m,leftLabel:p,rightLabel:f,leftNextYear:d,leftPrevYear:s,rightNextYear:c,rightPrevYear:u,t:n,leftDate:r,rightDate:a,hasShortcuts:i,handleShortcutClick:l}}}),u7={class:"el-picker-panel__body-wrapper"},p7={key:0,class:"el-picker-panel__sidebar"},f7=["onClick"],h7={class:"el-picker-panel__body"},m7={class:"el-picker-panel__content el-date-range-picker__content is-left"},g7={class:"el-date-range-picker__header"},b7=["disabled"],v7={class:"el-picker-panel__content el-date-range-picker__content is-right"},y7={class:"el-date-range-picker__header"},_7=["disabled"];function w7(e,t,n,o,r,a){const i=le("d-arrow-left"),l=le("el-icon"),s=le("d-arrow-right"),c=le("month-table");return w(),I("div",{class:S(["el-picker-panel el-date-range-picker",[{"has-sidebar":e.$slots.sidebar||e.hasShortcuts}]])},[M("div",u7,[ue(e.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),e.hasShortcuts?(w(),I("div",p7,[(w(!0),I(Fe,null,ct(e.shortcuts,(d,u)=>(w(),I("button",{key:u,type:"button",class:"el-picker-panel__shortcut",onClick:p=>e.handleShortcutClick(d)},ve(d.text),9,f7))),128))])):G("v-if",!0),M("div",h7,[M("div",m7,[M("div",g7,[M("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-left",onClick:t[0]||(t[0]=(...d)=>e.leftPrevYear&&e.leftPrevYear(...d))},[U(l,null,{default:K(()=>[U(i)]),_:1})]),e.unlinkPanels?(w(),I("button",{key:0,type:"button",disabled:!e.enableYearArrow,class:S([{"is-disabled":!e.enableYearArrow},"el-picker-panel__icon-btn d-arrow-right"]),onClick:t[1]||(t[1]=(...d)=>e.leftNextYear&&e.leftNextYear(...d))},[U(l,null,{default:K(()=>[U(s)]),_:1})],10,b7)):G("v-if",!0),M("div",null,ve(e.leftLabel),1)]),U(c,{"selection-mode":"range",date:e.leftDate,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,onChangerange:e.handleChangeRange,onPick:e.handleRangePick,onSelect:e.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onPick","onSelect"])]),M("div",v7,[M("div",y7,[e.unlinkPanels?(w(),I("button",{key:0,type:"button",disabled:!e.enableYearArrow,class:S([{"is-disabled":!e.enableYearArrow},"el-picker-panel__icon-btn d-arrow-left"]),onClick:t[2]||(t[2]=(...d)=>e.rightPrevYear&&e.rightPrevYear(...d))},[U(l,null,{default:K(()=>[U(i)]),_:1})],10,_7)):G("v-if",!0),M("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-right",onClick:t[3]||(t[3]=(...d)=>e.rightNextYear&&e.rightNextYear(...d))},[U(l,null,{default:K(()=>[U(s)]),_:1})]),M("div",null,ve(e.rightLabel),1)]),U(c,{"selection-mode":"range",date:e.rightDate,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,onChangerange:e.handleChangeRange,onPick:e.handleRangePick,onSelect:e.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onPick","onSelect"])])])])],2)}var x7=_e(d7,[["render",w7],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);Ge.extend(a0);Ge.extend(YF);Ge.extend(Cp);Ge.extend(GF);Ge.extend(XF);Ge.extend(ZF);Ge.extend(JF);Ge.extend(QF);const k7=function(e){return e==="daterange"||e==="datetimerange"?c7:e==="monthrange"?x7:VD};var T7=ee({name:"ElDatePicker",install:null,props:ze(he({},Sp),{type:{type:String,default:"date"}}),emits:["update:modelValue"],setup(e,t){ot("ElPopperOptions",e.popperOptions),ot(Y0,{ctx:t});const n=A(null),o=ze(he({},e),{focus:(r=!0)=>{var a;(a=n.value)==null||a.focus(r)}});return t.expose(o),()=>{var r;const a=(r=e.format)!=null?r:uR[e.type]||ii;return Re(l0,ze(he({},e),{format:a,type:e.type,ref:n,"onUpdate:modelValue":i=>t.emit("update:modelValue",i)}),{default:i=>Re(k7(e.type),i),"range-separator":()=>ue(t.slots,"range-separator")})}}});const Jl=T7;Jl.install=e=>{e.component(Jl.name,Jl)};const C7=Jl,Ip="elDescriptions";var Km=ee({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String},type:{type:String}},setup(){return{descriptions:Ie(Ip,{})}},render(){var e,t,n,o,r,a;const i=Oz(this.cell),{border:l,direction:s}=this.descriptions,c=s==="vertical",d=((n=(t=(e=this.cell)==null?void 0:e.children)==null?void 0:t.label)==null?void 0:n.call(t))||i.label,u=(a=(r=(o=this.cell)==null?void 0:o.children)==null?void 0:r.default)==null?void 0:a.call(r),p=i.span,f=i.align?`is-${i.align}`:"",h=i.labelAlign?`is-${i.labelAlign}`:f,b=i.className,m=i.labelClassName,g={width:io(i.width),minWidth:io(i.minWidth)},v=ke("descriptions");switch(this.type){case"label":return Re(this.tag,{style:g,class:[v.e("cell"),v.e("label"),v.is("bordered-label",l),v.is("vertical-label",c),h,m],colSpan:c?p:1},d);case"content":return Re(this.tag,{style:g,class:[v.e("cell"),v.e("content"),v.is("bordered-content",l),v.is("vertical-content",c),f,b],colSpan:c?p:p*2-1},u);default:return Re("td",{style:g,class:[v.e("cell"),f],colSpan:p},[Re("span",{class:[v.e("label"),m]},d),Re("span",{class:[v.e("content"),b]},u)])}}});const S7=ee({name:"ElDescriptionsRow",components:{[Km.name]:Km},props:{row:{type:Array}},setup(){return{descriptions:Ie(Ip,{})}}}),$7={key:1};function A7(e,t,n,o,r,a){const i=le("el-descriptions-cell");return e.descriptions.direction==="vertical"?(w(),I(Fe,{key:0},[M("tr",null,[(w(!0),I(Fe,null,ct(e.row,(l,s)=>(w(),Q(i,{key:`tr1-${s}`,cell:l,tag:"th",type:"label"},null,8,["cell"]))),128))]),M("tr",null,[(w(!0),I(Fe,null,ct(e.row,(l,s)=>(w(),Q(i,{key:`tr2-${s}`,cell:l,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(w(),I("tr",$7,[(w(!0),I(Fe,null,ct(e.row,(l,s)=>(w(),I(Fe,{key:`tr3-${s}`},[e.descriptions.border?(w(),I(Fe,{key:0},[U(i,{cell:l,tag:"td",type:"label"},null,8,["cell"]),U(i,{cell:l,tag:"td",type:"content"},null,8,["cell"])],64)):(w(),Q(i,{key:1,cell:l,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}var Wm=_e(S7,[["render",A7],["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const E7=ee({name:"ElDescriptions",components:{[Wm.name]:Wm},props:{border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,default:"horizontal"},size:{type:String,validator:Nn},title:{type:String,default:""},extra:{type:String,default:""}},setup(e,{slots:t}){ot(Ip,e);const n=Ut(),o=ke("descriptions"),r=C(()=>[o.b(),o.is(o.m(n.value),!!n.value)]),a=s=>{const c=Array.isArray(s)?s:[s],d=[];return c.forEach(u=>{Array.isArray(u.children)?d.push(...a(u.children)):d.push(u)}),d},i=(s,c,d,u=!1)=>(s.props||(s.props={}),c>d&&(s.props.span=d),u&&(s.props.span=c),s);return{descriptionKls:r,getRows:()=>{var s;const c=a((s=t.default)==null?void 0:s.call(t)).filter(h=>{var b;return((b=h==null?void 0:h.type)==null?void 0:b.name)==="ElDescriptionsItem"}),d=[];let u=[],p=e.column,f=0;return c.forEach((h,b)=>{var m;const g=((m=h.props)==null?void 0:m.span)||1;if(bp?p:g),b===c.length-1){const v=e.column-f%e.column;u.push(i(h,v,p,!0)),d.push(u);return}g[it(ve(e.title),1)])],2),M("div",{class:S(e.ns.e("extra"))},[ue(e.$slots,"extra",{},()=>[it(ve(e.extra),1)])],2)],2)):G("v-if",!0),M("div",{class:S(e.ns.e("body"))},[M("table",{class:S([e.ns.e("table"),e.ns.is("bordered",e.border)])},[M("tbody",null,[(w(!0),I(Fe,null,ct(e.getRows(),(l,s)=>(w(),Q(i,{key:s,row:l},null,8,["row"]))),128))])],2)],2)],2)}var I7=_e(E7,[["render",z7],["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/index.vue"]]),Z0=ee({name:"ElDescriptionsItem",props:{label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}});const N7=rt(I7,{DescriptionsItem:Z0}),M7=Dt(Z0),R7=Le({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:Te([String,Array,Object])},zIndex:{type:Te([String,Number])}}),P7={click:e=>e instanceof MouseEvent};var O7=ee({name:"ElOverlay",props:R7,emits:P7,setup(e,{slots:t,emit:n}){const o=ke("overlay"),r=s=>{n("click",s)},{onClick:a,onMousedown:i,onMouseup:l}=pp(e.customMaskEvent?void 0:r);return()=>e.mask?U("div",{class:[o.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:a,onMousedown:i,onMouseup:l},[ue(t,"default")],On.STYLE|On.CLASS|On.PROPS,["onClick","onMouseup","onMousedown"]):Re("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ue(t,"default")])}});const Np=O7,J0=Le({center:{type:Boolean,default:!1},closeIcon:{type:an,default:""},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),F7={close:()=>!0},D7=["aria-label"],L7={name:"ElDialogContent"},V7=ee(ze(he({},L7),{props:J0,emits:F7,setup(e){const{Close:t}=zz,{dialogRef:n,headerRef:o,ns:r,style:a}=Ie(uy);return(i,l)=>(w(),I("div",{ref_key:"dialogRef",ref:n,class:S([_(r).b(),_(r).is("fullscreen",i.fullscreen),_(r).is("draggable",i.draggable),{[_(r).m("center")]:i.center},i.customClass]),"aria-modal":"true",role:"dialog","aria-label":i.title||"dialog",style:Oe(_(a)),onClick:l[1]||(l[1]=He(()=>{},["stop"]))},[M("div",{ref_key:"headerRef",ref:o,class:S(_(r).e("header"))},[ue(i.$slots,"title",{},()=>[M("span",{class:S(_(r).e("title"))},ve(i.title),3)])],2),M("div",{class:S(_(r).e("body"))},[ue(i.$slots,"default")],2),i.$slots.footer?(w(),I("div",{key:0,class:S(_(r).e("footer"))},[ue(i.$slots,"footer")],2)):G("v-if",!0),i.showClose?(w(),I("button",{key:1,"aria-label":"close",class:S(_(r).e("headerbtn")),type:"button",onClick:l[0]||(l[0]=s=>i.$emit("close"))},[U(_(qe),{class:S(_(r).e("close"))},{default:K(()=>[(w(),Q(pt(i.closeIcon||_(t))))]),_:1},8,["class"])],2)):G("v-if",!0)],14,D7))}}));var B7=_e(V7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const Q0=Le(ze(he({},J0),{appendToBody:{type:Boolean,default:!1},beforeClose:{type:Te(Function)},destroyOnClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:{type:Boolean,required:!0},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}})),e_={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[tt]:e=>on(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},t_=(e,t)=>{const o=nt().emit,{nextZIndex:r}=jo();let a="";const i=A(!1),l=A(!1),s=A(!1),c=A(e.zIndex||r());let d,u;const p=C(()=>mt(e.width)?`${e.width}px`:e.width),f=C(()=>{const $={},z="--el-dialog";return e.fullscreen||(e.top&&($[`${z}-margin-top`]=e.top),e.width&&($[`${z}-width`]=p.value)),$});function h(){o("opened")}function b(){o("closed"),o(tt,!1),e.destroyOnClose&&(s.value=!1)}function m(){o("close")}function g(){u==null||u(),d==null||d(),e.openDelay&&e.openDelay>0?{stop:d}=jr(()=>x(),e.openDelay):x()}function v(){d==null||d(),u==null||u(),e.closeDelay&&e.closeDelay>0?{stop:u}=jr(()=>k(),e.closeDelay):k()}function y(){function $(z){z||(l.value=!0,i.value=!1)}e.beforeClose?e.beforeClose($):v()}function T(){e.closeOnClickModal&&y()}function x(){!dt||(i.value=!0)}function k(){i.value=!1}return e.lockScroll&&xy(i),e.closeOnPressEscape&&ky({handleClose:y},i),Ty(i),ge(()=>e.modelValue,$=>{$?(l.value=!1,g(),s.value=!0,o("open"),c.value=e.zIndex?c.value++:r(),je(()=>{t.value&&(t.value.scrollTop=0)})):i.value&&v()}),ge(()=>e.fullscreen,$=>{!t.value||($?(a=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=a)}),et(()=>{e.modelValue&&(i.value=!0,s.value=!0,g())}),{afterEnter:h,afterLeave:b,beforeLeave:m,handleClose:y,onModalClick:T,close:v,doClose:k,closed:l,style:f,rendered:s,visible:i,zIndex:c}},j7={name:"ElDialog"},H7=ee(ze(he({},j7),{props:Q0,emits:e_,setup(e,{expose:t}){const n=e,o=ke("dialog"),r=A(),a=A(),{visible:i,style:l,rendered:s,zIndex:c,afterEnter:d,afterLeave:u,beforeLeave:p,handleClose:f,onModalClick:h}=t_(n,r);ot(uy,{dialogRef:r,headerRef:a,ns:o,rendered:s,style:l});const b=pp(h),m=C(()=>n.draggable&&!n.fullscreen);return wy(r,a,m),t({visible:i}),(g,v)=>(w(),Q(el,{to:"body",disabled:!g.appendToBody},[U(qt,{name:"dialog-fade",onAfterEnter:_(d),onAfterLeave:_(u),onBeforeLeave:_(p)},{default:K(()=>[Ue(U(_(Np),{"custom-mask-event":"",mask:g.modal,"overlay-class":g.modalClass,"z-index":_(c)},{default:K(()=>[M("div",{class:S(`${_(o).namespace.value}-overlay-dialog`),onClick:v[0]||(v[0]=(...y)=>_(b).onClick&&_(b).onClick(...y)),onMousedown:v[1]||(v[1]=(...y)=>_(b).onMousedown&&_(b).onMousedown(...y)),onMouseup:v[2]||(v[2]=(...y)=>_(b).onMouseup&&_(b).onMouseup(...y))},[_(s)?(w(),Q(B7,{key:0,"custom-class":g.customClass,center:g.center,"close-icon":g.closeIcon,draggable:_(m),fullscreen:g.fullscreen,"show-close":g.showClose,style:Oe(_(l)),title:g.title,onClose:_(f)},dr({title:K(()=>[ue(g.$slots,"title")]),default:K(()=>[ue(g.$slots,"default")]),_:2},[g.$slots.footer?{name:"footer",fn:K(()=>[ue(g.$slots,"footer")])}:void 0]),1032,["custom-class","center","close-icon","draggable","fullscreen","show-close","style","title","onClose"])):G("v-if",!0)],34)]),_:3},8,["mask","overlay-class","z-index"]),[[ft,_(i)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}}));var q7=_e(H7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const K7=rt(q7),W7=Le({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:Te(String),default:"solid"}}),U7={name:"ElDivider"},Y7=ee(ze(he({},U7),{props:W7,setup(e){const t=e,n=ke("divider"),o=C(()=>({"--el-border-style":t.borderStyle}));return(r,a)=>(w(),I("div",{class:S([_(n).b(),_(n).m(r.direction)]),style:Oe(_(o))},[r.$slots.default&&r.direction!=="vertical"?(w(),I("div",{key:0,class:S([_(n).e("text"),_(n).is(r.contentPosition)])},[ue(r.$slots,"default")],2)):G("v-if",!0)],6))}}));var G7=_e(Y7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const X7=rt(G7),Z7=Le(ze(he({},Q0),{direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0}})),J7=e_,Q7=ee({name:"ElDrawer",components:{ElOverlay:Np,ElIcon:qe,Close:Hn},directives:{TrapFocus:c0},props:Z7,emits:J7,setup(e,t){const n=A(),o=ke("drawer"),r=C(()=>e.direction==="rtl"||e.direction==="ltr"),a=C(()=>typeof e.size=="number"?`${e.size}px`:e.size);return ze(he({},t_(e,t,n)),{drawerRef:n,isHorizontal:r,drawerSize:a,ns:o})}}),eL=["aria-labelledby","aria-label"],tL=["id"],nL=["title"],oL=["aria-label"];function rL(e,t,n,o,r,a){const i=le("close"),l=le("el-icon"),s=le("el-overlay"),c=In("trap-focus");return w(),Q(el,{to:"body",disabled:!e.appendToBody},[U(qt,{name:e.ns.b("fade"),onAfterEnter:e.afterEnter,onAfterLeave:e.afterLeave,onBeforeLeave:e.beforeLeave},{default:K(()=>[Ue(U(s,{mask:e.modal,"overlay-class":e.modalClass,"z-index":e.zIndex,onClick:e.onModalClick},{default:K(()=>[Ue((w(),I("div",{ref:"drawerRef","aria-modal":"true","aria-labelledby":e.ns.e("title"),"aria-label":e.title,class:S([e.ns.b(),e.direction,e.visible&&"open",e.customClass]),style:Oe(e.isHorizontal?"width: "+e.drawerSize:"height: "+e.drawerSize),role:"dialog",onClick:t[1]||(t[1]=He(()=>{},["stop"]))},[e.withHeader?(w(),I("header",{key:0,id:e.ns.e("title"),class:S(e.ns.e("header"))},[ue(e.$slots,"title",{},()=>[M("span",{role:"heading",title:e.title},ve(e.title),9,nL)]),e.showClose?(w(),I("button",{key:0,"aria-label":"close "+(e.title||"drawer"),class:S(e.ns.e("close-btn")),type:"button",onClick:t[0]||(t[0]=(...d)=>e.handleClose&&e.handleClose(...d))},[U(l,{class:S(e.ns.e("close"))},{default:K(()=>[U(i)]),_:1},8,["class"])],10,oL)):G("v-if",!0)],10,tL)):G("v-if",!0),e.rendered?(w(),I("section",{key:1,class:S(e.ns.e("body"))},[ue(e.$slots,"default")],2)):G("v-if",!0),e.$slots.footer?(w(),I("div",{key:2,class:S(e.ns.e("footer"))},[ue(e.$slots,"footer")],2)):G("v-if",!0)],14,eL)),[[c]])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[ft,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"])}var aL=_e(Q7,[["render",rL],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const iL=rt(aL),n_=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Um=(e,t)=>{for(const n of e)if(!lL(n,t))return n},lL=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},sL=e=>{const t=n_(e),n=Um(t,e),o=Um(t.reverse(),e);return[n,o]},cL=e=>e instanceof HTMLInputElement&&"select"in e,Tr=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&cL(e)&&t&&e.select()}};function Ym(e,t){const n=[...e],o=e.indexOf(t);return o!==-1&&n.splice(o,1),n}const dL=()=>{let e=[];return{push:o=>{const r=e[0];r&&o!==r&&r.pause(),e=Ym(e,o),e.unshift(o)},remove:o=>{var r,a;e=Ym(e,o),(a=(r=e[0])==null?void 0:r.resume)==null||a.call(r)}}},uL=(e,t=!1)=>{const n=document.activeElement;for(const o of e)if(Tr(o,t),document.activeElement!==n)return},Gm=dL(),Hc="focus-trap.focus-on-mount",qc="focus-trap.focus-on-unmount",Xm={cancelable:!0,bubbles:!1},Zm="mountOnFocus",Jm="unmountOnFocus",o_=Symbol("elFocusTrap"),pL=ee({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean},emits:[Zm,Jm],setup(e,{emit:t}){const n=A(),o=A(null);let r,a;const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},l=f=>{if(!e.loop&&!e.trapped||i.paused)return;const{key:h,altKey:b,ctrlKey:m,metaKey:g,currentTarget:v,shiftKey:y}=f,{loop:T}=e,x=h===Pe.tab&&!b&&!m&&!g,k=document.activeElement;if(x&&k){const $=v,[z,P]=sL($);z&&P?!y&&k===P?(f.preventDefault(),T&&Tr(z,!0)):y&&k===z&&(f.preventDefault(),T&&Tr(P,!0)):k===$&&f.preventDefault()}};ot(o_,{focusTrapRef:o,onKeydown:l});const s=f=>{t(Zm,f)},c=f=>t(Jm,f),d=f=>{const h=_(o);if(i.paused||!h)return;const b=f.target;b&&h.contains(b)?a=b:Tr(a,!0)},u=f=>{const h=_(o);i.paused||!h||h.contains(f.relatedTarget)||Tr(a,!0)},p=()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",u)};return et(()=>{const f=_(o);if(f){Gm.push(i);const h=document.activeElement;if(r=h,!f.contains(h)){const m=new Event(Hc,Xm);f.addEventListener(Hc,s),f.dispatchEvent(m),m.defaultPrevented||je(()=>{uL(n_(f),!0),document.activeElement===h&&Tr(f)})}}ge(()=>e.trapped,h=>{h?(document.addEventListener("focusin",d),document.addEventListener("focusout",u)):p()},{immediate:!0})}),$t(()=>{p();const f=_(o);if(f){f.removeEventListener(Hc,s);const h=new Event(qc,Xm);f.addEventListener(qc,c),f.dispatchEvent(h),h.defaultPrevented||Tr(r!=null?r:document.body,!0),f.removeEventListener(qc,s),Gm.remove(i)}}),{focusTrapRef:n,forwardRef:o,onKeydown:l}}});function fL(e,t,n,o,r,a){return ue(e.$slots,"default")}var hL=_e(pL,[["render",fL],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const mL=ee({inheritAttrs:!1});function gL(e,t,n,o,r,a){return ue(e.$slots,"default")}var bL=_e(mL,[["render",gL],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const vL=ee({name:"ElCollectionItem",inheritAttrs:!1});function yL(e,t,n,o,r,a){return ue(e.$slots,"default")}var _L=_e(vL,[["render",yL],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const r_="data-el-collection-item",a_=e=>{const t=`El${e}Collection`,n=`${t}Item`,o=Symbol(t),r=Symbol(n),a=ze(he({},bL),{name:t,setup(){const l=A(null),s=new Map;ot(o,{itemMap:s,getItems:()=>{const d=_(l);if(!d)return[];const u=Array.from(d.querySelectorAll(`[${r_}]`));return[...s.values()].sort((h,b)=>u.indexOf(h.ref)-u.indexOf(b.ref))},collectionRef:l})}}),i=ze(he({},_L),{name:n,setup(l,{attrs:s}){const c=A(null),d=Ie(o,void 0);ot(r,{collectionItemRef:c}),et(()=>{const u=_(c);u&&d.itemMap.set(u,he({ref:u},s))}),$t(()=>{const u=_(c);d.itemMap.delete(u)})}});return{COLLECTION_INJECTION_KEY:o,COLLECTION_ITEM_INJECTION_KEY:r,ElCollection:a,ElCollectionItem:i}},wL=Le({style:{type:Te([String,Array,Object])},currentTabId:{type:Te(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:Te(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:xL,ElCollectionItem:kL,COLLECTION_INJECTION_KEY:Mp,COLLECTION_ITEM_INJECTION_KEY:TL}=a_("RovingFocusGroup"),Rp=Symbol("elRovingFocusGroup"),i_=Symbol("elRovingFocusGroupItem"),CL={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},SL=(e,t)=>{if(t!=="rtl")return e;switch(e){case Pe.right:return Pe.left;case Pe.left:return Pe.right;default:return e}},$L=(e,t,n)=>{const o=SL(e.key,n);if(!(t==="vertical"&&[Pe.left,Pe.right].includes(o))&&!(t==="horizontal"&&[Pe.up,Pe.down].includes(o)))return CL[o]},AL=(e,t)=>e.map((n,o)=>e[(o+t)%e.length]),Pp=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},Qm="currentTabIdChange",Kc="rovingFocusGroup.entryFocus",EL={bubbles:!1,cancelable:!0},zL=ee({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:wL,emits:[Qm,"entryFocus"],setup(e,{emit:t}){var n;const o=A((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),r=A(!1),a=A(!1),i=A(null),{getItems:l}=Ie(Mp,void 0),s=C(()=>[{outline:"none"},e.style]),c=b=>{t(Qm,b)},d=()=>{r.value=!0},u=Ot(b=>{var m;(m=e.onMousedown)==null||m.call(e,b)},()=>{a.value=!0}),p=Ot(b=>{var m;(m=e.onFocus)==null||m.call(e,b)},b=>{const m=!_(a),{target:g,currentTarget:v}=b;if(g===v&&m&&!_(r)){const y=new Event(Kc,EL);if(v==null||v.dispatchEvent(y),!y.defaultPrevented){const T=l().filter(P=>P.focusable),x=T.find(P=>P.active),k=T.find(P=>P.id===_(o)),z=[x,k,...T].filter(Boolean).map(P=>P.ref);Pp(z)}}a.value=!1}),f=Ot(b=>{var m;(m=e.onBlur)==null||m.call(e,b)},()=>{r.value=!1}),h=(...b)=>{t("entryFocus",...b)};ot(Rp,{currentTabbedId:Zi(o),loop:Yt(e,"loop"),tabIndex:C(()=>_(r)?-1:0),rovingFocusGroupRef:i,rovingFocusGroupRootStyle:s,orientation:Yt(e,"orientation"),dir:Yt(e,"dir"),onItemFocus:c,onItemShiftTab:d,onBlur:f,onFocus:p,onMousedown:u}),ge(()=>e.currentTabId,b=>{o.value=b!=null?b:null}),et(()=>{const b=_(i);At(b,Kc,h)}),$t(()=>{const b=_(i);Bt(b,Kc,h)})}});function IL(e,t,n,o,r,a){return ue(e.$slots,"default")}var NL=_e(zL,[["render",IL],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const ML=ee({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:xL,ElRovingFocusGroupImpl:NL}});function RL(e,t,n,o,r,a){const i=le("el-roving-focus-group-impl"),l=le("el-focus-group-collection");return w(),Q(l,null,{default:K(()=>[U(i,eo(ur(e.$attrs)),{default:K(()=>[ue(e.$slots,"default")]),_:3},16)]),_:3})}var PL=_e(ML,[["render",RL],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const OL=ee({components:{ElRovingFocusCollectionItem:kL},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:o,onItemFocus:r,onItemShiftTab:a}=Ie(Rp,void 0),{getItems:i}=Ie(Mp,void 0),l=fp(),s=A(null),c=Ot(f=>{t("mousedown",f)},f=>{e.focusable?r(_(l)):f.preventDefault()}),d=Ot(f=>{t("focus",f)},()=>{r(_(l))}),u=Ot(f=>{t("keydown",f)},f=>{const{key:h,shiftKey:b,target:m,currentTarget:g}=f;if(h===Pe.tab&&b){a();return}if(m!==g)return;const v=$L(f);if(v){f.preventDefault();let T=i().filter(x=>x.focusable).map(x=>x.ref);switch(v){case"last":{T.reverse();break}case"prev":case"next":{v==="prev"&&T.reverse();const x=T.indexOf(g);T=o.value?AL(T,x+1):T.slice(x+1);break}}je(()=>{Pp(T)})}}),p=C(()=>n.value===_(l));return ot(i_,{rovingFocusGroupItemRef:s,tabIndex:C(()=>_(p)?0:-1),handleMousedown:c,handleFocus:d,handleKeydown:u}),{id:l,handleKeydown:u,handleFocus:d,handleMousedown:c}}});function FL(e,t,n,o,r,a){const i=le("el-roving-focus-collection-item");return w(),Q(i,{id:e.id,focusable:e.focusable,active:e.active},{default:K(()=>[ue(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var DL=_e(OL,[["render",FL],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const Ql=Le({trigger:Ki.trigger,effect:ze(he({},tn.effect),{default:"light"}),type:{type:Te(String)},placement:{type:Te(String),default:"bottom"},popperOptions:{type:Te(Object),default:()=>({})},size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Te([Number,String]),default:0},maxHeight:{type:Te([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},buttonProps:{type:Te(Object)}}),l_=Le({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:an}}),LL=Le({onKeydown:{type:Te(Function)}}),VL=[Pe.down,Pe.pageDown,Pe.home],s_=[Pe.up,Pe.pageUp,Pe.end],BL=[...VL,...s_],{ElCollection:jL,ElCollectionItem:HL,COLLECTION_INJECTION_KEY:qL,COLLECTION_ITEM_INJECTION_KEY:KL}=a_("Dropdown"),Op=Symbol("elDropdown"),{ButtonGroup:WL}=Vn,UL=ee({name:"ElDropdown",components:{ElButton:Vn,ElFocusTrap:hL,ElButtonGroup:WL,ElScrollbar:qo,ElDropdownCollection:jL,ElTooltip:vn,ElRovingFocusGroup:PL,ElIcon:qe,ArrowDown:Gr},props:Ql,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=nt(),o=ke("dropdown"),r=A(),a=A(),i=A(null),l=A(null),s=A(null),c=A(null),d=A(!1),u=C(()=>({maxHeight:io(e.maxHeight)})),p=C(()=>[o.m(m.value)]);function f(){h()}function h(){var z;(z=i.value)==null||z.onClose()}function b(){var z;(z=i.value)==null||z.onOpen()}const m=Ut();function g(...z){t("command",...z)}function v(){}function y(){const z=_(l);z==null||z.focus(),c.value=null}function T(z){c.value=z}function x(z){d.value||(z.preventDefault(),z.stopImmediatePropagation())}return ot(Op,{contentRef:l,isUsingKeyboard:d,onItemEnter:v,onItemLeave:y}),ot("elDropdown",{instance:n,dropdownSize:m,handleClick:f,commandHandler:g,trigger:Yt(e,"trigger"),hideOnClick:Yt(e,"hideOnClick")}),{ns:o,scrollbar:s,wrapStyle:u,dropdownTriggerKls:p,dropdownSize:m,currentTabId:c,handleCurrentTabIdChange:T,handlerMainButtonClick:z=>{t("click",z)},handleEntryFocus:x,handleClose:h,handleOpen:b,onMountOnFocus:z=>{var P,O;z.preventDefault(),(O=(P=l.value)==null?void 0:P.focus)==null||O.call(P,{preventScroll:!0})},popperRef:i,triggeringElementRef:r,referenceElementRef:a}}});function YL(e,t,n,o,r,a){var i;const l=le("el-dropdown-collection"),s=le("el-roving-focus-group"),c=le("el-focus-trap"),d=le("el-scrollbar"),u=le("el-tooltip"),p=le("el-button"),f=le("arrow-down"),h=le("el-icon"),b=le("el-button-group");return w(),I("div",{class:S([e.ns.b(),e.ns.is("disabled",e.disabled)])},[U(u,{ref:"popperRef",effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":(i=e.referenceElementRef)==null?void 0:i.$el,trigger:e.trigger,"show-after":e.trigger==="hover"?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,"append-to-body":"",pure:"",transition:`${e.ns.namespace.value}-zoom-in-top`,persistent:"",onShow:t[0]||(t[0]=m=>e.$emit("visible-change",!0)),onHide:t[1]||(t[1]=m=>e.$emit("visible-change",!1))},dr({content:K(()=>[U(d,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:K(()=>[U(c,{trapped:"",onMountOnFocus:e.onMountOnFocus},{default:K(()=>[U(s,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:K(()=>[U(l,null,{default:K(()=>[ue(e.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["onMountOnFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:K(()=>[M("div",{class:S(e.dropdownTriggerKls)},[ue(e.$slots,"default")],2)])}]),1032,["effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","show-after","virtual-ref","virtual-triggering","disabled","transition"]),e.splitButton?(w(),Q(b,{key:0},{default:K(()=>[U(p,St({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,onClick:e.handlerMainButtonClick}),{default:K(()=>[ue(e.$slots,"default")]),_:3},16,["size","type","disabled","onClick"]),U(p,St({ref:"triggeringElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled}),{default:K(()=>[U(h,{class:S(e.ns.e("icon"))},{default:K(()=>[U(f)]),_:1},8,["class"])]),_:1},16,["size","type","class","disabled"])]),_:3})):G("v-if",!0)],2)}var GL=_e(UL,[["render",YL],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const XL=ee({name:"DropdownItemImpl",components:{ElIcon:qe},props:l_,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=ke("dropdown"),{collectionItemRef:o}=Ie(KL,void 0),{collectionItemRef:r}=Ie(TL,void 0),{rovingFocusGroupItemRef:a,tabIndex:i,handleFocus:l,handleKeydown:s,handleMousedown:c}=Ie(i_,void 0),d=sp(o,r,a),u=Ot(p=>{const{code:f}=p;if(f===Pe.enter||f===Pe.space)return p.preventDefault(),p.stopImmediatePropagation(),t("clickimpl",p),!0},s);return{ns:n,itemRef:d,dataset:{[r_]:""},tabIndex:i,handleFocus:l,handleKeydown:u,handleMousedown:c}}}),ZL=["aria-disabled","tabindex"];function JL(e,t,n,o,r,a){const i=le("el-icon");return w(),I(Fe,null,[e.divided?(w(),I("li",St({key:0,class:e.ns.bem("menu","item","divided")},e.$attrs),null,16)):G("v-if",!0),M("li",St({ref:e.itemRef},he(he({},e.dataset),e.$attrs),{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:"menuitem",onClick:t[0]||(t[0]=l=>e.$emit("clickimpl",l)),onFocus:t[1]||(t[1]=(...l)=>e.handleFocus&&e.handleFocus(...l)),onKeydown:t[2]||(t[2]=(...l)=>e.handleKeydown&&e.handleKeydown(...l)),onMousedown:t[3]||(t[3]=(...l)=>e.handleMousedown&&e.handleMousedown(...l)),onPointermove:t[4]||(t[4]=l=>e.$emit("pointermove",l)),onPointerleave:t[5]||(t[5]=l=>e.$emit("pointerleave",l))}),[e.icon?(w(),Q(i,{key:0},{default:K(()=>[(w(),Q(pt(e.icon)))]),_:1})):G("v-if",!0),ue(e.$slots,"default")],16,ZL)],64)}var QL=_e(XL,[["render",JL],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const c_=()=>{const e=Ie("elDropdown",{}),t=C(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},e9=ee({name:"ElDropdownItem",components:{ElDropdownCollectionItem:HL,ElRovingFocusItem:DL,ElDropdownItemImpl:QL},inheritAttrs:!1,props:l_,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:o}=c_(),r=nt(),a=A(null),i=C(()=>{var f,h;return(h=(f=_(a))==null?void 0:f.textContent)!=null?h:""}),{onItemEnter:l,onItemLeave:s}=Ie(Op,void 0),c=Ot(f=>(t("pointermove",f),f.defaultPrevented),Bh(f=>{var h;e.disabled?s(f):(l(f),f.defaultPrevented||(h=f.currentTarget)==null||h.focus())})),d=Ot(f=>(t("pointerleave",f),f.defaultPrevented),Bh(f=>{s(f)})),u=Ot(f=>(t("click",f),f.defaultPrevented),f=>{var h,b,m;if(e.disabled){f.stopImmediatePropagation();return}(h=o==null?void 0:o.hideOnClick)!=null&&h.value&&((b=o.handleClick)==null||b.call(o)),(m=o.commandHandler)==null||m.call(o,e.command,r,f)}),p=C(()=>he(he({},e),n));return{handleClick:u,handlePointerMove:c,handlePointerLeave:d,textContent:i,propsAndAttrs:p}}});function t9(e,t,n,o,r,a){var i;const l=le("el-dropdown-item-impl"),s=le("el-roving-focus-item"),c=le("el-dropdown-collection-item");return w(),Q(c,{disabled:e.disabled,"text-value":(i=e.textValue)!=null?i:e.textContent},{default:K(()=>[U(s,{focusable:!e.disabled},{default:K(()=>[U(l,St(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:K(()=>[ue(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var d_=_e(e9,[["render",t9],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const n9=ee({name:"ElDropdownMenu",props:LL,setup(e){const t=ke("dropdown"),{_elDropdownSize:n}=c_(),o=n.value,{focusTrapRef:r,onKeydown:a}=Ie(o_,void 0),{contentRef:i}=Ie(Op,void 0),{collectionRef:l,getItems:s}=Ie(qL,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:d,tabIndex:u,onBlur:p,onFocus:f,onMousedown:h}=Ie(Rp,void 0),{collectionRef:b}=Ie(Mp,void 0),m=C(()=>[t.b("menu"),t.bm("menu",o==null?void 0:o.value)]),g=sp(i,l,r,c,b),v=Ot(T=>{var x;(x=e.onKeydown)==null||x.call(e,T)},T=>{const{currentTarget:x,code:k,target:$}=T;if(x.contains($),Pe.tab===k&&T.stopImmediatePropagation(),T.preventDefault(),$!==_(i)||!BL.includes(k))return;const P=s().filter(O=>!O.disabled).map(O=>O.ref);s_.includes(k)&&P.reverse(),Pp(P)});return{size:o,rovingFocusGroupRootStyle:d,tabIndex:u,dropdownKls:m,dropdownListWrapperRef:g,handleKeydown:T=>{v(T),a(T)},onBlur:p,onFocus:f,onMousedown:h}}});function o9(e,t,n,o,r,a){return w(),I("ul",{ref:e.dropdownListWrapperRef,class:S(e.dropdownKls),style:Oe(e.rovingFocusGroupRootStyle),tabindex:-1,role:"menu",onBlur:t[0]||(t[0]=(...i)=>e.onBlur&&e.onBlur(...i)),onFocus:t[1]||(t[1]=(...i)=>e.onFocus&&e.onFocus(...i)),onKeydown:t[2]||(t[2]=(...i)=>e.handleKeydown&&e.handleKeydown(...i)),onMousedown:t[3]||(t[3]=(...i)=>e.onMousedown&&e.onMousedown(...i))},[ue(e.$slots,"default")],38)}var u_=_e(n9,[["render",o9],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const r9=rt(GL,{DropdownItem:d_,DropdownMenu:u_}),a9=Dt(d_),i9=Dt(u_);let l9=0;const s9=ee({name:"ImgEmpty",setup(){return{id:++l9}}}),c9={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},d9=["id"],u9=M("stop",{"stop-color":"var(--el-empty-fill-color-1)",offset:"0%"},null,-1),p9=M("stop",{"stop-color":"var(--el-empty-fill-color-4)",offset:"100%"},null,-1),f9=[u9,p9],h9=["id"],m9=M("stop",{"stop-color":"var(--el-empty-fill-color-1)",offset:"0%"},null,-1),g9=M("stop",{"stop-color":"var(--el-empty-fill-color-6)",offset:"100%"},null,-1),b9=[m9,g9],v9=["id"],y9={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},_9={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},w9={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},x9=M("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:"var(--el-empty-fill-color-3)"},null,-1),k9=M("polygon",{id:"Rectangle-Copy-14",fill:"var(--el-empty-fill-color-7)",transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,-1),T9={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},C9=M("polygon",{id:"Rectangle-Copy-10",fill:"var(--el-empty-fill-color-7)",transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,-1),S9=M("polygon",{id:"Rectangle-Copy-11",fill:"var(--el-empty-fill-color-5)",points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,-1),$9=["fill"],A9=M("polygon",{id:"Rectangle-Copy-13",fill:"var(--el-empty-fill-color-2)",transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,-1),E9=["fill"],z9={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},I9=["id"],N9=["xlink:href"],M9=["xlink:href"],R9=["mask"],P9=M("polygon",{id:"Rectangle-Copy-18",fill:"var(--el-empty-fill-color-2)",transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,-1);function O9(e,t,n,o,r,a){return w(),I("svg",c9,[M("defs",null,[M("linearGradient",{id:`linearGradient-1-${e.id}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},f9,8,d9),M("linearGradient",{id:`linearGradient-2-${e.id}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},b9,8,h9),M("rect",{id:`path-3-${e.id}`,x:"0",y:"0",width:"17",height:"36"},null,8,v9)]),M("g",y9,[M("g",_9,[M("g",w9,[x9,k9,M("g",T9,[C9,S9,M("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${e.id})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,$9),A9]),M("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${e.id})`,x:"13",y:"45",width:"40",height:"36"},null,8,E9),M("g",z9,[M("mask",{id:`mask-4-${e.id}`,fill:"var(--el-empty-fill-color-0)"},[M("use",{"xlink:href":`#path-3-${e.id}`},null,8,N9)],8,I9),M("use",{id:"Mask",fill:"var(--el-empty-fill-color-8)",transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${e.id}`},null,8,M9),M("polygon",{id:"Rectangle-Copy",fill:"var(--el-empty-fill-color-9)",mask:`url(#mask-4-${e.id})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 -1.70530257e-13 16"},null,8,R9)]),P9])])])])}var F9=_e(s9,[["render",O9],["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const D9={image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},L9=["src"],V9={key:1},B9={name:"ElEmpty"},j9=ee(ze(he({},B9),{props:D9,setup(e){const t=e,{t:n}=Tt(),o=ke("empty"),r=C(()=>t.description||n("el.table.emptyText")),a=C(()=>({width:t.imageSize?`${t.imageSize}px`:""}));return(i,l)=>(w(),I("div",{class:S(_(o).b())},[M("div",{class:S(_(o).e("image")),style:Oe(_(a))},[i.image?(w(),I("img",{key:0,src:i.image,ondragstart:"return false"},null,8,L9)):ue(i.$slots,"image",{key:1},()=>[U(F9)])],6),M("div",{class:S(_(o).e("description"))},[i.$slots.description?ue(i.$slots,"description",{key:0}):(w(),I("p",V9,ve(_(r)),1))],2),i.$slots.default?(w(),I("div",{key:0,class:S(_(o).e("bottom"))},[ue(i.$slots,"default")],2)):G("v-if",!0)],2))}}));var H9=_e(j9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const q9=rt(H9),K9=Le({model:Object,rules:{type:Te(Object)},labelPosition:String,labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:{type:String,values:wo},disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1},scrollToError:Boolean}),W9={validate:(e,t,n)=>(Ye(e)||Qe(e))&&on(t)&&Qe(n)};function U9(){const e=A([]),t=C(()=>{if(!e.value.length)return"0";const a=Math.max(...e.value);return a?`${a}px`:""});function n(a){return e.value.indexOf(a)}function o(a,i){if(a&&i){const l=n(i);e.value.splice(l,1,a)}else a&&e.value.push(a)}function r(a){const i=n(a);i>-1&&e.value.splice(i,1)}return{autoLabelWidth:t,registerLabelWidth:o,deregisterLabelWidth:r}}const El=(e,t)=>{const n=Di(t);return n.length>0?e.filter(o=>o.prop&&n.includes(o.prop)):e},Y9={name:"ElForm"},G9=ee(ze(he({},Y9),{props:K9,emits:W9,setup(e,{expose:t,emit:n}){const o=e,r=[],a=Ut(),i=ke("form"),l=C(()=>{const{labelPosition:v,inline:y}=o;return[i.b(),i.m(a.value||"default"),{[i.m(`label-${v}`)]:v,[i.m("inline")]:y}]}),s=v=>{r.push(v)},c=v=>{v.prop&&r.splice(r.indexOf(v),1)},d=(v=[])=>{!o.model||El(r,v).forEach(y=>y.resetField())},u=(v=[])=>{El(r,v).forEach(y=>y.clearValidate())},p=C(()=>!!o.model),f=v=>{if(r.length===0)return[];const y=El(r,v);return y.length?y:[]},h=async v=>m(void 0,v),b=async(v=[])=>{if(!p.value)return!1;const y=f(v);if(y.length===0)return!0;let T={};for(const x of y)try{await x.validate("")}catch(k){T=he(he({},T),k)}return Object.keys(T).length===0?!0:Promise.reject(T)},m=async(v=[],y)=>{const T=!Je(y);try{const x=await b(v);return x===!0&&(y==null||y(x)),x}catch(x){const k=x;return o.scrollToError&&g(Object.keys(k)[0]),y==null||y(!1,k),T&&Promise.reject(k)}},g=v=>{var y;const T=El(r,v)[0];T&&((y=T.$el)==null||y.scrollIntoView())};return ge(()=>o.rules,()=>{o.validateOnRuleChange&&h()},{deep:!0}),ot(Mn,vt(he(ze(he({},Gt(o)),{emit:n,resetFields:d,clearValidate:u,validateField:m,addField:s,removeField:c}),U9()))),t({validate:h,validateField:m,resetFields:d,clearValidate:u,scrollToField:g}),(v,y)=>(w(),I("form",{class:S(_(l))},[ue(v.$slots,"default")],2))}}));var X9=_e(G9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function Ir(){return Ir=Object.assign||function(e){for(var t=1;t1?t-1:0),o=1;o=a)return l;switch(l){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}break;default:return l}});return i}return e}function nV(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Zt(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||nV(t)&&typeof e=="string"&&!e)}function oV(e,t,n){var o=[],r=0,a=e.length;function i(l){o.push.apply(o,l||[]),r++,r===a&&n(o)}e.forEach(function(l){t(l,i)})}function eg(e,t,n){var o=0,r=e.length;function a(i){if(i&&i.length){n(i);return}var l=o;o=o+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},li={integer:function(t){return li.number(t)&&parseInt(t,10)===t},float:function(t){return li.number(t)&&!li.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!li.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Wc.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Wc.url)},hex:function(t){return typeof t=="string"&&!!t.match(Wc.hex)}},cV=function(t,n,o,r,a){if(t.required&&n===void 0){p_(t,n,o,r,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;i.indexOf(l)>-1?li[l](n)||r.push(Sn(a.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&r.push(Sn(a.messages.types[l],t.fullField,t.type))},dV=function(t,n,o,r,a){var i=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,u=null,p=typeof n=="number",f=typeof n=="string",h=Array.isArray(n);if(p?u="number":f?u="string":h&&(u="array"),!u)return!1;h&&(d=n.length),f&&(d=n.replace(c,"_").length),i?d!==t.len&&r.push(Sn(a.messages[u].len,t.fullField,t.len)):l&&!s&&dt.max?r.push(Sn(a.messages[u].max,t.fullField,t.max)):l&&s&&(dt.max)&&r.push(Sn(a.messages[u].range,t.fullField,t.min,t.max))},na="enum",uV=function(t,n,o,r,a){t[na]=Array.isArray(t[na])?t[na]:[],t[na].indexOf(n)===-1&&r.push(Sn(a.messages[na],t.fullField,t[na].join(", ")))},pV=function(t,n,o,r,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||r.push(Sn(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||r.push(Sn(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},xt={required:p_,whitespace:sV,type:cV,range:dV,enum:uV,pattern:pV},fV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n,"string")&&!t.required)return o();xt.required(t,n,r,i,a,"string"),Zt(n,"string")||(xt.type(t,n,r,i,a),xt.range(t,n,r,i,a),xt.pattern(t,n,r,i,a),t.whitespace===!0&&xt.whitespace(t,n,r,i,a))}o(i)},hV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&xt.type(t,n,r,i,a)}o(i)},mV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&(xt.type(t,n,r,i,a),xt.range(t,n,r,i,a))}o(i)},gV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&xt.type(t,n,r,i,a)}o(i)},bV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),Zt(n)||xt.type(t,n,r,i,a)}o(i)},vV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&(xt.type(t,n,r,i,a),xt.range(t,n,r,i,a))}o(i)},yV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&(xt.type(t,n,r,i,a),xt.range(t,n,r,i,a))}o(i)},_V=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return o();xt.required(t,n,r,i,a,"array"),n!=null&&(xt.type(t,n,r,i,a),xt.range(t,n,r,i,a))}o(i)},wV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&xt.type(t,n,r,i,a)}o(i)},xV="enum",kV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&xt[xV](t,n,r,i,a)}o(i)},TV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n,"string")&&!t.required)return o();xt.required(t,n,r,i,a),Zt(n,"string")||xt.pattern(t,n,r,i,a)}o(i)},CV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n,"date")&&!t.required)return o();if(xt.required(t,n,r,i,a),!Zt(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),xt.type(t,s,r,i,a),s&&xt.range(t,s.getTime(),r,i,a)}}o(i)},SV=function(t,n,o,r,a){var i=[],l=Array.isArray(n)?"array":typeof n;xt.required(t,n,r,i,a,l),o(i)},Uc=function(t,n,o,r,a){var i=t.type,l=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(Zt(n,i)&&!t.required)return o();xt.required(t,n,r,l,a,i),Zt(n,i)||xt.type(t,n,r,l,a)}o(l)},$V=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a)}o(i)},xi={string:fV,method:hV,number:mV,boolean:gV,regexp:bV,integer:vV,float:yV,array:_V,object:wV,enum:kV,pattern:TV,date:CV,url:Uc,hex:Uc,email:Uc,required:SV,any:$V};function eu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var tu=eu(),dl=function(){function e(n){this.rules=null,this._messages=tu,this.define(n)}var t=e.prototype;return t.define=function(o){var r=this;if(!o)throw new Error("Cannot configure a schema with no rules");if(typeof o!="object"||Array.isArray(o))throw new Error("Rules must be an object");this.rules={},Object.keys(o).forEach(function(a){var i=o[a];r.rules[a]=Array.isArray(i)?i:[i]})},t.messages=function(o){return o&&(this._messages=og(eu(),o)),this._messages},t.validate=function(o,r,a){var i=this;r===void 0&&(r={}),a===void 0&&(a=function(){});var l=o,s=r,c=a;if(typeof s=="function"&&(c=s,s={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,l),Promise.resolve(l);function d(b){var m=[],g={};function v(T){if(Array.isArray(T)){var x;m=(x=m).concat.apply(x,T)}else m.push(T)}for(var y=0;y");const r=ke("form"),a=A(),i=A(0),l=()=>{var d;if((d=a.value)!=null&&d.firstElementChild){const u=window.getComputedStyle(a.value.firstElementChild).width;return Math.ceil(Number.parseFloat(u))}else return 0},s=(d="update")=>{je(()=>{t.default&&e.isAutoWidth&&(d==="update"?i.value=l():d==="remove"&&n.deregisterLabelWidth(i.value))})},c=()=>s("update");return et(()=>{c()}),$t(()=>{s("remove")}),Un(()=>c()),ge(i,(d,u)=>{e.updateAll&&n.registerLabelWidth(d,u)}),Ba(C(()=>{var d,u;return(u=(d=a.value)==null?void 0:d.firstElementChild)!=null?u:null}),c),()=>{var d,u;if(!t)return null;const{isAutoWidth:p}=e;if(p){const f=n.autoLabelWidth,h={};if(f&&f!=="auto"){const b=Math.max(0,Number.parseInt(f,10)-i.value),m=n.labelPosition==="left"?"marginRight":"marginLeft";b&&(h[m]=`${b}px`)}return U("div",{ref:a,class:[r.be("item","label-wrap")],style:h},[(d=t.default)==null?void 0:d.call(t)])}else return U(Fe,{ref:a},[(u=t.default)==null?void 0:u.call(t)])}}});const IV=["for"],NV={name:"ElFormItem"},MV=ee(ze(he({},NV),{props:EV,setup(e,{expose:t}){const n=e,o="ElFormItem",r=nl(),a=Ie(Mn);a||Wt(o,"usage: ");const i=Ie(qn,void 0),l=Ut(void 0,{formItem:!1}),s=ke("form-item"),c=A(""),d=o$(c,100),u=A(""),p=A();let f,h=!1;const b=C(()=>{if(a.labelPosition==="top")return{};const Z=io(n.labelWidth||a.labelWidth||"");return Z?{width:Z}:{}}),m=C(()=>{if(a.labelPosition==="top"||a.inline)return{};if(!n.label&&!n.labelWidth&&k)return{};const Z=io(n.labelWidth||a.labelWidth||"");return!n.label&&!r.label?{marginLeft:Z}:{}}),g=C(()=>[s.b(),s.m(l.value),s.is("error",c.value==="error"),s.is("validating",c.value==="validating"),s.is("success",c.value==="success"),s.is("required",D.value||n.required),s.is("no-asterisk",a.hideRequiredAsterisk),{[s.m("feedback")]:a.statusIcon}]),v=C(()=>on(n.inlineMessage)?n.inlineMessage:a.inlineMessage||!1),y=C(()=>[s.e("error"),{[s.em("error","inline")]:v.value}]),T=C(()=>n.prop?Qe(n.prop)?n.prop:n.prop.join("."):""),x=C(()=>n.for||T.value),k=!!i,$=C(()=>{const Z=a.model;if(!(!Z||!n.prop))return Bl(Z,n.prop).value}),z=C(()=>{const Z=n.rules?Di(n.rules):[],se=a.rules;if(se&&n.prop){const Se=Bl(se,n.prop).value;Se&&Z.push(...Di(Se))}return n.required!==void 0&&Z.push({required:!!n.required}),Z}),P=C(()=>z.value.length>0),O=Z=>z.value.filter(Se=>!Se.trigger||!Z?!0:Array.isArray(Se.trigger)?Se.trigger.includes(Z):Se.trigger===Z).map(H=>{var ne=H,{trigger:Se}=ne,oe=tf(ne,["trigger"]);return oe}),D=C(()=>z.value.some(Z=>Z.required===!0)),L=C(()=>d.value==="error"&&n.showMessage&&a.showMessage),F=C(()=>`${n.label||""}${a.labelSuffix||""}`),V=Z=>{c.value=Z},q=Z=>{var se,Se;const{errors:oe,fields:H}=Z;(!oe||!H)&&console.error(Z),V("error"),u.value=oe?(Se=(se=oe==null?void 0:oe[0])==null?void 0:se.message)!=null?Se:`${n.prop} is required`:"",a.emit("validate",n.prop,!1,u.value)},R=()=>{V("success"),a.emit("validate",n.prop,!0,"")},E=async Z=>{const se=T.value;return new dl({[se]:Z}).validate({[se]:$.value},{firstFields:!0}).then(()=>(R(),!0)).catch(oe=>(q(oe),Promise.reject(oe)))},N=async(Z,se)=>{if(h)return h=!1,!1;const Se=Je(se);if(!P.value)return se==null||se(!1),!1;const oe=O(Z);return oe.length===0?(se==null||se(!0),!0):(V("validating"),E(oe).then(()=>(se==null||se(!0),!0)).catch(H=>{const{fields:ne}=H;return se==null||se(!1,ne),Se?!1:Promise.reject(ne)}))},W=()=>{V(""),u.value=""},Y=async()=>{const Z=a.model;if(!Z||!n.prop)return;const se=Bl(Z,n.prop);En(se.value,f)||(h=!0),se.value=f,await je(),W()};ge(()=>n.error,Z=>{u.value=Z||"",V(Z?"error":"")},{immediate:!0}),ge(()=>n.validateStatus,Z=>V(Z||""));const J=vt(ze(he({},Gt(n)),{$el:p,size:l,validateState:c,resetField:Y,clearValidate:W,validate:N}));return ot(qn,J),et(()=>{n.prop&&(a.addField(J),f=KS($.value))}),$t(()=>{a.removeField(J)}),t({size:l,validateMessage:u,validateState:c,validate:N,clearValidate:W,resetField:Y}),(Z,se)=>(w(),I("div",{ref_key:"formItemRef",ref:p,class:S(_(g))},[U(_(zV),{"is-auto-width":_(b).width==="auto","update-all":_(a).labelWidth==="auto"},{default:K(()=>[Z.label||Z.$slots.label?(w(),I("label",{key:0,for:_(x),class:S(_(s).e("label")),style:Oe(_(b))},[ue(Z.$slots,"label",{label:_(F)},()=>[it(ve(_(F)),1)])],14,IV)):G("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),M("div",{class:S(_(s).e("content")),style:Oe(_(m))},[ue(Z.$slots,"default"),U(qt,{name:`${_(s).namespace.value}-zoom-in-top`},{default:K(()=>[_(L)?ue(Z.$slots,"error",{key:0,error:u.value},()=>[M("div",{class:S(_(y))},ve(u.value),3)]):G("v-if",!0)]),_:3},8,["name"])],6)],2))}}));var f_=_e(MV,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const RV=rt(X9,{FormItem:f_}),PV=Dt(f_),OV=Le({urlList:{type:Te(Array),default:()=>Ft([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:{type:Boolean,default:!1},teleported:{type:Boolean,default:!1}}),FV={close:()=>!0,switch:e=>typeof e=="number"},DV=["src"],LV={name:"ElImageViewer"},VV=ee(ze(he({},LV),{props:OV,emits:FV,setup(e,{emit:t}){const n=e,o={CONTAIN:{name:"contain",icon:Ai(kE)},ORIGINAL:{name:"original",icon:Ai(L5)}},r=cp()?"DOMMouseScroll":"mousewheel",{t:a}=Tt(),i=ke("image-viewer"),{nextZIndex:l}=jo(),s=A(),c=A([]),d=N1(),u=A(!0),p=A(n.initialIndex),f=A(o.CONTAIN),h=A({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),b=C(()=>{const{urlList:R}=n;return R.length<=1}),m=C(()=>p.value===0),g=C(()=>p.value===n.urlList.length-1),v=C(()=>n.urlList[p.value]),y=C(()=>{const{scale:R,deg:E,offsetX:N,offsetY:W,enableTransition:Y}=h.value;let J=N/R,Z=W/R;switch(E%360){case 90:case-270:[J,Z]=[Z,-J];break;case 180:case-180:[J,Z]=[-J,-Z];break;case 270:case-90:[J,Z]=[-Z,J];break}const se={transform:`scale(${R}) rotate(${E}deg) translate(${J}px, ${Z}px)`,transition:Y?"transform .3s":""};return f.value.name===o.CONTAIN.name&&(se.maxWidth=se.maxHeight="100%"),se}),T=C(()=>mt(n.zIndex)?n.zIndex:l());function x(){$(),t("close")}function k(){const R=Pr(N=>{switch(N.code){case Pe.esc:x();break;case Pe.space:L();break;case Pe.left:F();break;case Pe.up:q("zoomIn");break;case Pe.right:V();break;case Pe.down:q("zoomOut");break}}),E=Pr(N=>{(N.wheelDelta?N.wheelDelta:-N.detail)>0?q("zoomIn",{zoomRate:1.2,enableTransition:!1}):q("zoomOut",{zoomRate:1.2,enableTransition:!1})});d.run(()=>{Ht(document,"keydown",R),Ht(document,r,E)})}function $(){d.stop()}function z(){u.value=!1}function P(R){u.value=!1,R.target.alt=a("el.image.error")}function O(R){if(u.value||R.button!==0||!s.value)return;h.value.enableTransition=!1;const{offsetX:E,offsetY:N}=h.value,W=R.pageX,Y=R.pageY,J=Pr(se=>{h.value=ze(he({},h.value),{offsetX:E+se.pageX-W,offsetY:N+se.pageY-Y})}),Z=Ht(document,"mousemove",J);Ht(document,"mouseup",()=>{Z()}),R.preventDefault()}function D(){h.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function L(){if(u.value)return;const R=Object.keys(o),E=Object.values(o),N=f.value.name,Y=(E.findIndex(J=>J.name===N)+1)%R.length;f.value=o[R[Y]],D()}function F(){if(m.value&&!n.infinite)return;const R=n.urlList.length;p.value=(p.value-1+R)%R}function V(){if(g.value&&!n.infinite)return;const R=n.urlList.length;p.value=(p.value+1)%R}function q(R,E={}){if(u.value)return;const{zoomRate:N,rotateDeg:W,enableTransition:Y}=he({zoomRate:1.4,rotateDeg:90,enableTransition:!0},E);switch(R){case"zoomOut":h.value.scale>.2&&(h.value.scale=Number.parseFloat((h.value.scale/N).toFixed(3)));break;case"zoomIn":h.value.scale<7&&(h.value.scale=Number.parseFloat((h.value.scale*N).toFixed(3)));break;case"clockwise":h.value.deg+=W;break;case"anticlockwise":h.value.deg-=W;break}h.value.enableTransition=Y}return ge(v,()=>{je(()=>{const R=c.value[0];R!=null&&R.complete||(u.value=!0)})}),ge(p,R=>{D(),t("switch",R)}),et(()=>{var R,E;k(),(E=(R=s.value)==null?void 0:R.focus)==null||E.call(R)}),(R,E)=>(w(),Q(el,{to:"body",disabled:!R.teleported},[U(qt,{name:"viewer-fade",appear:""},{default:K(()=>[M("div",{ref_key:"wrapper",ref:s,tabindex:-1,class:S(_(i).e("wrapper")),style:Oe({zIndex:_(T)})},[M("div",{class:S(_(i).e("mask")),onClick:E[0]||(E[0]=He(N=>R.hideOnClickModal&&x(),["self"]))},null,2),G(" CLOSE "),M("span",{class:S([_(i).e("btn"),_(i).e("close")]),onClick:x},[U(_(qe),null,{default:K(()=>[U(_(Hn))]),_:1})],2),G(" ARROW "),_(b)?G("v-if",!0):(w(),I(Fe,{key:0},[M("span",{class:S([_(i).e("btn"),_(i).e("prev"),_(i).is("disabled",!R.infinite&&_(m))]),onClick:F},[U(_(qe),null,{default:K(()=>[U(_(Xr))]),_:1})],2),M("span",{class:S([_(i).e("btn"),_(i).e("next"),_(i).is("disabled",!R.infinite&&_(g))]),onClick:V},[U(_(qe),null,{default:K(()=>[U(_(Yn))]),_:1})],2)],64)),G(" ACTIONS "),M("div",{class:S([_(i).e("btn"),_(i).e("actions")])},[M("div",{class:S(_(i).e("actions__inner"))},[U(_(qe),{onClick:E[1]||(E[1]=N=>q("zoomOut"))},{default:K(()=>[U(_(Ez))]),_:1}),U(_(qe),{onClick:E[2]||(E[2]=N=>q("zoomIn"))},{default:K(()=>[U(_(Jv))]),_:1}),M("i",{class:S(_(i).e("actions__divider"))},null,2),U(_(qe),{onClick:L},{default:K(()=>[(w(),Q(pt(f.value.icon)))]),_:1}),M("i",{class:S(_(i).e("actions__divider"))},null,2),U(_(qe),{onClick:E[3]||(E[3]=N=>q("anticlockwise"))},{default:K(()=>[U(_($5))]),_:1}),U(_(qe),{onClick:E[4]||(E[4]=N=>q("clockwise"))},{default:K(()=>[U(_(M5))]),_:1})],2)],2),G(" CANVAS "),M("div",{class:S(_(i).e("canvas"))},[(w(!0),I(Fe,null,ct(R.urlList,(N,W)=>Ue((w(),I("img",{ref_for:!0,ref:Y=>c.value[W]=Y,key:N,src:N,style:Oe(_(y)),class:S(_(i).e("img")),onLoad:z,onError:P,onMousedown:O},null,46,DV)),[[ft,W===p.value]])),128))],2),ue(R.$slots,"default")],6)]),_:3})],8,["disabled"]))}}));var BV=_e(VV,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);const h_=rt(BV),jV=Le({appendToBody:{type:Boolean,default:void 0},hideOnClickModal:{type:Boolean,default:!1},src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},lazy:{type:Boolean,default:!1},scrollContainer:{type:Te([String,Object])},previewSrcList:{type:Te(Array),default:()=>Ft([])},previewTeleported:{type:Boolean,default:!1},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0}}),HV={error:e=>e instanceof Event,switch:e=>mt(e),close:()=>!0},qV=["src"],KV={key:0},WV={name:"ElImage"},UV=ee(ze(he({},WV),{props:jV,emits:HV,setup(e,{emit:t}){const n=e;let o="";il({scope:"el-image",from:"append-to-body",replacement:"preview-teleported",version:"2.2.0",ref:"https://element-plus.org/en-US/component/image.html#image-attributess"},C(()=>on(n.appendToBody)));const{t:r}=Tt(),a=ke("image"),i=dp(),l=A(!1),s=A(!0),c=A(0),d=A(0),u=A(!1),p=A(),f=A();let h,b;const m=C(()=>i.value.style),g=C(()=>{const{fit:R}=n;return dt&&R?{objectFit:R}:{}}),v=C(()=>{const{previewSrcList:R}=n;return Array.isArray(R)&&R.length>0}),y=C(()=>n.appendToBody||n.previewTeleported),T=C(()=>{const{previewSrcList:R,initialIndex:E}=n;let N=E;return E>R.length-1&&(N=0),N}),x=()=>{if(!dt)return;s.value=!0,l.value=!1;const R=new Image,E=n.src;R.addEventListener("load",N=>{E===n.src&&k(N,R)}),R.addEventListener("error",N=>{E===n.src&&$(N)}),Object.entries(i.value).forEach(([N,W])=>{N.toLowerCase()!=="onload"&&R.setAttribute(N,W)}),R.src=E};function k(R,E){c.value=E.width,d.value=E.height,s.value=!1,l.value=!1}function $(R){s.value=!1,l.value=!0,t("error",R)}function z(){p$(p.value,f.value)&&(x(),D())}const P=Kv(z,200);async function O(){var R;if(!dt)return;await je();const{scrollContainer:E}=n;Hr(E)?f.value=E:Qe(E)&&E!==""?f.value=(R=document.querySelector(E))!=null?R:void 0:p.value&&(f.value=ap(p.value)),f.value&&(h=Ht(f,"scroll",P),setTimeout(()=>z(),100))}function D(){!dt||!f.value||!P||(h(),f.value=void 0)}function L(R){if(!!R.ctrlKey){if(R.deltaY<0)return R.preventDefault(),!1;if(R.deltaY>0)return R.preventDefault(),!1}}function F(){!v.value||(b=Ht("wheel",L,{passive:!1}),o=document.body.style.overflow,document.body.style.overflow="hidden",u.value=!0)}function V(){b==null||b(),document.body.style.overflow=o,u.value=!1,t("close")}function q(R){t("switch",R)}return ge(()=>n.src,()=>{n.lazy?(s.value=!0,l.value=!1,D(),O()):x()}),et(()=>{n.lazy?O():x()}),(R,E)=>(w(),I("div",{ref_key:"container",ref:p,class:S([_(a).b(),R.$attrs.class]),style:Oe(_(m))},[s.value?ue(R.$slots,"placeholder",{key:0},()=>[M("div",{class:S(_(a).e("placeholder"))},null,2)]):l.value?ue(R.$slots,"error",{key:1},()=>[M("div",{class:S(_(a).e("error"))},ve(_(r)("el.image.error")),3)]):(w(),I("img",St({key:2},_(i),{src:R.src,style:_(g),class:[_(a).e("inner"),_(v)?_(a).e("preview"):""],onClick:F}),null,16,qV)),_(v)?(w(),I(Fe,{key:3},[u.value?(w(),Q(_(h_),{key:0,"z-index":R.zIndex,"initial-index":_(T),infinite:R.infinite,"url-list":R.previewSrcList,"hide-on-click-modal":R.hideOnClickModal,teleported:_(y),onClose:V,onSwitch:q},{default:K(()=>[R.$slots.viewer?(w(),I("div",KV,[ue(R.$slots,"viewer")])):G("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","url-list","hide-on-click-modal","teleported"])):G("v-if",!0)],2112)):G("v-if",!0)],6))}}));var YV=_e(UV,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);const GV=rt(YV),XV=Le({step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:{type:Number},disabled:{type:Boolean,default:!1},size:{type:String,values:wo},controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},name:String,label:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)}}),ZV={change:(e,t)=>e!==t,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,input:e=>mt(e),"update:modelValue":e=>mt(e)||e===void 0},JV=ee({name:"ElInputNumber",components:{ElInput:Gn,ElIcon:qe,ArrowUp:rl,ArrowDown:Gr,Plus:Xv,Minus:WE},directives:{RepeatClick:s0},props:XV,emits:ZV,setup(e,{emit:t}){const n=A(),o=vt({currentValue:e.modelValue,userInput:null}),{formItem:r}=Ka(),a=ke("input-number"),i=C(()=>b(e.modelValue,-1)b(e.modelValue)>e.max),s=C(()=>{const O=h(e.step);return Cn(e.precision)?Math.max(h(e.modelValue),O):(O>e.precision,e.precision)}),c=C(()=>e.controls&&e.controlsPosition==="right"),d=Ut(),u=Zr(),p=C(()=>{if(o.userInput!==null)return o.userInput;let O=o.currentValue;if(mt(O)){if(Number.isNaN(O))return"";Cn(e.precision)||(O=O.toFixed(e.precision))}return O}),f=(O,D)=>(Cn(D)&&(D=s.value),Number.parseFloat(`${Math.round(O*10**D)/10**D}`)),h=O=>{if(Cn(O))return 0;const D=O.toString(),L=D.indexOf(".");let F=0;return L!==-1&&(F=D.length-L-1),F},b=(O,D=1)=>mt(O)?(O=mt(O)?O:Number.NaN,f(O+e.step*D)):o.currentValue,m=()=>{if(u.value||l.value)return;const O=e.modelValue||0,D=b(O);y(D)},g=()=>{if(u.value||i.value)return;const O=e.modelValue||0,D=b(O,-1);y(D)},v=(O,D)=>{const{max:L,min:F,step:V,precision:q,stepStrictly:R}=e;let E=Number(O);return O===null&&(E=Number.NaN),Number.isNaN(E)||(R&&(E=Math.round(E/V)*V),Cn(q)||(E=f(E,q)),(E>L||EL?L:F,D&&t("update:modelValue",E))),E},y=O=>{var D;const L=o.currentValue;let F=v(O);L!==F&&(Number.isNaN(F)&&(F=void 0),o.userInput=null,t("update:modelValue",F),t("input",F),t("change",F,L),(D=r==null?void 0:r.validate)==null||D.call(r,"change").catch(V=>void 0),o.currentValue=F)},T=O=>o.userInput=O,x=O=>{const D=O!==""?Number(O):"";(mt(D)&&!Number.isNaN(D)||O==="")&&y(D),o.userInput=null},k=()=>{var O,D;(D=(O=n.value)==null?void 0:O.focus)==null||D.call(O)},$=()=>{var O,D;(D=(O=n.value)==null?void 0:O.blur)==null||D.call(O)},z=O=>{t("focus",O)},P=O=>{var D;t("blur",O),(D=r==null?void 0:r.validate)==null||D.call(r,"blur").catch(L=>void 0)};return ge(()=>e.modelValue,O=>{const D=v(O,!0);o.currentValue=D,o.userInput=null},{immediate:!0}),et(()=>{var O;const D=(O=n.value)==null?void 0:O.input;if(D.setAttribute("role","spinbutton"),D.setAttribute("aria-valuemax",String(e.max)),D.setAttribute("aria-valuemin",String(e.min)),D.setAttribute("aria-valuenow",String(o.currentValue)),D.setAttribute("aria-disabled",String(u.value)),!mt(e.modelValue)){let L=Number(e.modelValue);Number.isNaN(L)&&(L=void 0),t("update:modelValue",L)}}),Un(()=>{var O;const D=(O=n.value)==null?void 0:O.input;D==null||D.setAttribute("aria-valuenow",o.currentValue)}),{input:n,displayValue:p,handleInput:T,handleInputChange:x,controlsAtRight:c,decrease:g,increase:m,inputNumberSize:d,inputNumberDisabled:u,maxDisabled:l,minDisabled:i,focus:k,blur:$,handleFocus:z,handleBlur:P,ns:a}}});function QV(e,t,n,o,r,a){const i=le("arrow-down"),l=le("minus"),s=le("el-icon"),c=le("arrow-up"),d=le("plus"),u=le("el-input"),p=In("repeat-click");return w(),I("div",{class:S([e.ns.b(),e.ns.m(e.inputNumberSize),e.ns.is("disabled",e.inputNumberDisabled),e.ns.is("without-controls",!e.controls),e.ns.is("controls-right",e.controlsAtRight)]),onDragstart:t[2]||(t[2]=He(()=>{},["prevent"]))},[e.controls?Ue((w(),I("span",{key:0,role:"button",class:S([e.ns.e("decrease"),e.ns.is("disabled",e.minDisabled)]),onKeydown:t[0]||(t[0]=st((...f)=>e.decrease&&e.decrease(...f),["enter"]))},[U(s,null,{default:K(()=>[e.controlsAtRight?(w(),Q(i,{key:0})):(w(),Q(l,{key:1}))]),_:1})],34)),[[p,e.decrease]]):G("v-if",!0),e.controls?Ue((w(),I("span",{key:1,role:"button",class:S([e.ns.e("increase"),e.ns.is("disabled",e.maxDisabled)]),onKeydown:t[1]||(t[1]=st((...f)=>e.increase&&e.increase(...f),["enter"]))},[U(s,null,{default:K(()=>[e.controlsAtRight?(w(),Q(c,{key:0})):(w(),Q(d,{key:1}))]),_:1})],34)),[[p,e.increase]]):G("v-if",!0),U(u,{ref:"input",type:"number",step:e.step,"model-value":e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label,"validate-event":!1,onKeydown:[st(He(e.increase,["prevent"]),["up"]),st(He(e.decrease,["prevent"]),["down"])],onBlur:e.handleBlur,onFocus:e.handleFocus,onInput:e.handleInput,onChange:e.handleInputChange},null,8,["step","model-value","placeholder","disabled","size","max","min","name","label","onKeydown","onBlur","onFocus","onInput","onChange"])],34)}var eB=_e(JV,[["render",QV],["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const m_=rt(eB),tB=Le({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},icon:{type:an,default:""}}),nB={click:e=>e instanceof MouseEvent},oB=["href"],rB={name:"ElLink"},aB=ee(ze(he({},rB),{props:tB,emits:nB,setup(e,{emit:t}){const n=e,o=ke("link");function r(a){n.disabled||t("click",a)}return(a,i)=>(w(),I("a",{class:S([_(o).b(),_(o).m(a.type),_(o).is("disabled",a.disabled),_(o).is("underline",a.underline&&!a.disabled)]),href:a.disabled||!a.href?void 0:a.href,onClick:r},[a.icon?(w(),Q(_(qe),{key:0},{default:K(()=>[(w(),Q(pt(a.icon)))]),_:1})):G("v-if",!0),a.$slots.default?(w(),I("span",{key:1,class:S(_(o).e("inner"))},[ue(a.$slots,"default")],2)):G("v-if",!0),a.$slots.icon?ue(a.$slots,"icon",{key:2}):G("v-if",!0)],10,oB))}}));var iB=_e(aB,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const lB=rt(iB);class sB{constructor(t,n){this.parent=t,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",o=>{let r=!1;switch(o.code){case Pe.down:{this.gotoSubIndex(this.subIndex+1),r=!0;break}case Pe.up:{this.gotoSubIndex(this.subIndex-1),r=!0;break}case Pe.tab:{Ll(t,"mouseleave");break}case Pe.enter:case Pe.space:{r=!0,o.currentTarget.click();break}}return r&&(o.preventDefault(),o.stopPropagation()),!1})})}}class cB{constructor(t){this.domNode=t,this.submenu=null,this.submenu=null,this.init()}init(){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(".el-menu");t&&(this.submenu=new sB(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{let n=!1;switch(t.code){case Pe.down:{Ll(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case Pe.up:{Ll(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case Pe.tab:{Ll(t.currentTarget,"mouseleave");break}case Pe.enter:case Pe.space:{n=!0,t.currentTarget.click();break}}n&&t.preventDefault()})}}class dB{constructor(t){this.domNode=t,this.init()}init(){const t=this.domNode.childNodes;Array.from(t).forEach(n=>{n.nodeType===1&&new cB(n)})}}const uB=ee({name:"ElMenuCollapseTransition",setup(){return{listeners:{onBeforeEnter:t=>t.style.opacity="0.2",onEnter(t,n){bo(t,"el-opacity-transition"),t.style.opacity="1",n()},onAfterEnter(t){hn(t,"el-opacity-transition"),t.style.opacity=""},onBeforeLeave(t){t.dataset||(t.dataset={}),oo(t,"el-menu--collapse")?(hn(t,"el-menu--collapse"),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),bo(t,"el-menu--collapse")):(bo(t,"el-menu--collapse"),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),hn(t,"el-menu--collapse")),t.style.width=`${t.scrollWidth}px`,t.style.overflow="hidden"},onLeave(t){bo(t,"horizontal-collapse-transition"),t.style.width=`${t.dataset.scrollWidth}px`}}}}});function pB(e,t,n,o,r,a){return w(),Q(qt,St({mode:"out-in"},e.listeners),{default:K(()=>[ue(e.$slots,"default")]),_:3},16)}var fB=_e(uB,[["render",pB],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function g_(e,t){const n=Ie("rootMenu");n||Wt("useMenu","can not inject root menu");const o=C(()=>{let i=e.parent;const l=[t.value];for(;i.type.name!=="ElMenu";)i.props.index&&l.unshift(i.props.index),i=i.parent;return l}),r=C(()=>{let i=e.parent;for(;i&&!["ElMenu","ElSubMenu"].includes(i.type.name);)i=i.parent;return i}),a=C(()=>{let i=e.parent;if(n.props.mode!=="vertical")return{};let l=20;if(n.props.collapse)l=20;else for(;i&&i.type.name!=="ElMenu";)i.type.name==="ElSubMenu"&&(l+=20),i=i.parent;return{paddingLeft:`${l}px`}});return{parentMenu:r,paddingStyle:a,indexPath:o}}function hB(e){return C(()=>{const n=e.backgroundColor;return n?new e0(n).shade(20).toString():""})}const b_=e=>C(()=>({"--el-menu-text-color":e.textColor||"","--el-menu-hover-text-color":e.textColor||"","--el-menu-bg-color":e.backgroundColor||"","--el-menu-hover-bg-color":hB(e).value||"","--el-menu-active-color":e.activeTextColor||""})),mB=Le({index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0},popperOffset:{type:Number,default:6}}),Yc="ElSubMenu";var Fp=ee({name:Yc,props:mB,setup(e,{slots:t,expose:n}){const o=nt(),{paddingStyle:r,indexPath:a,parentMenu:i}=g_(o,C(()=>e.index)),l=Ie("rootMenu");l||Wt(Yc,"can not inject root menu");const s=Ie(`subMenu:${i.value.uid}`);s||Wt(Yc,"can not inject sub menu");const c=A({}),d=A({});let u;const p=A(!1),f=A(),h=A(null),b=C(()=>O.value==="horizontal"&&g.value?"bottom-start":"right-start"),m=C(()=>O.value==="horizontal"&&g.value||O.value==="vertical"&&!l.props.collapse?Gr:Yn),g=C(()=>{let N=!0,W=o.parent;for(;W&&W.type.name!=="ElMenu";)if(["ElSubMenu","ElMenuItemGroup"].includes(W.type.name)){N=!1;break}else W=W.parent;return N}),v=C(()=>e.popperAppendToBody===void 0?g.value:Boolean(e.popperAppendToBody)),y=C(()=>l.props.collapse?"el-zoom-in-left":"el-zoom-in-top"),T=C(()=>O.value==="horizontal"&&g.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","left-start","bottom-start","bottom-end","top-start","top-end"]),x=C(()=>l.openedMenus.includes(e.index)),k=C(()=>{let N=!1;return Object.values(c.value).forEach(W=>{W.active&&(N=!0)}),Object.values(d.value).forEach(W=>{W.active&&(N=!0)}),N}),$=C(()=>l.props.backgroundColor||""),z=C(()=>l.props.activeTextColor||""),P=C(()=>l.props.textColor||""),O=C(()=>l.props.mode),D=vt({index:e.index,indexPath:a,active:k}),L=C(()=>O.value!=="horizontal"?{color:P.value}:{borderBottomColor:k.value?l.props.activeTextColor?z.value:"":"transparent",color:k.value?z.value:P.value}),F=()=>{var N,W,Y;return(Y=(W=(N=h.value)==null?void 0:N.popperRef)==null?void 0:W.popperInstanceRef)==null?void 0:Y.destroy()},V=N=>{N||F()},q=()=>{l.props.menuTrigger==="hover"&&l.props.mode==="horizontal"||l.props.collapse&&l.props.mode==="vertical"||e.disabled||l.handleSubMenuClick({index:e.index,indexPath:a.value,active:k.value})},R=(N,W=e.showTimeout)=>{var Y;N.type==="focus"&&!N.relatedTarget||l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled||(s.mouseInChild.value=!0,u==null||u(),{stop:u}=jr(()=>{l.openMenu(e.index,a.value)},W),v.value&&((Y=i.value.vnode.el)==null||Y.dispatchEvent(new MouseEvent("mouseenter"))))},E=(N=!1)=>{var W,Y;l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||(u==null||u(),s.mouseInChild.value=!1,{stop:u}=jr(()=>!p.value&&l.closeMenu(e.index,a.value),e.hideTimeout),v.value&&N&&((W=o.parent)==null?void 0:W.type.name)==="ElSubMenu"&&((Y=s.handleMouseleave)==null||Y.call(s,!0)))};ge(()=>l.props.collapse,N=>V(Boolean(N)));{const N=Y=>{d.value[Y.index]=Y},W=Y=>{delete d.value[Y.index]};ot(`subMenu:${o.uid}`,{addSubMenu:N,removeSubMenu:W,handleMouseleave:E,mouseInChild:p})}return n({opened:x}),et(()=>{l.addSubMenu(D),s.addSubMenu(D)}),$t(()=>{s.removeSubMenu(D),l.removeSubMenu(D)}),()=>{var N;const W=[(N=t.title)==null?void 0:N.call(t),Re(qe,{class:["el-sub-menu__icon-arrow"]},{default:()=>Re(m.value)})],Y=b_(l.props),J=l.isMenuPopup?Re(vn,{ref:h,visible:x.value,effect:"light",pure:!0,offset:e.popperOffset,showArrow:!1,persistent:!0,popperClass:e.popperClass,placement:b.value,teleported:v.value,fallbackPlacements:T.value,transition:y.value,gpuAcceleration:!1},{content:()=>{var Z;return Re("div",{class:[`el-menu--${O.value}`,e.popperClass],onMouseenter:se=>R(se,100),onMouseleave:()=>E(!0),onFocus:se=>R(se,100)},[Re("ul",{class:["el-menu el-menu--popup",`el-menu--popup-${b.value}`],style:Y.value},[(Z=t.default)==null?void 0:Z.call(t)])])},default:()=>Re("div",{class:"el-sub-menu__title",style:[r.value,L.value,{backgroundColor:$.value}],onClick:q},W)}):Re(Fe,{},[Re("div",{class:"el-sub-menu__title",style:[r.value,L.value,{backgroundColor:$.value}],ref:f,onClick:q},W),Re(gc,{},{default:()=>{var Z;return Ue(Re("ul",{role:"menu",class:"el-menu el-menu--inline",style:Y.value},[(Z=t.default)==null?void 0:Z.call(t)]),[[ft,x.value]])}})]);return Re("li",{class:["el-sub-menu",{"is-active":k.value,"is-opened":x.value,"is-disabled":e.disabled}],role:"menuitem",ariaHaspopup:!0,ariaExpanded:x.value,onMouseenter:R,onMouseleave:()=>E(!0),onFocus:R},[J])}}});const gB=Le({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:Te(Array),default:()=>Ft([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0}}),Gc=e=>Array.isArray(e)&&e.every(t=>Qe(t)),bB={close:(e,t)=>Qe(e)&&Gc(t),open:(e,t)=>Qe(e)&&Gc(t),select:(e,t,n,o)=>Qe(e)&&Gc(t)&&ut(n)&&(o===void 0||o instanceof Promise)};var vB=ee({name:"ElMenu",props:gB,emits:bB,setup(e,{emit:t,slots:n,expose:o}){const r=nt(),a=r.appContext.config.globalProperties.$router,i=A(),l=A(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),s=A(e.defaultActive),c=A({}),d=A({}),u=C(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),p=()=>{const x=s.value&&c.value[s.value];if(!x||e.mode==="horizontal"||e.collapse)return;x.indexPath.forEach($=>{const z=d.value[$];z&&f($,z.indexPath)})},f=(x,k)=>{l.value.includes(x)||(e.uniqueOpened&&(l.value=l.value.filter($=>k.includes($))),l.value.push(x),t("open",x,k))},h=(x,k)=>{const $=l.value.indexOf(x);$!==-1&&l.value.splice($,1),t("close",x,k)},b=({index:x,indexPath:k})=>{l.value.includes(x)?h(x,k):f(x,k)},m=x=>{(e.mode==="horizontal"||e.collapse)&&(l.value=[]);const{index:k,indexPath:$}=x;if(!(k===void 0||$===void 0))if(e.router&&a){const z=x.route||k,P=a.push(z).then(O=>(O||(s.value=k),O));t("select",k,$,{index:k,indexPath:$,route:z},P)}else s.value=k,t("select",k,$,{index:k,indexPath:$})},g=x=>{const k=c.value,$=k[x]||s.value&&k[s.value]||k[e.defaultActive];$?(s.value=$.index,p()):s.value=x},v=()=>{je(()=>r.proxy.$forceUpdate())};ge(()=>e.defaultActive,x=>{c.value[x]||(s.value=""),g(x)}),ge(c.value,()=>p()),ge(()=>e.collapse,x=>{x&&(l.value=[])});{const x=P=>{d.value[P.index]=P},k=P=>{delete d.value[P.index]};ot("rootMenu",vt({props:e,openedMenus:l,items:c,subMenus:d,activeIndex:s,isMenuPopup:u,addMenuItem:P=>{c.value[P.index]=P},removeMenuItem:P=>{delete c.value[P.index]},addSubMenu:x,removeSubMenu:k,openMenu:f,closeMenu:h,handleMenuItemClick:m,handleSubMenuClick:b})),ot(`subMenu:${r.uid}`,{addSubMenu:x,removeSubMenu:k,mouseInChild:A(!1)})}et(()=>{p(),e.mode==="horizontal"&&new dB(r.vnode.el)}),o({open:k=>{const{indexPath:$}=d.value[k];$.forEach(z=>f(z,$))},close:h,handleResize:v});const y=x=>{const k=Array.isArray(x)?x:[x],$=[];return k.forEach(z=>{Array.isArray(z.children)?$.push(...y(z.children)):$.push(z)}),$},T=x=>e.mode==="horizontal"?Ue(x,[[kR,v]]):x;return()=>{var x,k,$,z;let P=(k=(x=n.default)==null?void 0:x.call(n))!=null?k:[];const O=[];if(e.mode==="horizontal"&&i.value){const V=Array.from((z=($=i.value)==null?void 0:$.childNodes)!=null?z:[]).filter(Se=>Se.nodeName!=="#text"||Se.nodeValue),q=y(P),R=64,E=Number.parseInt(getComputedStyle(i.value).paddingLeft,10),N=Number.parseInt(getComputedStyle(i.value).paddingRight,10),W=i.value.clientWidth-E-N;let Y=0,J=0;V.forEach((Se,oe)=>{Y+=Se.offsetWidth||0,Y<=W-R&&(J=oe+1)});const Z=q.slice(0,J),se=q.slice(J);(se==null?void 0:se.length)&&e.ellipsis&&(P=Z,O.push(Re(Fp,{index:"sub-menu-more",class:"el-sub-menu__hide-arrow"},{title:()=>Re(qe,{class:["el-sub-menu__icon-more"]},{default:()=>Re(r5)}),default:()=>se})))}const D=b_(e),F=(V=>e.ellipsis?T(V):V)(Re("ul",{key:String(e.collapse),role:"menubar",ref:i,style:D.value,class:{"el-menu":!0,"el-menu--horizontal":e.mode==="horizontal","el-menu--collapse":e.collapse}},[...P,...O]));return e.collapseTransition&&e.mode==="vertical"?Re(fB,()=>F):F}}});const yB=Le({index:{type:Te([String,null]),default:null},route:{type:Te([String,Object])},disabled:Boolean}),_B={click:e=>Qe(e.index)&&Array.isArray(e.indexPath)},Xc="ElMenuItem",wB=ee({name:Xc,components:{ElTooltip:vn},props:yB,emits:_B,setup(e,{emit:t}){const n=nt(),o=Ie("rootMenu");o||Wt(Xc,"can not inject root menu");const{parentMenu:r,paddingStyle:a,indexPath:i}=g_(n,Yt(e,"index")),l=Ie(`subMenu:${r.value.uid}`);l||Wt(Xc,"can not inject sub menu");const s=C(()=>e.index===o.activeIndex),c=vt({index:e.index,indexPath:i,active:s}),d=()=>{e.disabled||(o.handleMenuItemClick({index:e.index,indexPath:i.value,route:e.route}),t("click",c))};return et(()=>{l.addSubMenu(c),o.addMenuItem(c)}),$t(()=>{l.removeSubMenu(c),o.removeMenuItem(c)}),{Effect:BN,parentMenu:r,rootMenu:o,paddingStyle:a,active:s,handleClick:d}}}),xB={class:"el-menu-tooltip__trigger"};function kB(e,t,n,o,r,a){const i=le("el-tooltip");return w(),I("li",{class:S(["el-menu-item",{"is-active":e.active,"is-disabled":e.disabled}]),role:"menuitem",tabindex:"-1",style:Oe(e.paddingStyle),onClick:t[0]||(t[0]=(...l)=>e.handleClick&&e.handleClick(...l))},[e.parentMenu.type.name==="ElMenu"&&e.rootMenu.props.collapse&&e.$slots.title?(w(),Q(i,{key:0,effect:e.Effect.DARK,placement:"right","fallback-placements":["left"],persistent:""},{content:K(()=>[ue(e.$slots,"title")]),default:K(()=>[M("div",xB,[ue(e.$slots,"default")])]),_:3},8,["effect"])):(w(),I(Fe,{key:1},[ue(e.$slots,"default"),ue(e.$slots,"title")],64))],6)}var v_=_e(wB,[["render",kB],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const TB={title:String},ag="ElMenuItemGroup",CB=ee({name:ag,props:TB,setup(){const e=nt(),t=Ie("rootMenu");return t||Wt(ag,"can not inject root menu"),{levelPadding:C(()=>{if(t.props.collapse)return 20;let o=20,r=e.parent;for(;r&&r.type.name!=="ElMenu";)r.type.name==="ElSubMenu"&&(o+=20),r=r.parent;return o})}}}),SB={class:"el-menu-item-group"};function $B(e,t,n,o,r,a){return w(),I("li",SB,[M("div",{class:"el-menu-item-group__title",style:Oe({paddingLeft:`${e.levelPadding}px`})},[e.$slots.title?ue(e.$slots,"title",{key:1}):(w(),I(Fe,{key:0},[it(ve(e.title),1)],2112))],4),M("ul",null,[ue(e.$slots,"default")])])}var y_=_e(CB,[["render",$B],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const AB=rt(vB,{MenuItem:v_,MenuItemGroup:y_,SubMenu:Fp}),EB=Dt(v_),zB=Dt(y_);Dt(Fp);const IB=Le({icon:{type:an,default:()=>W$},title:String,content:{type:String,default:""}}),NB={back:()=>!0},MB={name:"ElPageHeader"},RB=ee(ze(he({},MB),{props:IB,emits:NB,setup(e,{emit:t}){const{t:n}=Tt(),o=ke("page-header");function r(){t("back")}return(a,i)=>(w(),I("div",{class:S(_(o).b())},[M("div",{class:S(_(o).e("left")),onClick:r},[a.icon||a.$slots.icon?(w(),I("div",{key:0,class:S(_(o).e("icon"))},[ue(a.$slots,"icon",{},()=>[a.icon?(w(),Q(_(qe),{key:0},{default:K(()=>[(w(),Q(pt(a.icon)))]),_:1})):G("v-if",!0)])],2)):G("v-if",!0),M("div",{class:S(_(o).e("title"))},[ue(a.$slots,"title",{},()=>[it(ve(a.title||_(n)("el.pageHeader.title")),1)])],2)],2),M("div",{class:S(_(o).e("content"))},[ue(a.$slots,"content",{},()=>[it(ve(a.content),1)])],2)],2))}}));var PB=_e(RB,[["__file","/home/runner/work/element-plus/element-plus/packages/components/page-header/src/page-header.vue"]]);const OB=rt(PB),FB={disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String,default:""}},DB=ee({name:"ElPaginationPrev",components:{ElIcon:qe,ArrowLeft:Xr},props:FB,emits:["click"],setup(e){return{internalDisabled:C(()=>e.disabled||e.currentPage<=1)}}}),LB=["disabled","aria-disabled"],VB={key:0};function BB(e,t,n,o,r,a){const i=le("arrow-left"),l=le("el-icon");return w(),I("button",{type:"button",class:"btn-prev",disabled:e.internalDisabled,"aria-disabled":e.internalDisabled,onClick:t[0]||(t[0]=s=>e.$emit("click",s))},[e.prevText?(w(),I("span",VB,ve(e.prevText),1)):(w(),Q(l,{key:1},{default:K(()=>[U(i)]),_:1}))],8,LB)}var jB=_e(DB,[["render",BB],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const HB={disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String,default:""}},qB=ee({name:"ElPaginationNext",components:{ElIcon:qe,ArrowRight:Yn},props:HB,emits:["click"],setup(e){return{internalDisabled:C(()=>e.disabled||e.currentPage===e.pageCount||e.pageCount===0)}}}),KB=["disabled","aria-disabled"],WB={key:0};function UB(e,t,n,o,r,a){const i=le("arrow-right"),l=le("el-icon");return w(),I("button",{type:"button",class:"btn-next",disabled:e.internalDisabled,"aria-disabled":e.internalDisabled,onClick:t[0]||(t[0]=s=>e.$emit("click",s))},[e.nextText?(w(),I("span",WB,ve(e.nextText),1)):(w(),Q(l,{key:1},{default:K(()=>[U(i)]),_:1}))],8,KB)}var YB=_e(qB,[["render",UB],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const __="ElSelectGroup",bc="ElSelect";function GB(e,t){const n=Ie(bc),o=Ie(__,{disabled:!1}),r=C(()=>Object.prototype.toString.call(e.value).toLowerCase()==="[object object]"),a=C(()=>n.props.multiple?u(n.props.modelValue,e.value):p(e.value,n.props.modelValue)),i=C(()=>{if(n.props.multiple){const b=n.props.modelValue||[];return!a.value&&b.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),l=C(()=>e.label||(r.value?"":e.value)),s=C(()=>e.value||e.label||""),c=C(()=>e.disabled||t.groupDisabled||i.value),d=nt(),u=(b=[],m)=>{if(r.value){const g=n.props.valueKey;return b&&b.some(v=>Pt(v,g)===Pt(m,g))}else return b&&b.includes(m)},p=(b,m)=>{if(r.value){const{valueKey:g}=n.props;return Pt(b,g)===Pt(m,g)}else return b===m},f=()=>{!e.disabled&&!o.disabled&&(n.hoverIndex=n.optionsArray.indexOf(d.proxy))};ge(()=>l.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),ge(()=>e.value,(b,m)=>{const{remote:g,valueKey:v}=n.props;if(!e.created&&!g){if(v&&typeof b=="object"&&typeof m=="object"&&b[v]===m[v])return;n.setSelected()}}),ge(()=>o.disabled,()=>{t.groupDisabled=o.disabled},{immediate:!0});const{queryChange:h}=kt(n);return ge(h,b=>{const{query:m}=_(b),g=new RegExp(g$(m),"i");t.visible=g.test(l.value)||e.created,t.visible||n.filteredOptionsCount--}),{select:n,currentLabel:l,currentValue:s,itemSelected:a,isDisabled:c,hoverItem:f}}const XB=ee({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(e){const t=ke("select"),n=vt({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:o,itemSelected:r,isDisabled:a,select:i,hoverItem:l}=GB(e,n),{visible:s,hover:c}=Gt(n),d=nt().proxy,u=d.value;i.onOptionCreate(d),$t(()=>{const{selected:f}=i,b=(i.props.multiple?f:[f]).some(m=>m.value===d.value);i.cachedOptions.get(u)===d&&!b&&je(()=>{i.cachedOptions.delete(u)}),i.onOptionDestroy(u,d)});function p(){e.disabled!==!0&&n.groupDisabled!==!0&&i.handleOptionSelect(d,!0)}return{ns:t,currentLabel:o,itemSelected:r,isDisabled:a,select:i,hoverItem:l,visible:s,hover:c,selectOptionClick:p,states:n}}});function ZB(e,t,n,o,r,a){return Ue((w(),I("li",{class:S([e.ns.be("dropdown","item"),e.ns.is("disabled",e.isDisabled),{selected:e.itemSelected,hover:e.hover}]),onMouseenter:t[0]||(t[0]=(...i)=>e.hoverItem&&e.hoverItem(...i)),onClick:t[1]||(t[1]=He((...i)=>e.selectOptionClick&&e.selectOptionClick(...i),["stop"]))},[ue(e.$slots,"default",{},()=>[M("span",null,ve(e.currentLabel),1)])],34)),[[ft,e.visible]])}var Dp=_e(XB,[["render",ZB],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const JB=ee({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Ie(bc),t=ke("select"),n=C(()=>e.props.popperClass),o=C(()=>e.props.multiple),r=C(()=>e.props.fitInputWidth),a=A("");function i(){var l;a.value=`${(l=e.selectWrapper)==null?void 0:l.getBoundingClientRect().width}px`}return et(()=>{i(),ja(e.selectWrapper,i)}),$t(()=>{Ha(e.selectWrapper,i)}),{ns:t,minWidth:a,popperClass:n,isMultiple:o,isFitInputWidth:r}}});function QB(e,t,n,o,r,a){return w(),I("div",{class:S([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:Oe({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[ue(e.$slots,"default")],6)}var ej=_e(JB,[["render",QB],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function tj(e){const{t}=Tt();return vt({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,prefixWidth:11,tagInMultiLine:!1})}const nj=(e,t,n)=>{const{t:o}=Tt(),r=ke("select"),a=A(null),i=A(null),l=A(null),s=A(null),c=A(null),d=A(null),u=A(-1),p=Kt({query:""}),f=Kt(""),h=Ie(Mn,{}),b=Ie(qn,{}),m=C(()=>!e.filterable||e.multiple||!t.visible),g=C(()=>e.disabled||h.disabled),v=C(()=>{const re=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:e.modelValue!==void 0&&e.modelValue!==null&&e.modelValue!=="";return e.clearable&&!g.value&&t.inputHovering&&re}),y=C(()=>e.remote&&e.filterable?"":e.suffixIcon),T=C(()=>r.is("reverse",y.value&&t.visible)),x=C(()=>e.remote?300:0),k=C(()=>e.loading?e.loadingText||o("el.select.loading"):e.remote&&t.query===""&&t.options.size===0?!1:e.filterable&&t.query&&t.options.size>0&&t.filteredOptionsCount===0?e.noMatchText||o("el.select.noMatch"):t.options.size===0?e.noDataText||o("el.select.noData"):null),$=C(()=>Array.from(t.options.values())),z=C(()=>Array.from(t.cachedOptions.values())),P=C(()=>{const re=$.value.filter(ye=>!ye.created).some(ye=>ye.currentLabel===t.query);return e.filterable&&e.allowCreate&&t.query!==""&&!re}),O=Ut(),D=C(()=>["small"].includes(O.value)?"small":"default"),L=C({get(){return t.visible&&k.value!==!1},set(re){t.visible=re}});ge(()=>g.value,()=>{je(()=>{F()})}),ge(()=>e.placeholder,re=>{t.cachedPlaceHolder=t.currentPlaceholder=re}),ge(()=>e.modelValue,(re,ye)=>{var fe;e.multiple&&(F(),re&&re.length>0||i.value&&t.query!==""?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",V(t.query))),E(),e.filterable&&!e.multiple&&(t.inputLength=20),En(re,ye)||(fe=b.validate)==null||fe.call(b,"change").catch(Ee=>void 0)},{flush:"post",deep:!0}),ge(()=>t.visible,re=>{var ye,fe,Ee;re?((fe=(ye=l.value)==null?void 0:ye.updatePopper)==null||fe.call(ye),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,e.multiple?(Ee=i.value)==null||Ee.focus():t.selectedLabel&&(t.currentPlaceholder=`${t.selectedLabel}`,t.selectedLabel=""),V(t.query),!e.multiple&&!e.remote&&(p.value.query="",Xa(p),Xa(f)))):(i.value&&i.value.blur(),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,W(),je(()=>{i.value&&i.value.value===""&&t.selected.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),n.emit("visible-change",re)}),ge(()=>t.options.entries(),()=>{var re,ye,fe;if(!dt)return;(ye=(re=l.value)==null?void 0:re.updatePopper)==null||ye.call(re),e.multiple&&F();const Ee=((fe=c.value)==null?void 0:fe.querySelectorAll("input"))||[];Array.from(Ee).includes(document.activeElement)||E(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&R()},{flush:"post"}),ge(()=>t.hoverIndex,re=>{typeof re=="number"&&re>-1&&(u.value=$.value[re]||{}),$.value.forEach(ye=>{ye.hover=u.value===ye})});const F=()=>{e.collapseTags&&!e.filterable||je(()=>{var re,ye;if(!a.value)return;const fe=a.value.$el.childNodes,Ee=Array.from(fe).find(Ct=>Ct.tagName==="INPUT"),We=s.value,gt=t.initialInputHeight||ty(O.value||h.size);Ee.style.height=t.selected.length===0?`${gt}px`:`${Math.max(We?We.clientHeight+(We.clientHeight>gt?6:0):0,gt)}px`,t.tagInMultiLine=Number.parseFloat(Ee.style.height)>=gt,t.visible&&k.value!==!1&&((ye=(re=l.value)==null?void 0:re.updatePopper)==null||ye.call(re))})},V=re=>{if(!(t.previousQuery===re||t.isOnComposition)){if(t.previousQuery===null&&(typeof e.filterMethod=="function"||typeof e.remoteMethod=="function")){t.previousQuery=re;return}t.previousQuery=re,je(()=>{var ye,fe;t.visible&&((fe=(ye=l.value)==null?void 0:ye.updatePopper)==null||fe.call(ye))}),t.hoverIndex=-1,e.multiple&&e.filterable&&je(()=>{const ye=i.value.value.length*15+20;t.inputLength=e.collapseTags?Math.min(50,ye):ye,q(),F()}),e.remote&&typeof e.remoteMethod=="function"?(t.hoverIndex=-1,e.remoteMethod(re)):typeof e.filterMethod=="function"?(e.filterMethod(re),Xa(f)):(t.filteredOptionsCount=t.optionsCount,p.value.query=re,Xa(p),Xa(f)),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&R()}},q=()=>{t.currentPlaceholder!==""&&(t.currentPlaceholder=i.value.value?"":t.cachedPlaceHolder)},R=()=>{const re=$.value.filter(Ee=>Ee.visible&&!Ee.disabled&&!Ee.states.groupDisabled),ye=re.find(Ee=>Ee.created),fe=re[0];t.hoverIndex=$e($.value,ye||fe)},E=()=>{var re;if(e.multiple)t.selectedLabel="";else{const fe=N(e.modelValue);(re=fe.props)!=null&&re.created?(t.createdLabel=fe.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=fe.currentLabel,t.selected=fe,e.filterable&&(t.query=t.selectedLabel);return}const ye=[];Array.isArray(e.modelValue)&&e.modelValue.forEach(fe=>{ye.push(N(fe))}),t.selected=ye,je(()=>{F()})},N=re=>{let ye;const fe=Nl(re).toLowerCase()==="object",Ee=Nl(re).toLowerCase()==="null",We=Nl(re).toLowerCase()==="undefined";for(let _t=t.cachedOptions.size-1;_t>=0;_t--){const Et=z.value[_t];if(fe?Pt(Et,e.valueKey)===Pt(re,e.valueKey):Et.value===re){ye={value:re,currentLabel:Et.currentLabel,isDisabled:Et.isDisabled};break}}if(ye)return ye;const gt=fe?re.label:!Ee&&!We?re:"",Ct={value:re,currentLabel:gt};return e.multiple&&(Ct.hitState=!1),Ct},W=()=>{setTimeout(()=>{const re=e.valueKey;e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map(ye=>$.value.findIndex(fe=>Pt(fe,re)===Pt(ye,re)))):t.hoverIndex=-1:t.hoverIndex=$.value.findIndex(ye=>Be(ye)===Be(t.selected))},300)},Y=()=>{var re,ye;J(),(ye=(re=l.value)==null?void 0:re.updatePopper)==null||ye.call(re),e.multiple&&!e.filterable&&F()},J=()=>{var re;t.inputWidth=(re=a.value)==null?void 0:re.$el.getBoundingClientRect().width},Z=()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,V(t.query))},se=bn(()=>{Z()},x.value),Se=bn(re=>{V(re.target.value)},x.value),oe=re=>{En(e.modelValue,re)||n.emit(Xt,re)},H=re=>{if(re.target.value.length<=0&&!xe()){const ye=e.modelValue.slice();ye.pop(),n.emit(tt,ye),oe(ye)}re.target.value.length===1&&e.modelValue.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)},ne=(re,ye)=>{const fe=t.selected.indexOf(ye);if(fe>-1&&!g.value){const Ee=e.modelValue.slice();Ee.splice(fe,1),n.emit(tt,Ee),oe(Ee),n.emit("remove-tag",ye.value)}re.stopPropagation()},ie=re=>{re.stopPropagation();const ye=e.multiple?[]:"";if(typeof ye!="string")for(const fe of t.selected)fe.isDisabled&&ye.push(fe.value);n.emit(tt,ye),oe(ye),t.visible=!1,n.emit("clear")},be=(re,ye)=>{var fe;if(e.multiple){const Ee=(e.modelValue||[]).slice(),We=$e(Ee,re.value);We>-1?Ee.splice(We,1):(e.multipleLimit<=0||Ee.length{Me(re)})},$e=(re=[],ye)=>{if(!ut(ye))return re.indexOf(ye);const fe=e.valueKey;let Ee=-1;return re.some((We,gt)=>Pt(We,fe)===Pt(ye,fe)?(Ee=gt,!0):!1),Ee},Ne=()=>{t.softFocus=!0;const re=i.value||a.value;re&&(re==null||re.focus())},Me=re=>{var ye,fe,Ee,We,gt;const Ct=Array.isArray(re)?re[0]:re;let _t=null;if(Ct!=null&&Ct.value){const Et=$.value.filter(Rn=>Rn.value===Ct.value);Et.length>0&&(_t=Et[0].$el)}if(l.value&&_t){const Et=(We=(Ee=(fe=(ye=l.value)==null?void 0:ye.popperRef)==null?void 0:fe.contentRef)==null?void 0:Ee.querySelector)==null?void 0:We.call(Ee,`.${r.be("dropdown","wrap")}`);Et&&Uv(Et,_t)}(gt=d.value)==null||gt.handleScroll()},j=re=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set(re.value,re),t.cachedOptions.set(re.value,re)},X=(re,ye)=>{t.options.get(re)===ye&&(t.optionsCount--,t.filteredOptionsCount--,t.options.delete(re))},de=re=>{re.code!==Pe.backspace&&xe(!1),t.inputLength=i.value.value.length*15+20,F()},xe=re=>{if(!Array.isArray(t.selected))return;const ye=t.selected[t.selected.length-1];if(!!ye)return re===!0||re===!1?(ye.hitState=re,re):(ye.hitState=!ye.hitState,ye.hitState)},we=re=>{const ye=re.target.value;if(re.type==="compositionend")t.isOnComposition=!1,je(()=>V(ye));else{const fe=ye[ye.length-1]||"";t.isOnComposition=!lc(fe)}},Ae=()=>{je(()=>Me(t.selected))},ce=re=>{t.softFocus?t.softFocus=!1:((e.automaticDropdown||e.filterable)&&(e.filterable&&!t.visible&&(t.menuVisibleOnFocus=!0),t.visible=!0),n.emit("focus",re))},ae=()=>{var re;t.visible=!1,(re=a.value)==null||re.blur()},te=re=>{je(()=>{t.isSilentBlur?t.isSilentBlur=!1:n.emit("blur",re)}),t.softFocus=!1},pe=re=>{ie(re)},De=()=>{t.visible=!1},B=()=>{var re;e.automaticDropdown||g.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:t.visible=!t.visible,t.visible&&((re=i.value||a.value)==null||re.focus()))},me=()=>{t.visible?$.value[t.hoverIndex]&&be($.value[t.hoverIndex],void 0):B()},Be=re=>ut(re.value)?Pt(re.value,e.valueKey):re.value,Ze=C(()=>$.value.filter(re=>re.visible).every(re=>re.disabled)),Ve=re=>{if(!t.visible){t.visible=!0;return}if(!(t.options.size===0||t.filteredOptionsCount===0)&&!t.isOnComposition&&!Ze.value){re==="next"?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):re==="prev"&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const ye=$.value[t.hoverIndex];(ye.disabled===!0||ye.states.groupDisabled===!0||!ye.visible)&&Ve(re),je(()=>Me(u.value))}};return{optionsArray:$,selectSize:O,handleResize:Y,debouncedOnInputChange:se,debouncedQueryChange:Se,deletePrevTag:H,deleteTag:ne,deleteSelected:ie,handleOptionSelect:be,scrollToOption:Me,readonly:m,resetInputHeight:F,showClose:v,iconComponent:y,iconReverse:T,showNewOption:P,collapseTagSize:D,setSelected:E,managePlaceholder:q,selectDisabled:g,emptyText:k,toggleLastOptionHitState:xe,resetInputState:de,handleComposition:we,onOptionCreate:j,onOptionDestroy:X,handleMenuEnter:Ae,handleFocus:ce,blur:ae,handleBlur:te,handleClearClick:pe,handleClose:De,toggleMenu:B,selectOption:me,getValueKey:Be,navigateOptions:Ve,dropMenuVisible:L,queryChange:p,groupQueryChange:f,reference:a,input:i,tooltipRef:l,tags:s,selectWrapper:c,scrollbar:d}},Zc="ElSelect",oj=ee({name:Zc,componentName:Zc,components:{ElInput:Gn,ElSelectMenu:ej,ElOption:Dp,ElTag:mc,ElScrollbar:qo,ElTooltip:vn,ElIcon:qe},directives:{ClickOutside:Jr},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:Nn},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},popperAppendToBody:{type:Boolean,default:void 0},teleported:tn.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:[String,Object],default:Oo},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{type:[String,Object],default:rl},tagType:ze(he({},zp.type),{default:"info"})},emits:[tt,Xt,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const n=ke("select"),o=ke("input"),{t:r}=Tt(),a=tj(e),{optionsArray:i,selectSize:l,readonly:s,handleResize:c,collapseTagSize:d,debouncedOnInputChange:u,debouncedQueryChange:p,deletePrevTag:f,deleteTag:h,deleteSelected:b,handleOptionSelect:m,scrollToOption:g,setSelected:v,resetInputHeight:y,managePlaceholder:T,showClose:x,selectDisabled:k,iconComponent:$,iconReverse:z,showNewOption:P,emptyText:O,toggleLastOptionHitState:D,resetInputState:L,handleComposition:F,onOptionCreate:V,onOptionDestroy:q,handleMenuEnter:R,handleFocus:E,blur:N,handleBlur:W,handleClearClick:Y,handleClose:J,toggleMenu:Z,selectOption:se,getValueKey:Se,navigateOptions:oe,dropMenuVisible:H,reference:ne,input:ie,tooltipRef:be,tags:$e,selectWrapper:Ne,scrollbar:Me,queryChange:j,groupQueryChange:X}=nj(e,a,t),{focus:de}=jz(ne),{inputWidth:xe,selected:we,inputLength:Ae,filteredOptionsCount:ce,visible:ae,softFocus:te,selectedLabel:pe,hoverIndex:De,query:B,inputHovering:me,currentPlaceholder:Be,menuVisibleOnFocus:Ze,isOnComposition:Ve,isSilentBlur:re,options:ye,cachedOptions:fe,optionsCount:Ee,prefixWidth:We,tagInMultiLine:gt}=Gt(a),Ct=C(()=>{const un=[n.b()],yn=_(l);return yn&&un.push(n.m(yn)),e.disabled&&un.push(n.m("disabled")),un}),_t=C(()=>({maxWidth:`${_(xe)-32}px`,width:"100%"}));ot(bc,vt({props:e,options:ye,optionsArray:i,cachedOptions:fe,optionsCount:Ee,filteredOptionsCount:ce,hoverIndex:De,handleOptionSelect:m,onOptionCreate:V,onOptionDestroy:q,selectWrapper:Ne,selected:we,setSelected:v,queryChange:j,groupQueryChange:X})),et(()=>{if(a.cachedPlaceHolder=Be.value=e.placeholder||r("el.select.placeholder"),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(Be.value=""),ja(Ne.value,c),ne.value&&ne.value.$el){const un=ne.value.input;a.initialInputHeight=un.getBoundingClientRect().height||ty(l.value)}e.remote&&e.multiple&&y(),je(()=>{if(!!ne.value&&(ne.value.$el&&(xe.value=ne.value.$el.getBoundingClientRect().width),t.slots.prefix)){const un=ne.value.$el.childNodes,yn=Array.from(un).find(Ga=>Ga.tagName==="INPUT"),gr=ne.value.$el.querySelector(`.${o.e("prefix")}`);We.value=Math.max(gr.getBoundingClientRect().width+5,30),a.prefixWidth&&(yn.style.paddingLeft=`${Math.max(a.prefixWidth,30)}px`)}}),v()}),$t(()=>{Ha(Ne.value,c)}),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(tt,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(tt,"");const Et=C(()=>{var un,yn;return(yn=(un=be.value)==null?void 0:un.popperRef)==null?void 0:yn.contentRef}),{compatTeleported:Rn}=Wa(Zc,"popperAppendToBody");return{tagInMultiLine:gt,prefixWidth:We,selectSize:l,readonly:s,handleResize:c,collapseTagSize:d,debouncedOnInputChange:u,debouncedQueryChange:p,deletePrevTag:f,deleteTag:h,deleteSelected:b,handleOptionSelect:m,scrollToOption:g,inputWidth:xe,selected:we,inputLength:Ae,filteredOptionsCount:ce,visible:ae,softFocus:te,selectedLabel:pe,hoverIndex:De,query:B,inputHovering:me,currentPlaceholder:Be,menuVisibleOnFocus:Ze,isOnComposition:Ve,isSilentBlur:re,options:ye,resetInputHeight:y,managePlaceholder:T,showClose:x,selectDisabled:k,iconComponent:$,iconReverse:z,showNewOption:P,emptyText:O,toggleLastOptionHitState:D,resetInputState:L,handleComposition:F,handleMenuEnter:R,handleFocus:E,blur:N,handleBlur:W,handleClearClick:Y,handleClose:J,toggleMenu:Z,selectOption:se,getValueKey:Se,navigateOptions:oe,dropMenuVisible:H,focus:de,reference:ne,input:ie,tooltipRef:be,popperPaneRef:Et,tags:$e,selectWrapper:Ne,scrollbar:Me,wrapperKls:Ct,selectTagsStyle:_t,compatTeleported:Rn,nsSelect:n}}}),rj={class:"select-trigger"},aj=["disabled","autocomplete"],ij={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function lj(e,t,n,o,r,a){const i=le("el-tag"),l=le("el-tooltip"),s=le("el-icon"),c=le("el-input"),d=le("el-option"),u=le("el-scrollbar"),p=le("el-select-menu"),f=In("click-outside");return Ue((w(),I("div",{ref:"selectWrapper",class:S(e.wrapperKls),onClick:t[24]||(t[24]=He((...h)=>e.toggleMenu&&e.toggleMenu(...h),["stop"]))},[U(l,{ref:"tooltipRef",visible:e.dropMenuVisible,"onUpdate:visible":t[23]||(t[23]=h=>e.dropMenuVisible=h),placement:"bottom-start",teleported:e.compatTeleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"fallback-placements":["bottom-start","top-start","right","left"],effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,onShow:e.handleMenuEnter},{default:K(()=>[M("div",rj,[e.multiple?(w(),I("div",{key:0,ref:"tags",class:S(e.nsSelect.e("tags")),style:Oe(e.selectTagsStyle)},[e.collapseTags&&e.selected.length?(w(),I("span",{key:0,class:S([e.nsSelect.b("tags-wrapper"),{"has-prefix":e.prefixWidth&&e.selected.length}])},[U(i,{closable:!e.selectDisabled&&!e.selected[0].isDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:e.tagType,"disable-transitions":"",onClose:t[0]||(t[0]=h=>e.deleteTag(h,e.selected[0]))},{default:K(()=>[M("span",{class:S(e.nsSelect.e("tags-text")),style:Oe({maxWidth:e.inputWidth-123+"px"})},ve(e.selected[0].currentLabel),7)]),_:1},8,["closable","size","hit","type"]),e.selected.length>1?(w(),Q(i,{key:0,closable:!1,size:e.collapseTagSize,type:e.tagType,"disable-transitions":""},{default:K(()=>[e.collapseTagsTooltip?(w(),Q(l,{key:0,disabled:e.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:!1},{default:K(()=>[M("span",{class:S(e.nsSelect.e("tags-text"))},"+ "+ve(e.selected.length-1),3)]),content:K(()=>[M("div",{class:S(e.nsSelect.e("collapse-tags"))},[(w(!0),I(Fe,null,ct(e.selected,(h,b)=>(w(),I("div",{key:b,class:S(e.nsSelect.e("collapse-tag"))},[(w(),Q(i,{key:e.getValueKey(h),class:"in-tooltip",closable:!e.selectDisabled&&!h.isDisabled,size:e.collapseTagSize,hit:h.hitState,type:e.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:m=>e.deleteTag(m,h)},{default:K(()=>[M("span",{class:S(e.nsSelect.e("tags-text")),style:Oe({maxWidth:e.inputWidth-75+"px"})},ve(h.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))],2))),128))],2)]),_:1},8,["disabled","effect"])):(w(),I("span",{key:1,class:S(e.nsSelect.e("tags-text"))},"+ "+ve(e.selected.length-1),3))]),_:1},8,["size","type"])):G("v-if",!0)],2)):G("v-if",!0),G("

"),e.collapseTags?G("v-if",!0):(w(),Q(qt,{key:1,onAfterLeave:e.resetInputHeight},{default:K(()=>[M("span",{class:S([e.nsSelect.b("tags-wrapper"),{"has-prefix":e.prefixWidth&&e.selected.length}])},[(w(!0),I(Fe,null,ct(e.selected,h=>(w(),Q(i,{key:e.getValueKey(h),closable:!e.selectDisabled&&!h.isDisabled,size:e.collapseTagSize,hit:h.hitState,type:e.tagType,"disable-transitions":"",onClose:b=>e.deleteTag(b,h)},{default:K(()=>[M("span",{class:S(e.nsSelect.e("tags-text")),style:Oe({maxWidth:e.inputWidth-75+"px"})},ve(h.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],2)]),_:1},8,["onAfterLeave"])),G("
"),e.filterable?Ue((w(),I("input",{key:2,ref:"input","onUpdate:modelValue":t[1]||(t[1]=h=>e.query=h),type:"text",class:S([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:Oe({marginLeft:e.prefixWidth&&!e.selected.length||e.tagInMultiLine?`${e.prefixWidth}px`:"",flexGrow:1,width:`${e.inputLength/(e.inputWidth-32)}%`,maxWidth:`${e.inputWidth-42}px`}),onFocus:t[2]||(t[2]=(...h)=>e.handleFocus&&e.handleFocus(...h)),onBlur:t[3]||(t[3]=(...h)=>e.handleBlur&&e.handleBlur(...h)),onKeyup:t[4]||(t[4]=(...h)=>e.managePlaceholder&&e.managePlaceholder(...h)),onKeydown:[t[5]||(t[5]=(...h)=>e.resetInputState&&e.resetInputState(...h)),t[6]||(t[6]=st(He(h=>e.navigateOptions("next"),["prevent"]),["down"])),t[7]||(t[7]=st(He(h=>e.navigateOptions("prev"),["prevent"]),["up"])),t[8]||(t[8]=st(He(h=>e.visible=!1,["stop","prevent"]),["esc"])),t[9]||(t[9]=st(He((...h)=>e.selectOption&&e.selectOption(...h),["stop","prevent"]),["enter"])),t[10]||(t[10]=st((...h)=>e.deletePrevTag&&e.deletePrevTag(...h),["delete"])),t[11]||(t[11]=st(h=>e.visible=!1,["tab"]))],onCompositionstart:t[12]||(t[12]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onCompositionupdate:t[13]||(t[13]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onCompositionend:t[14]||(t[14]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onInput:t[15]||(t[15]=(...h)=>e.debouncedQueryChange&&e.debouncedQueryChange(...h))},null,46,aj)),[[Ou,e.query]]):G("v-if",!0)],6)):G("v-if",!0),U(c,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[16]||(t[16]=h=>e.selectedLabel=h),type:"text",placeholder:e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:S([e.nsSelect.is("focus",e.visible)]),tabindex:e.multiple&&e.filterable?-1:void 0,onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onCompositionstart:e.handleComposition,onCompositionupdate:e.handleComposition,onCompositionend:e.handleComposition,onKeydown:[t[17]||(t[17]=st(He(h=>e.navigateOptions("next"),["stop","prevent"]),["down"])),t[18]||(t[18]=st(He(h=>e.navigateOptions("prev"),["stop","prevent"]),["up"])),st(He(e.selectOption,["stop","prevent"]),["enter"]),t[19]||(t[19]=st(He(h=>e.visible=!1,["stop","prevent"]),["esc"])),t[20]||(t[20]=st(h=>e.visible=!1,["tab"]))],onMouseenter:t[21]||(t[21]=h=>e.inputHovering=!0),onMouseleave:t[22]||(t[22]=h=>e.inputHovering=!1)},dr({suffix:K(()=>[e.iconComponent?Ue((w(),Q(s,{key:0,class:S([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])),[[ft,!e.showClose]]):G("v-if",!0),e.showClose&&e.clearIcon?(w(),Q(s,{key:1,class:S([e.nsSelect.e("caret"),e.nsSelect.e("icon")]),onClick:e.handleClearClick},{default:K(()=>[(w(),Q(pt(e.clearIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0)]),_:2},[e.$slots.prefix?{name:"prefix",fn:K(()=>[M("div",ij,[ue(e.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])])]),content:K(()=>[U(p,null,{default:K(()=>[Ue(U(u,{ref:"scrollbar",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:S([e.nsSelect.is("empty",!e.allowCreate&&Boolean(e.query)&&e.filteredOptionsCount===0)])},{default:K(()=>[e.showNewOption?(w(),Q(d,{key:0,value:e.query,created:!0},null,8,["value"])):G("v-if",!0),ue(e.$slots,"default")]),_:3},8,["wrap-class","view-class","class"]),[[ft,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&e.options.size===0)?(w(),I(Fe,{key:0},[e.$slots.empty?ue(e.$slots,"empty",{key:0}):(w(),I("p",{key:1,class:S(e.nsSelect.be("dropdown","empty"))},ve(e.emptyText),3))],2112)):G("v-if",!0)]),_:3})]),_:3},8,["visible","teleported","popper-class","effect","transition","persistent","onShow"])],2)),[[f,e.handleClose,e.popperPaneRef]])}var sj=_e(oj,[["render",lj],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const cj=ee({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},setup(e){const t=ke("select"),n=A(!0),o=nt(),r=A([]);ot(__,vt(he({},Gt(e))));const a=Ie(bc);et(()=>{r.value=i(o.subTree)});const i=s=>{const c=[];return Array.isArray(s.children)&&s.children.forEach(d=>{var u;d.type&&d.type.name==="ElOption"&&d.component&&d.component.proxy?c.push(d.component.proxy):(u=d.children)!=null&&u.length&&c.push(...i(d))}),c},{groupQueryChange:l}=kt(a);return ge(l,()=>{n.value=r.value.some(s=>s.visible===!0)}),{visible:n,ns:t}}});function dj(e,t,n,o,r,a){return Ue((w(),I("ul",{class:S(e.ns.be("group","wrap"))},[M("li",{class:S(e.ns.be("group","title"))},ve(e.label),3),M("li",null,[M("ul",{class:S(e.ns.b("group"))},[ue(e.$slots,"default")],2)])],2)),[[ft,e.visible]])}var w_=_e(cj,[["render",dj],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const qr=rt(sj,{Option:Dp,OptionGroup:w_}),zs=Dt(Dp),uj=Dt(w_),Lp=()=>Ie(py,{}),pj=Le({pageSize:{type:Number,required:!0},pageSizes:{type:Te(Array),default:()=>Ft([10,20,30,40,50,100])},popperClass:{type:String,default:""},disabled:Boolean,size:{type:String,default:"default"}}),fj=ee({name:"ElPaginationSizes",components:{ElSelect:qr,ElOption:zs},props:pj,emits:["page-size-change"],setup(e,{emit:t}){const{t:n}=Tt(),o=ke("pagination"),r=Lp(),a=A(e.pageSize);ge(()=>e.pageSizes,(s,c)=>{if(!En(s,c)&&Array.isArray(s)){const d=s.includes(e.pageSize)?e.pageSize:e.pageSizes[0];t("page-size-change",d)}}),ge(()=>e.pageSize,s=>{a.value=s});const i=C(()=>e.pageSizes);function l(s){var c;s!==a.value&&(a.value=s,(c=r.handleSizeChange)==null||c.call(r,Number(s)))}return{ns:o,innerPagesizes:i,innerPageSize:a,t:n,handleChange:l}}});function hj(e,t,n,o,r,a){const i=le("el-option"),l=le("el-select");return w(),I("span",{class:S(e.ns.e("sizes"))},[U(l,{"model-value":e.innerPageSize,disabled:e.disabled,"popper-class":e.popperClass,size:e.size,onChange:e.handleChange},{default:K(()=>[(w(!0),I(Fe,null,ct(e.innerPagesizes,s=>(w(),Q(i,{key:s,value:s,label:s+e.t("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","onChange"])],2)}var mj=_e(fj,[["render",hj],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const gj=ee({name:"ElPaginationJumper",components:{ElInput:Gn},setup(){const{t:e}=Tt(),t=ke("pagination"),{pageCount:n,disabled:o,currentPage:r,changeEvent:a}=Lp(),i=A(),l=C(()=>{var d;return(d=i.value)!=null?d:r==null?void 0:r.value});function s(d){i.value=+d}function c(d){d=Math.trunc(+d),a==null||a(+d),i.value=void 0}return{ns:t,pageCount:n,disabled:o,innerValue:l,t:e,handleInput:s,handleChange:c}}}),bj=["disabled"];function vj(e,t,n,o,r,a){const i=le("el-input");return w(),I("span",{class:S(e.ns.e("jump")),disabled:e.disabled},[it(ve(e.t("el.pagination.goto"))+" ",1),U(i,{size:"small",class:S([e.ns.e("editor"),e.ns.is("in-pagination")]),min:1,max:e.pageCount,disabled:e.disabled,"model-value":e.innerValue,type:"number","onUpdate:modelValue":e.handleInput,onChange:e.handleChange},null,8,["class","max","disabled","model-value","onUpdate:modelValue","onChange"]),it(" "+ve(e.t("el.pagination.pageClassifier")),1)],10,bj)}var yj=_e(gj,[["render",vj],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const _j={total:{type:Number,default:1e3}},wj=ee({name:"ElPaginationTotal",props:_j,setup(){const{t:e}=Tt(),t=ke("pagination"),{disabled:n}=Lp();return{t:e,ns:t,disabled:n}}}),xj=["disabled"];function kj(e,t,n,o,r,a){return w(),I("span",{class:S(e.ns.e("total")),disabled:e.disabled},ve(e.t("el.pagination.total",{total:e.total})),11,xj)}var Tj=_e(wj,[["render",kj],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const Cj={currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean},Sj=ee({name:"ElPaginationPager",components:{DArrowLeft:rc,DArrowRight:ac,MoreFilled:JE},props:Cj,emits:["change"],setup(e,{emit:t}){const n=ke("pager"),o=ke("icon"),r=A(!1),a=A(!1),i=A(!1),l=A(!1),s=C(()=>{const p=e.pagerCount,f=(p-1)/2,h=Number(e.currentPage),b=Number(e.pageCount);let m=!1,g=!1;b>p&&(h>p-f&&(m=!0),h{const p=(e.pagerCount-1)/2;r.value=!1,a.value=!1,e.pageCount>e.pagerCount&&(e.currentPage>e.pagerCount-p&&(r.value=!0),e.currentPageb&&(h=b)),h!==m&&t("change",h)}return{showPrevMore:r,showNextMore:a,quickPrevHover:i,quickNextHover:l,pagers:s,nsPager:n,nsIcon:o,onMouseenter:c,onPagerClick:u,onEnter:d}}}),$j=["aria-current"],Aj=["aria-current"],Ej=["aria-current"];function zj(e,t,n,o,r,a){const i=le("d-arrow-left"),l=le("more-filled"),s=le("d-arrow-right");return w(),I("ul",{class:S(e.nsPager.b()),onClick:t[4]||(t[4]=(...c)=>e.onPagerClick&&e.onPagerClick(...c)),onKeyup:t[5]||(t[5]=st((...c)=>e.onEnter&&e.onEnter(...c),["enter"]))},[e.pageCount>0?(w(),I("li",{key:0,class:S([[e.nsPager.is("active",e.currentPage===1),e.nsPager.is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===1,tabindex:"0"}," 1 ",10,$j)):G("v-if",!0),e.showPrevMore?(w(),I("li",{key:1,class:S(["more","btn-quickprev",e.nsIcon.b(),e.nsPager.is("disabled",e.disabled)]),onMouseenter:t[0]||(t[0]=c=>e.onMouseenter("left")),onMouseleave:t[1]||(t[1]=c=>e.quickPrevHover=!1)},[e.quickPrevHover?(w(),Q(i,{key:0})):(w(),Q(l,{key:1}))],34)):G("v-if",!0),(w(!0),I(Fe,null,ct(e.pagers,c=>(w(),I("li",{key:c,class:S([[e.nsPager.is("active",e.currentPage===c),e.nsPager.is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===c,tabindex:"0"},ve(c),11,Aj))),128)),e.showNextMore?(w(),I("li",{key:2,class:S(["more","btn-quicknext",e.nsIcon.b(),e.nsPager.is("disabled",e.disabled)]),onMouseenter:t[2]||(t[2]=c=>e.onMouseenter("right")),onMouseleave:t[3]||(t[3]=c=>e.quickNextHover=!1)},[e.quickNextHover?(w(),Q(s,{key:0})):(w(),Q(l,{key:1}))],34)):G("v-if",!0),e.pageCount>1?(w(),I("li",{key:3,class:S([[e.nsPager.is("active",e.currentPage===e.pageCount),e.nsPager.is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===e.pageCount,tabindex:"0"},ve(e.pageCount),11,Ej)):G("v-if",!0)],34)}var Ij=_e(Sj,[["render",zj],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const sn=e=>typeof e!="number",Nj=Le({total:Number,pageSize:Number,defaultPageSize:Number,currentPage:Number,defaultCurrentPage:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>typeof e=="number"&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:Te(Array),default:()=>Ft([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},nextText:{type:String,default:""},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),Mj={"update:current-page":e=>typeof e=="number","update:page-size":e=>typeof e=="number","size-change":e=>typeof e=="number","current-change":e=>typeof e=="number","prev-click":e=>typeof e=="number","next-click":e=>typeof e=="number"},ig="ElPagination";var Rj=ee({name:ig,props:Nj,emits:Mj,setup(e,{emit:t,slots:n}){const{t:o}=Tt(),r=ke("pagination"),a=nt().vnode.props||{},i="onUpdate:currentPage"in a||"onUpdate:current-page"in a||"onCurrentChange"in a,l="onUpdate:pageSize"in a||"onUpdate:page-size"in a||"onSizeChange"in a,s=C(()=>{if(sn(e.total)&&sn(e.pageCount)||!sn(e.currentPage)&&!i)return!1;if(e.layout.includes("sizes")){if(sn(e.pageCount)){if(!sn(e.total)&&!sn(e.pageSize)&&!l)return!1}else if(!l)return!1}return!0}),c=A(sn(e.defaultPageSize)?10:e.defaultPageSize),d=A(sn(e.defaultCurrentPage)?1:e.defaultCurrentPage),u=C({get(){return sn(e.pageSize)?c.value:e.pageSize},set(y){sn(e.pageSize)&&(c.value=y),l&&(t("update:page-size",y),t("size-change",y))}}),p=C(()=>{let y=0;return sn(e.pageCount)?sn(e.total)||(y=Math.max(1,Math.ceil(e.total/u.value))):y=e.pageCount,y}),f=C({get(){return sn(e.currentPage)?d.value:e.currentPage},set(y){let T=y;y<1?T=1:y>p.value&&(T=p.value),sn(e.currentPage)&&(d.value=T),i&&(t("update:current-page",T),t("current-change",T))}});ge(p,y=>{f.value>y&&(f.value=y)});function h(y){f.value=y}function b(y){u.value=y;const T=p.value;f.value>T&&(f.value=T)}function m(){e.disabled||(f.value-=1,t("prev-click",f.value))}function g(){e.disabled||(f.value+=1,t("next-click",f.value))}function v(y,T){y&&(y.props||(y.props={}),y.props.class=[y.props.class,T].join(" "))}return ot(py,{pageCount:p,disabled:C(()=>e.disabled),currentPage:f,changeEvent:h,handleSizeChange:b}),()=>{var y,T;if(!s.value)return o("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&p.value<=1)return null;const x=[],k=[],$=Re("div",{class:r.e("rightwrapper")},k),z={prev:Re(jB,{disabled:e.disabled,currentPage:f.value,prevText:e.prevText,onClick:m}),jumper:Re(yj),pager:Re(Ij,{currentPage:f.value,pageCount:p.value,pagerCount:e.pagerCount,onChange:h,disabled:e.disabled}),next:Re(YB,{disabled:e.disabled,currentPage:f.value,pageCount:p.value,nextText:e.nextText,onClick:g}),sizes:Re(mj,{pageSize:u.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,size:e.small?"small":"default"}),slot:(T=(y=n==null?void 0:n.default)==null?void 0:y.call(n))!=null?T:null,total:Re(Tj,{total:sn(e.total)?0:e.total})},P=e.layout.split(",").map(D=>D.trim());let O=!1;return P.forEach(D=>{if(D==="->"){O=!0;return}O?k.push(z[D]):x.push(z[D])}),v(x[0],r.is("first")),v(x[x.length-1],r.is("last")),O&&k.length>0&&(v(k[0],r.is("first")),v(k[k.length-1],r.is("last")),x.push($)),Re("div",{role:"pagination","aria-label":"pagination",class:[r.b(),r.is("background",e.background),{[r.m("small")]:e.small}]},x)}}});const Pj=rt(Rj),Oj=Le({title:{type:String},confirmButtonText:{type:String},cancelButtonText:{type:String},confirmButtonType:{type:String,values:Od,default:"primary"},cancelButtonType:{type:String,values:Od,default:"text"},icon:{type:an,default:w5},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},onConfirm:{type:Te(Function)},onCancel:{type:Te(Function)},teleported:tn.teleported,persistent:tn.persistent}),lg="ElPopconfirm",Fj=ee({name:lg,components:{ElButton:Vn,ElTooltip:vn,ElIcon:qe},props:Oj,setup(e){const{compatTeleported:t}=Wa(lg,"appendToBody"),{t:n}=Tt(),o=ke("popconfirm"),r=A(),a=()=>{var u,p;(p=(u=_(r))==null?void 0:u.onClose)==null||p.call(u)},i=()=>{a()},l=u=>{var p;(p=e.onConfirm)==null||p.call(e,u),i()},s=u=>{var p;(p=e.onCancel)==null||p.call(e,u),i()},c=C(()=>e.confirmButtonText||n("el.popconfirm.confirmButtonText")),d=C(()=>e.cancelButtonText||n("el.popconfirm.cancelButtonText"));return{finalConfirmButtonText:c,finalCancelButtonText:d,tooltipRef:r,ns:o,compatTeleported:t,confirm:l,cancel:s}}});function Dj(e,t,n,o,r,a){const i=le("el-icon"),l=le("el-button"),s=le("el-tooltip");return w(),Q(s,St({ref:"tooltipRef"},e.$attrs,{trigger:"click",effect:"light","popper-class":`${e.ns.namespace.value}-popover`,teleported:e.compatTeleported,"fallback-placements":["bottom","top","right","left"],"hide-after":e.hideAfter,persistent:e.persistent}),{content:K(()=>[M("div",{class:S(e.ns.b())},[M("div",{class:S(e.ns.e("main"))},[!e.hideIcon&&e.icon?(w(),Q(i,{key:0,class:S(e.ns.e("icon")),style:Oe({color:e.iconColor})},{default:K(()=>[(w(),Q(pt(e.icon)))]),_:1},8,["class","style"])):G("v-if",!0),it(" "+ve(e.title),1)],2),M("div",{class:S(e.ns.e("action"))},[U(l,{size:"small",type:e.cancelButtonType,onClick:e.cancel},{default:K(()=>[it(ve(e.finalCancelButtonText),1)]),_:1},8,["type","onClick"]),U(l,{size:"small",type:e.confirmButtonType,onClick:e.confirm},{default:K(()=>[it(ve(e.finalConfirmButtonText),1)]),_:1},8,["type","onClick"])],2)],2)]),default:K(()=>[e.$slots.reference?ue(e.$slots,"reference",{key:0}):G("v-if",!0)]),_:3},16,["popper-class","teleported","hide-after","persistent"])}var Lj=_e(Fj,[["render",Dj],["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const Vj=rt(Lj),Bj=Le({trigger:Ki.trigger,placement:Ql.placement,disabled:Ki.disabled,visible:tn.visible,transition:tn.transition,popperOptions:Ql.popperOptions,tabindex:Ql.tabindex,appendToBody:{type:Boolean,default:void 0},content:tn.content,popperStyle:tn.popperStyle,popperClass:tn.popperClass,enterable:ze(he({},tn.enterable),{default:!0}),effect:ze(he({},tn.effect),{default:"light"}),teleported:tn.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0}}),jj=["update:visible","before-enter","before-leave","after-enter","after-leave"],sg="ElPopover",Hj=ee({name:sg,components:{ElTooltip:vn},props:Bj,emits:jj,setup(e,{emit:t}){const n=ke("popover"),o=A(null),r=C(()=>{var b;return(b=_(o))==null?void 0:b.popperRef}),a=C(()=>Qe(e.width)?e.width:`${e.width}px`),i=C(()=>[{width:a.value},e.popperStyle]),l=C(()=>[n.b(),e.popperClass,{[n.m("plain")]:!!e.content}]),s=C(()=>e.transition==="el-fade-in-linear"),{compatTeleported:c}=Wa(sg,"appendToBody");return{compatTeleported:c,ns:n,kls:l,gpuAcceleration:s,style:i,tooltipRef:o,popperRef:r,hide:()=>{var b;(b=o.value)==null||b.hide()},beforeEnter:()=>{t("before-enter")},beforeLeave:()=>{t("before-leave")},afterEnter:()=>{t("after-enter")},afterLeave:()=>{t("update:visible",!1),t("after-leave")}}}});function qj(e,t,n,o,r,a){const i=le("el-tooltip");return w(),Q(i,St({ref:"tooltipRef"},e.$attrs,{trigger:e.trigger,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,"append-to-body":e.appendToBody,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":e.kls,"popper-style":e.style,teleported:e.compatTeleported,persistent:e.persistent,"gpu-acceleration":e.gpuAcceleration,onBeforeShow:e.beforeEnter,onBeforeHide:e.beforeLeave,onShow:e.afterEnter,onHide:e.afterLeave}),{content:K(()=>[e.title?(w(),I("div",{key:0,class:S(e.ns.e("title")),role:"title"},ve(e.title),3)):G("v-if",!0),ue(e.$slots,"default",{},()=>[it(ve(e.content),1)])]),default:K(()=>[e.$slots.reference?ue(e.$slots,"reference",{key:0}):G("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","append-to-body","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onBeforeShow","onBeforeHide","onShow","onHide"])}var ki=_e(Hj,[["render",qj],["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/index.vue"]]);const cg=(e,t)=>{const n=t.arg||t.value,o=n==null?void 0:n.popperRef;o&&(o.triggerRef=e)};var nu={mounted(e,t){cg(e,t)},updated(e,t){cg(e,t)}};const Kj="popover";ki.install=e=>{e.component(ki.name,ki)};nu.install=e=>{e.directive(Kj,nu)};const x_=nu;ki.directive=x_;const Wj=ki,Uj=Wj,Yj=x_,Gj=Le({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:Te(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:Te([String,Array,Function]),default:""},format:{type:Te(Function),default:e=>`${e}%`}}),Xj=ee({name:"ElProgress",components:{ElIcon:qe,CircleCheck:Ss,CircleClose:Oo,Check:Ca,Close:Hn,WarningFilled:ji},props:Gj,setup(e){const t=ke("progress"),n=C(()=>({width:`${e.percentage}%`,animationDuration:`${e.duration}s`,backgroundColor:b(e.percentage)})),o=C(()=>(e.strokeWidth/e.width*100).toFixed(1)),r=C(()=>e.type==="circle"||e.type==="dashboard"?Number.parseInt(`${50-Number.parseFloat(o.value)/2}`,10):0),a=C(()=>{const g=r.value,v=e.type==="dashboard";return` + `}else i||(i=window.setTimeout(b,l.config.hoverThreshold))},h=()=>{!i||(clearTimeout(i),i=null)},b=()=>{!s.value||(s.value.innerHTML="",h())};return{ns:n,panel:l,hoverZone:s,isEmpty:c,isLoading:d,menuId:u,t:o,handleExpand:p,handleMouseMove:f,clearHoverZone:b}}});function QP(e,t,n,o,r,a){const i=le("el-cascader-node"),l=le("loading"),s=le("el-icon"),c=le("el-scrollbar");return w(),Q(c,{key:e.menuId,tag:"ul",role:"menu",class:S(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:K(()=>{var d;return[(w(!0),I(Fe,null,st(e.nodes,u=>(w(),Q(i,{key:u.uid,node:u,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(w(),I("div",{key:0,class:S(e.ns.e("empty-text"))},[U(s,{size:"14",class:S(e.ns.is("loading"))},{default:K(()=>[U(l)]),_:1},8,["class"]),ct(" "+ve(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(w(),I("div",{key:1,class:S(e.ns.e("empty-text"))},ve(e.t("el.cascader.noData")),3)):(d=e.panel)!=null&&d.isHoverMenu?(w(),I("svg",{key:2,ref:"hoverZone",class:S(e.ns.e("hover-zone"))},null,2)):G("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var eO=_e(JP,[["render",QP],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]),Ap=(e=>(e.CLICK="click",e.HOVER="hover",e))(Ap||{});let tO=0;const nO=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};class Na{constructor(t,n,o,r=!1){this.data=t,this.config=n,this.parent=o,this.root=r,this.uid=tO++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:a,label:i,children:l}=n,s=t[l],c=nO(this);this.level=r?0:o?o.level+1:1,this.value=t[a],this.label=t[i],this.pathNodes=c,this.pathValues=c.map(d=>d.value),this.pathLabels=c.map(d=>d.label),this.childrenData=s,this.children=(s||[]).map(d=>new Na(d,n,this)),this.loaded=!n.lazy||this.isLeaf||!Bi(s)}get isDisabled(){const{data:t,parent:n,config:o}=this,{disabled:r,checkStrictly:a}=o;return(Je(r)?r(t,this):!!t[r])||!a&&(n==null?void 0:n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:o,loaded:r}=this,{lazy:a,leaf:i}=n,l=Je(i)?i(t,this):t[i];return Cn(l)?a&&!r?!1:!(Array.isArray(o)&&o.length):!!l}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:o}=this,r=new Na(t,this.config,this);return Array.isArray(n)?n.push(t):this.childrenData=[t],o.push(r),r}calcText(t,n){const o=t?this.pathLabels.join(n):this.label;return this.text=o,o}broadcast(t,...n){const o=`onParent${kn(t)}`;this.children.forEach(r=>{r&&(r.broadcast(t,...n),r[o]&&r[o](...n))})}emit(t,...n){const{parent:o}=this,r=`onChild${kn(t)}`;o&&(o[r]&&o[r](...n),o.emit(t,...n))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(r=>!r.isDisabled),o=n.length?n.every(r=>r.checked):!1;this.setCheckState(o)}setCheckState(t){const n=this.children.length,o=this.children.reduce((r,a)=>{const i=a.checked?1:a.indeterminate?.5:0;return r+i},0);this.checked=this.loaded&&this.children.every(r=>r.loaded&&r.checked)&&t,this.indeterminate=this.loaded&&o!==n&&o>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:o}=this.config;n||!o?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}}const Yd=(e,t)=>e.reduce((n,o)=>(o.isLeaf?n.push(o):(!t&&n.push(o),n=n.concat(Yd(o.children,t))),n),[]);class Om{constructor(t,n){this.config=n;const o=(t||[]).map(r=>new Na(r,this.config));this.nodes=o,this.allNodes=Yd(o,!1),this.leafNodes=Yd(o,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const o=n?n.appendChild(t):new Na(t,this.config);n||this.nodes.push(o),this.allNodes.push(o),o.isLeaf&&this.leafNodes.push(o)}appendNodes(t,n){t.forEach(o=>this.appendNode(o,n))}getNodeByValue(t,n=!1){return!t&&t!==0?null:this.getFlattedNodes(n).find(r=>En(r.value,t)||En(r.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:o,level:r})=>En(t.value,o)&&t.level===r)||null}}const R0={modelValue:[Number,String,Array],options:{type:Array,default:()=>[]},props:{type:Object,default:()=>({})}},oO={expandTrigger:Ap.CLICK,multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:wt,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},rO=e=>C(()=>he(he({},oO),e.props)),Fm=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},aO=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():jv(e)&&e.click()},iO=(e,t)=>{const n=t.slice(0),o=n.map(a=>a.uid),r=e.reduce((a,i)=>{const l=o.indexOf(i.uid);return l>-1&&(a.push(i),n.splice(l,1),o.splice(l,1)),a},[]);return r.push(...n),r},lO=ee({name:"ElCascaderPanel",components:{ElCascaderMenu:eO},props:ze(he({},R0),{border:{type:Boolean,default:!0},renderLabel:Function}),emits:[tt,Xt,"close","expand-change"],setup(e,{emit:t,slots:n}){let o=!1;const r=ke("cascader"),a=rO(e);let i=null;const l=A(!0),s=A([]),c=A(null),d=A([]),u=A(null),p=A([]),f=C(()=>a.value.expandTrigger===Ap.HOVER),h=C(()=>e.renderLabel||n.default),b=()=>{const{options:L}=e,F=a.value;o=!1,i=new Om(L,F),d.value=[i.getNodes()],F.lazy&&Bi(e.options)?(l.value=!1,m(void 0,V=>{V&&(i=new Om(V,F),d.value=[i.getNodes()]),l.value=!0,z(!1,!0)})):z(!1,!0)},m=(L,F)=>{const V=a.value;L=L||new Na({},V,void 0,!0),L.loading=!0;const q=M=>{const E=L,N=E.root?null:E;M&&(i==null||i.appendNodes(M,N)),E.loading=!1,E.loaded=!0,E.childrenData=E.childrenData||[],F&&F(M)};V.lazyLoad(L,q)},g=(L,F)=>{var V;const{level:q}=L,M=d.value.slice(0,q);let E;L.isLeaf?E=L.pathNodes[q-2]:(E=L,M.push(L.children)),((V=u.value)==null?void 0:V.uid)!==(E==null?void 0:E.uid)&&(u.value=L,d.value=M,!F&&t("expand-change",(L==null?void 0:L.pathValues)||[]))},v=(L,F,V=!0)=>{const{checkStrictly:q,multiple:M}=a.value,E=p.value[0];o=!0,!M&&(E==null||E.doCheck(!1)),L.doCheck(F),$(),V&&!M&&!q&&t("close"),!V&&!M&&!q&&y(L)},y=L=>{!L||(L=L.parent,y(L),L&&g(L))},T=L=>i==null?void 0:i.getFlattedNodes(L),x=L=>{var F;return(F=T(L))==null?void 0:F.filter(V=>V.checked!==!1)},k=()=>{p.value.forEach(L=>L.doCheck(!1)),$()},$=()=>{var L;const{checkStrictly:F,multiple:V}=a.value,q=p.value,M=x(!F),E=iO(q,M),N=E.map(W=>W.valueByOption);p.value=E,c.value=V?N:(L=N[0])!=null?L:null},z=(L=!1,F=!1)=>{const{modelValue:V}=e,{lazy:q,multiple:M,checkStrictly:E}=a.value,N=!E;if(!(!l.value||o||!F&&En(V,c.value)))if(q&&!L){const Y=Zh(T4(Or(V))).map(J=>i==null?void 0:i.getNodeByValue(J)).filter(J=>!!J&&!J.loaded&&!J.loading);Y.length?Y.forEach(J=>{m(J,()=>z(!1,F))}):z(!0,F)}else{const W=M?Or(V):[V],Y=Zh(W.map(J=>i==null?void 0:i.getNodeByValue(J,N)));P(Y,!1),c.value=V}},P=(L,F=!0)=>{const{checkStrictly:V}=a.value,q=p.value,M=L.filter(W=>!!W&&(V||W.isLeaf)),E=i==null?void 0:i.getSameNode(u.value),N=F&&E||M[0];N?N.pathNodes.forEach(W=>g(W,!0)):u.value=null,q.forEach(W=>W.doCheck(!1)),M.forEach(W=>W.doCheck(!0)),p.value=M,je(O)},O=()=>{!dt||s.value.forEach(L=>{const F=L==null?void 0:L.$el;if(F){const V=F.querySelector(`.${r.namespace.value}-scrollbar__wrap`),q=F.querySelector(`.${r.b("node")}.${r.is("active")}`)||F.querySelector(`.${r.b("node")}.in-active-path`);Uv(V,q)}})},D=L=>{const F=L.target,{code:V}=L;switch(V){case Pe.up:case Pe.down:{L.preventDefault();const q=V===Pe.up?-1:1;Vl(Hv(F,q,`.${r.b("node")}[tabindex="-1"]`));break}case Pe.left:{L.preventDefault();const q=s.value[Fm(F)-1],M=q==null?void 0:q.$el.querySelector(`.${r.b("node")}[aria-expanded="true"]`);Vl(M);break}case Pe.right:{L.preventDefault();const q=s.value[Fm(F)+1],M=q==null?void 0:q.$el.querySelector(`.${r.b("node")}[tabindex="-1"]`);Vl(M);break}case Pe.enter:aO(F);break;case Pe.esc:case Pe.tab:t("close");break}};return ot($p,vt({config:a,expandingNode:u,checkedNodes:p,isHoverMenu:f,initialLoaded:l,renderLabelFn:h,lazyLoad:m,expandNode:g,handleCheckChange:v})),ge([a,()=>e.options],b,{deep:!0,immediate:!0}),ge(()=>e.modelValue,()=>{o=!1,z()}),ge(c,L=>{En(L,e.modelValue)||(t(tt,L),t(Xt,L))}),gb(()=>s.value=[]),et(()=>!Bi(e.modelValue)&&z()),{ns:r,menuList:s,menus:d,checkedNodes:p,handleKeyDown:D,handleCheckChange:v,getFlattedNodes:T,getCheckedNodes:x,clearCheckedNodes:k,calculateCheckedValue:$,scrollToExpandingNode:O}}});function sO(e,t,n,o,r,a){const i=le("el-cascader-menu");return w(),I("div",{class:S([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:t[0]||(t[0]=(...l)=>e.handleKeyDown&&e.handleKeyDown(...l))},[(w(!0),I(Fe,null,st(e.menus,(l,s)=>(w(),Q(i,{key:s,ref_for:!0,ref:c=>e.menuList[s]=c,index:s,nodes:[...l]},null,8,["index","nodes"]))),128))],34)}var Ul=_e(lO,[["render",sO],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);Ul.install=e=>{e.component(Ul.name,Ul)};const P0=Ul,cO=P0,Ep=Le({closable:Boolean,type:{type:String,values:["success","info","warning","danger",""],default:""},hit:Boolean,disableTransitions:Boolean,color:{type:String,default:""},size:{type:String,values:wo,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),dO={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},uO={name:"ElTag"},pO=ee(ze(he({},uO),{props:Ep,emits:dO,setup(e,{emit:t}){const n=e,o=Ut(),r=ke("tag"),a=C(()=>{const{type:s,hit:c,effect:d,closable:u,round:p}=n;return[r.b(),r.is("closable",u),r.m(s),r.m(o.value),r.m(d),r.is("hit",c),r.is("round",p)]}),i=s=>{s.stopPropagation(),t("close",s)},l=s=>{t("click",s)};return(s,c)=>s.disableTransitions?(w(),Q(qt,{key:1,name:`${_(r).namespace.value}-zoom-in-center`},{default:K(()=>[R("span",{class:S(_(a)),style:Oe({backgroundColor:s.color}),onClick:l},[R("span",{class:S(_(r).e("content"))},[ue(s.$slots,"default")],2),s.closable?(w(),Q(_(qe),{key:0,class:S(_(r).e("close")),onClick:i},{default:K(()=>[U(_(Hn))]),_:1},8,["class"])):G("v-if",!0)],6)]),_:3},8,["name"])):(w(),I("span",{key:0,class:S(_(a)),style:Oe({backgroundColor:s.color}),onClick:l},[R("span",{class:S(_(r).e("content"))},[ue(s.$slots,"default")],2),s.closable?(w(),Q(_(qe),{key:0,class:S(_(r).e("close")),onClick:i},{default:K(()=>[U(_(Hn))]),_:1},8,["class"])):G("v-if",!0)],6))}}));var fO=_e(pO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const hc=rt(fO),hO=40,mO={large:36,default:32,small:28},gO={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:e})=>{const{modifiersData:t,placement:n}=e;["right","left","bottom","top"].includes(n)||(t.arrow.x=35)},requires:["arrow"]}]},Dm="ElCascader",bO=ee({name:Dm,components:{ElCascaderPanel:P0,ElInput:Gn,ElTooltip:vn,ElScrollbar:qo,ElTag:hc,ElIcon:qe,CircleClose:Oo,Check:Ca,ArrowDown:Gr},directives:{Clickoutside:Jr},props:ze(he({},R0),{size:{type:String,validator:Nn},placeholder:{type:String},disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:Function,default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:Function,default:()=>!0},popperClass:{type:String,default:""},popperAppendToBody:{type:Boolean,default:void 0},teleported:tn.teleported,tagType:ze(he({},Ep.type),{default:"info"})}),emits:[tt,Xt,"focus","blur","visible-change","expand-change","remove-tag"],setup(e,{emit:t}){let n=0,o=0;const{compatTeleported:r}=Wa(Dm,"popperAppendToBody"),a=ke("cascader"),i=ke("input"),{t:l}=Tt(),s=Ie(Mn,{}),c=Ie(qn,{}),d=A(null),u=A(null),p=A(null),f=A(null),h=A(null),b=A(!1),m=A(!1),g=A(!1),v=A(""),y=A(""),T=A([]),x=A([]),k=A([]),$=A(!1),z=C(()=>e.disabled||s.disabled),P=C(()=>e.placeholder||l("el.cascader.placeholder")),O=Ut(),D=C(()=>["small"].includes(O.value)?"small":"default"),L=C(()=>!!e.props.multiple),F=C(()=>!e.filterable||L.value),V=C(()=>L.value?y.value:v.value),q=C(()=>{var ce;return((ce=f.value)==null?void 0:ce.checkedNodes)||[]}),M=C(()=>!e.clearable||z.value||g.value||!m.value?!1:!!q.value.length),E=C(()=>{const{showAllLevels:ce,separator:ae}=e,te=q.value;return te.length?L.value?" ":te[0].calcText(ce,ae):""}),N=C({get(){return e.modelValue},set(ce){var ae;t(tt,ce),t(Xt,ce),(ae=c.validate)==null||ae.call(c,"change").catch(te=>void 0)}}),W=C(()=>{var ce,ae;return(ae=(ce=d.value)==null?void 0:ce.popperRef)==null?void 0:ae.contentRef}),Y=ce=>{var ae,te,pe;if(!z.value&&(ce=ce!=null?ce:!b.value,ce!==b.value)){if(b.value=ce,(te=(ae=u.value)==null?void 0:ae.input)==null||te.setAttribute("aria-expanded",`${ce}`),ce)J(),je((pe=f.value)==null?void 0:pe.scrollToExpandingNode);else if(e.filterable){const{value:De}=E;v.value=De,y.value=De}t("visible-change",ce)}},J=()=>{je(()=>{var ce;(ce=d.value)==null||ce.updatePopper()})},Z=()=>{g.value=!1},se=ce=>{const{showAllLevels:ae,separator:te}=e;return{node:ce,key:ce.uid,text:ce.calcText(ae,te),hitState:!1,closable:!z.value&&!ce.isDisabled,isCollapseTag:!1}},Se=ce=>{var ae;const te=ce.node;te.doCheck(!1),(ae=f.value)==null||ae.calculateCheckedValue(),t("remove-tag",te.valueByOption)},oe=()=>{if(!L.value)return;const ce=q.value,ae=[],te=[];if(ce.forEach(pe=>te.push(se(pe))),x.value=te,ce.length){const[pe,...De]=ce,B=De.length;ae.push(se(pe)),B&&(e.collapseTags?ae.push({key:-1,text:`+ ${B}`,closable:!1,isCollapseTag:!0}):De.forEach(me=>ae.push(se(me))))}T.value=ae},H=()=>{var ce,ae;const{filterMethod:te,showAllLevels:pe,separator:De}=e,B=(ae=(ce=f.value)==null?void 0:ce.getFlattedNodes(!e.props.checkStrictly))==null?void 0:ae.filter(me=>me.isDisabled?!1:(me.calcText(pe,De),te(me,V.value)));L.value&&(T.value.forEach(me=>{me.hitState=!1}),x.value.forEach(me=>{me.hitState=!1})),g.value=!0,k.value=B,J()},ne=()=>{var ce;let ae;g.value&&h.value?ae=h.value.$el.querySelector(`.${a.e("suggestion-item")}`):ae=(ce=f.value)==null?void 0:ce.$el.querySelector(`.${a.b("node")}[tabindex="-1"]`),ae&&(ae.focus(),!g.value&&ae.click())},ie=()=>{var ce,ae;const te=(ce=u.value)==null?void 0:ce.input,pe=p.value,De=(ae=h.value)==null?void 0:ae.$el;if(!(!dt||!te)){if(De){const B=De.querySelector(`.${a.e("suggestion-list")}`);B.style.minWidth=`${te.offsetWidth}px`}if(pe){const{offsetHeight:B}=pe,me=T.value.length>0?`${Math.max(B+6,n)}px`:`${n}px`;te.style.height=me,J()}}},be=ce=>{var ae;return(ae=f.value)==null?void 0:ae.getCheckedNodes(ce)},$e=ce=>{J(),t("expand-change",ce)},Ne=ce=>{var ae;const te=(ae=ce.target)==null?void 0:ae.value;if(ce.type==="compositionend")$.value=!1,je(()=>Ae(te));else{const pe=te[te.length-1]||"";$.value=!ic(pe)}},Me=ce=>{if(!$.value)switch(ce.code){case Pe.enter:Y();break;case Pe.down:Y(!0),je(ne),ce.preventDefault();break;case Pe.esc:case Pe.tab:Y(!1);break}},j=()=>{var ce;(ce=f.value)==null||ce.clearCheckedNodes(),Y(!1)},X=ce=>{var ae,te;const{checked:pe}=ce;L.value?(ae=f.value)==null||ae.handleCheckChange(ce,!pe,!1):(!pe&&((te=f.value)==null||te.handleCheckChange(ce,!0,!1)),Y(!1))},de=ce=>{const ae=ce.target,{code:te}=ce;switch(te){case Pe.up:case Pe.down:{const pe=te===Pe.up?-1:1;Vl(Hv(ae,pe,`.${a.e("suggestion-item")}[tabindex="-1"]`));break}case Pe.enter:ae.click();break;case Pe.esc:case Pe.tab:Y(!1);break}},xe=()=>{const ce=T.value,ae=ce[ce.length-1];o=y.value?0:o+1,!(!ae||!o)&&(ae.hitState?Se(ae):ae.hitState=!0)},we=bn(()=>{const{value:ce}=V;if(!ce)return;const ae=e.beforeFilter(ce);Vr(ae)?ae.then(H).catch(()=>{}):ae!==!1?H():Z()},e.debounce),Ae=(ce,ae)=>{!b.value&&Y(!0),!(ae!=null&&ae.isComposing)&&(ce?we():Z())};return ge(g,J),ge([q,z],oe),ge(T,()=>{je(()=>ie())}),ge(E,ce=>v.value=ce,{immediate:!0}),et(()=>{var ce;const ae=(ce=u.value)==null?void 0:ce.$el;n=(ae==null?void 0:ae.offsetHeight)||mO[O.value]||hO,ja(ae,ie)}),$t(()=>{var ce;Ha((ce=u.value)==null?void 0:ce.$el,ie)}),{popperOptions:gO,tooltipRef:d,popperPaneRef:W,input:u,tagWrapper:p,panel:f,suggestionPanel:h,popperVisible:b,inputHover:m,inputPlaceholder:P,filtering:g,presentText:E,checkedValue:N,inputValue:v,searchInputValue:y,presentTags:T,allPresentTags:x,suggestions:k,isDisabled:z,isOnComposition:$,realSize:O,tagSize:D,multiple:L,readonly:F,clearBtnVisible:M,compatTeleported:r,nsCascader:a,nsInput:i,t:l,togglePopperVisible:Y,hideSuggestionPanel:Z,deleteTag:Se,focusFirstNode:ne,getCheckedNodes:be,handleExpandChange:$e,handleKeyDown:Me,handleComposition:Ne,handleClear:j,handleSuggestionClick:X,handleSuggestionKeyDown:de,handleDelete:xe,handleInput:Ae}}}),vO={key:0},yO={class:"el-cascader__collapse-tags"},_O=["placeholder"],wO=["onClick"];function xO(e,t,n,o,r,a){const i=le("circle-close"),l=le("el-icon"),s=le("arrow-down"),c=le("el-input"),d=le("el-tag"),u=le("el-tooltip"),p=le("el-cascader-panel"),f=le("check"),h=le("el-scrollbar"),b=In("clickoutside");return w(),Q(u,{ref:"tooltipRef",visible:e.popperVisible,"onUpdate:visible":t[17]||(t[17]=m=>e.popperVisible=m),teleported:e.compatTeleported,"popper-class":[e.nsCascader.e("dropdown"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${e.nsCascader.namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:e.hideSuggestionPanel},{default:K(()=>[Ue((w(),I("div",{class:S([e.nsCascader.b(),e.nsCascader.m(e.realSize),e.nsCascader.is("disabled",e.isDisabled),e.$attrs.class]),style:Oe(e.$attrs.style),onClick:t[11]||(t[11]=()=>e.togglePopperVisible(e.readonly?void 0:!0)),onKeydown:t[12]||(t[12]=(...m)=>e.handleKeyDown&&e.handleKeyDown(...m)),onMouseenter:t[13]||(t[13]=m=>e.inputHover=!0),onMouseleave:t[14]||(t[14]=m=>e.inputHover=!1)},[U(c,{ref:"input",modelValue:e.inputValue,"onUpdate:modelValue":t[1]||(t[1]=m=>e.inputValue=m),placeholder:e.inputPlaceholder,readonly:e.readonly,disabled:e.isDisabled,"validate-event":!1,size:e.realSize,class:S(e.nsCascader.is("focus",e.popperVisible)),onCompositionstart:e.handleComposition,onCompositionupdate:e.handleComposition,onCompositionend:e.handleComposition,onFocus:t[2]||(t[2]=m=>e.$emit("focus",m)),onBlur:t[3]||(t[3]=m=>e.$emit("blur",m)),onInput:e.handleInput},{suffix:K(()=>[e.clearBtnVisible?(w(),Q(l,{key:"clear",class:S([e.nsInput.e("icon"),"icon-circle-close"]),onClick:He(e.handleClear,["stop"])},{default:K(()=>[U(i)]),_:1},8,["class","onClick"])):(w(),Q(l,{key:"arrow-down",class:S([e.nsInput.e("icon"),"icon-arrow-down",e.nsCascader.is("reverse",e.popperVisible)]),onClick:t[0]||(t[0]=He(m=>e.togglePopperVisible(),["stop"]))},{default:K(()=>[U(s)]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","onCompositionstart","onCompositionupdate","onCompositionend","onInput"]),e.multiple?(w(),I("div",{key:0,ref:"tagWrapper",class:S(e.nsCascader.e("tags"))},[(w(!0),I(Fe,null,st(e.presentTags,m=>(w(),Q(d,{key:m.key,type:e.tagType,size:e.tagSize,hit:m.hitState,closable:m.closable,"disable-transitions":"",onClose:g=>e.deleteTag(m)},{default:K(()=>[m.isCollapseTag===!1?(w(),I("span",vO,ve(m.text),1)):(w(),Q(u,{key:1,teleported:!1,disabled:e.popperVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:K(()=>[R("span",null,ve(m.text),1)]),content:K(()=>[R("div",yO,[(w(!0),I(Fe,null,st(e.allPresentTags,(g,v)=>(w(),I("div",{key:v,class:"el-cascader__collapse-tag"},[(w(),Q(d,{key:g.key,class:"in-tooltip",type:e.tagType,size:e.tagSize,hit:g.hitState,closable:g.closable,"disable-transitions":"",onClose:y=>e.deleteTag(g)},{default:K(()=>[R("span",null,ve(g.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))]))),128))])]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),e.filterable&&!e.isDisabled?Ue((w(),I("input",{key:0,"onUpdate:modelValue":t[4]||(t[4]=m=>e.searchInputValue=m),type:"text",class:S(e.nsCascader.e("search-input")),placeholder:e.presentText?"":e.inputPlaceholder,onInput:t[5]||(t[5]=m=>e.handleInput(e.searchInputValue,m)),onClick:t[6]||(t[6]=He(m=>e.togglePopperVisible(!0),["stop"])),onKeydown:t[7]||(t[7]=lt((...m)=>e.handleDelete&&e.handleDelete(...m),["delete"])),onCompositionstart:t[8]||(t[8]=(...m)=>e.handleComposition&&e.handleComposition(...m)),onCompositionupdate:t[9]||(t[9]=(...m)=>e.handleComposition&&e.handleComposition(...m)),onCompositionend:t[10]||(t[10]=(...m)=>e.handleComposition&&e.handleComposition(...m))},null,42,_O)),[[Pu,e.searchInputValue]]):G("v-if",!0)],2)):G("v-if",!0)],38)),[[b,()=>e.togglePopperVisible(!1),e.popperPaneRef]])]),content:K(()=>[Ue(U(p,{ref:"panel",modelValue:e.checkedValue,"onUpdate:modelValue":t[15]||(t[15]=m=>e.checkedValue=m),options:e.options,props:e.props,border:!1,"render-label":e.$slots.default,onExpandChange:e.handleExpandChange,onClose:t[16]||(t[16]=m=>e.$nextTick(()=>e.togglePopperVisible(!1)))},null,8,["modelValue","options","props","render-label","onExpandChange"]),[[ft,!e.filtering]]),e.filterable?Ue((w(),Q(h,{key:0,ref:"suggestionPanel",tag:"ul",class:S(e.nsCascader.e("suggestion-panel")),"view-class":e.nsCascader.e("suggestion-list"),onKeydown:e.handleSuggestionKeyDown},{default:K(()=>[e.suggestions.length?(w(!0),I(Fe,{key:0},st(e.suggestions,m=>(w(),I("li",{key:m.uid,class:S([e.nsCascader.e("suggestion-item"),e.nsCascader.is("checked",m.checked)]),tabindex:-1,onClick:g=>e.handleSuggestionClick(m)},[R("span",null,ve(m.text),1),m.checked?(w(),Q(l,{key:0},{default:K(()=>[U(f)]),_:1})):G("v-if",!0)],10,wO))),128)):ue(e.$slots,"empty",{key:1},()=>[R("li",{class:S(e.nsCascader.e("empty-text"))},ve(e.t("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class","onKeydown"])),[[ft,e.filtering]]):G("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-options","transition","onHide"])}var Yl=_e(bO,[["render",xO],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/index.vue"]]);Yl.install=e=>{e.component(Yl.name,Yl)};const kO=Yl,TO=kO,CO=Le({checked:{type:Boolean,default:!1}}),SO={"update:checked":e=>on(e),change:e=>on(e)},$O={name:"ElCheckTag"},AO=ee(ze(he({},$O),{props:CO,emits:SO,setup(e,{emit:t}){const n=e,o=ke("check-tag"),r=()=>{const a=!n.checked;t("change",a),t("update:checked",a)};return(a,i)=>(w(),I("span",{class:S([_(o).b(),_(o).is("checked",a.checked)]),onClick:r},[ue(a.$slots,"default")],2))}}));var EO=_e(AO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const zO=rt(EO),IO=Le({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:Te([Number,Object]),default:()=>Ft({})},sm:{type:Te([Number,Object]),default:()=>Ft({})},md:{type:Te([Number,Object]),default:()=>Ft({})},lg:{type:Te([Number,Object]),default:()=>Ft({})},xl:{type:Te([Number,Object]),default:()=>Ft({})}});var NO=ee({name:"ElCol",props:IO,setup(e,{slots:t}){const{gutter:n}=Ie(hy,{gutter:C(()=>0)}),o=ke("col"),r=C(()=>n.value?{paddingLeft:`${n.value/2}px`,paddingRight:`${n.value/2}px`}:{}),a=C(()=>{const i=[];return["span","offset","pull","push"].forEach(c=>{const d=e[c];typeof d=="number"&&(c==="span"?i.push(o.b(`${e[c]}`)):d>0&&i.push(o.b(`${c}-${e[c]}`)))}),["xs","sm","md","lg","xl"].forEach(c=>{if(typeof e[c]=="number")i.push(o.b(`${c}-${e[c]}`));else if(typeof e[c]=="object"){const d=e[c];Object.keys(d).forEach(u=>{i.push(u!=="span"?o.b(`${c}-${u}-${d[u]}`):o.b(`${c}-${d[u]}`))})}}),n.value&&i.push(o.is("guttered")),i});return()=>U(e.tag,{class:[o.b(),a.value],style:r.value},t)}});const MO=rt(NO),Lm=e=>typeof mt(e),RO=Le({accordion:Boolean,modelValue:{type:Te([Array,String,Number]),default:()=>Ft([])}}),PO={[tt]:Lm,[Xt]:Lm},OO={name:"ElCollapse"},FO=ee(ze(he({},OO),{props:RO,emits:PO,setup(e,{expose:t,emit:n}){const o=e,r=ke("collapse"),a=A(Di(o.modelValue)),i=s=>{a.value=s;const c=o.accordion?a.value[0]:a.value;n(tt,c),n(Xt,c)},l=s=>{if(o.accordion)i([(a.value[0]||a.value[0]===0)&&a.value[0]===s?"":s]);else{const c=[...a.value],d=c.indexOf(s);d>-1?c.splice(d,1):c.push(s),i(c)}};return ge(()=>o.modelValue,()=>a.value=Di(o.modelValue),{deep:!0}),ot(cy,{activeNames:a,handleItemClick:l}),t({activeNames:a,setActiveNames:i}),(s,c)=>(w(),I("div",{class:S(_(r).b()),role:"tablist","aria-multiselectable":"true"},[ue(s.$slots,"default")],2))}}));var DO=_e(FO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const LO=ee({name:"ElCollapseTransition",setup(){return{ns:ke("collapse-transition"),on:{beforeEnter(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){t.dataset.oldOverflow=t.style.overflow,t.scrollHeight!==0?(t.style.maxHeight=`${t.scrollHeight}px`,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom):(t.style.maxHeight=0,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom),t.style.overflow="hidden"},afterEnter(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.maxHeight=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){t.scrollHeight!==0&&(t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom}}}}});function VO(e,t,n,o,r,a){return w(),Q(qt,St({name:e.ns.b()},Lw(e.on)),{default:K(()=>[ue(e.$slots,"default")]),_:3},16,["name"])}var Gl=_e(LO,[["render",VO],["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);Gl.install=e=>{e.component(Gl.name,Gl)};const mc=Gl,BO=mc,jO=Le({title:{type:String,default:""},name:{type:Te([String,Number]),default:()=>al()},disabled:Boolean}),HO=["aria-expanded","aria-controls","aria-describedby"],qO=["id","tabindex","onKeypress"],KO=["id","aria-hidden","aria-labelledby"],WO={name:"ElCollapseItem"},UO=ee(ze(he({},WO),{props:jO,setup(e,{expose:t}){const n=e,o=Ie(cy),r=ke("collapse"),a=A(!1),i=A(!1),l=A(al()),s=C(()=>o==null?void 0:o.activeNames.value.includes(n.name)),c=()=>{setTimeout(()=>{i.value?i.value=!1:a.value=!0},50)},d=()=>{n.disabled||(o==null||o.handleItemClick(n.name),a.value=!1,i.value=!0)},u=()=>{o==null||o.handleItemClick(n.name)};return t({isActive:s}),(p,f)=>(w(),I("div",{class:S([_(r).b("item"),_(r).is("active",_(s)),_(r).is("disabled",p.disabled)])},[R("div",{role:"tab","aria-expanded":_(s),"aria-controls":_(r).b(`content-${l.value}`),"aria-describedby":_(r).b(`content-${l.value}`)},[R("div",{id:_(r).b(`head-${l.value}`),class:S([_(r).be("item","header"),_(r).is("active",_(s)),{focusing:a.value}]),role:"button",tabindex:p.disabled?-1:0,onClick:d,onKeypress:lt(He(u,["stop","prevent"]),["space","enter"]),onFocus:c,onBlur:f[0]||(f[0]=h=>a.value=!1)},[ue(p.$slots,"title",{},()=>[ct(ve(p.title),1)]),U(_(qe),{class:S([_(r).be("item","arrow"),_(r).is("active",_(s))])},{default:K(()=>[U(_(Yn))]),_:1},8,["class"])],42,qO)],8,HO),U(_(mc),null,{default:K(()=>[Ue(R("div",{id:_(r).b(`content-${l.value}`),class:S(_(r).be("item","wrap")),role:"tabpanel","aria-hidden":!_(s),"aria-labelledby":_(r).b(`head-${l.value}`)},[R("div",{class:S(_(r).be("item","content"))},[ue(p.$slots,"default")],2)],10,KO),[[ft,_(s)]])]),_:3})],2))}}));var O0=_e(UO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const YO=rt(DO,{CollapseItem:O0}),GO=Dt(O0);let Vc=!1;function Wi(e,t){if(!dt)return;const n=function(a){var i;(i=t.drag)==null||i.call(t,a)},o=function(a){var i;Bt(document,"mousemove",n),Bt(document,"mouseup",o),Bt(document,"touchmove",n),Bt(document,"touchend",o),document.onselectstart=null,document.ondragstart=null,Vc=!1,(i=t.end)==null||i.call(t,a)},r=function(a){var i;Vc||(a.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,At(document,"mousemove",n),At(document,"mouseup",o),At(document,"touchmove",n),At(document,"touchend",o),Vc=!0,(i=t.start)==null||i.call(t,a))};At(e,"mousedown",r),At(e,"touchstart",r)}const XO=ee({name:"ElColorAlphaSlider",props:{color:{type:Object,required:!0},vertical:{type:Boolean,default:!1}},setup(e){const t=nt(),n=Kt(null),o=Kt(null),r=A(0),a=A(0),i=A(null);ge(()=>e.color.get("alpha"),()=>{p()}),ge(()=>e.color.value,()=>{p()});function l(){if(e.vertical)return 0;const f=t.vnode.el,h=e.color.get("alpha");return f?Math.round(h*(f.offsetWidth-n.value.offsetWidth/2)/100):0}function s(){const f=t.vnode.el;if(!e.vertical)return 0;const h=e.color.get("alpha");return f?Math.round(h*(f.offsetHeight-n.value.offsetHeight/2)/100):0}function c(){if(e.color&&e.color.value){const{r:f,g:h,b}=e.color.toRgb();return`linear-gradient(to right, rgba(${f}, ${h}, ${b}, 0) 0%, rgba(${f}, ${h}, ${b}, 1) 100%)`}return null}function d(f){f.target!==n.value&&u(f)}function u(f){const b=t.vnode.el.getBoundingClientRect(),{clientX:m,clientY:g}=op(f);if(e.vertical){let v=g-b.top;v=Math.max(n.value.offsetHeight/2,v),v=Math.min(v,b.height-n.value.offsetHeight/2),e.color.set("alpha",Math.round((v-n.value.offsetHeight/2)/(b.height-n.value.offsetHeight)*100))}else{let v=m-b.left;v=Math.max(n.value.offsetWidth/2,v),v=Math.min(v,b.width-n.value.offsetWidth/2),e.color.set("alpha",Math.round((v-n.value.offsetWidth/2)/(b.width-n.value.offsetWidth)*100))}}function p(){r.value=l(),a.value=s(),i.value=c()}return et(()=>{const f={drag:h=>{u(h)},end:h=>{u(h)}};Wi(o.value,f),Wi(n.value,f),p()}),{thumb:n,bar:o,thumbLeft:r,thumbTop:a,background:i,handleClick:d,update:p}}});function ZO(e,t,n,o,r,a){return w(),I("div",{class:S(["el-color-alpha-slider",{"is-vertical":e.vertical}])},[R("div",{ref:"bar",class:"el-color-alpha-slider__bar",style:Oe({background:e.background}),onClick:t[0]||(t[0]=(...i)=>e.handleClick&&e.handleClick(...i))},null,4),R("div",{ref:"thumb",class:"el-color-alpha-slider__thumb",style:Oe({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,4)],2)}var JO=_e(XO,[["render",ZO],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const QO=ee({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=nt(),n=A(null),o=A(null),r=A(0),a=A(0),i=C(()=>e.color.get("hue"));ge(()=>i.value,()=>{u()});function l(p){p.target!==n.value&&s(p)}function s(p){const h=t.vnode.el.getBoundingClientRect(),{clientX:b,clientY:m}=op(p);let g;if(e.vertical){let v=m-h.top;v=Math.min(v,h.height-n.value.offsetHeight/2),v=Math.max(n.value.offsetHeight/2,v),g=Math.round((v-n.value.offsetHeight/2)/(h.height-n.value.offsetHeight)*360)}else{let v=b-h.left;v=Math.min(v,h.width-n.value.offsetWidth/2),v=Math.max(n.value.offsetWidth/2,v),g=Math.round((v-n.value.offsetWidth/2)/(h.width-n.value.offsetWidth)*360)}e.color.set("hue",g)}function c(){const p=t.vnode.el;if(e.vertical)return 0;const f=e.color.get("hue");return p?Math.round(f*(p.offsetWidth-n.value.offsetWidth/2)/360):0}function d(){const p=t.vnode.el;if(!e.vertical)return 0;const f=e.color.get("hue");return p?Math.round(f*(p.offsetHeight-n.value.offsetHeight/2)/360):0}function u(){r.value=c(),a.value=d()}return et(()=>{const p={drag:f=>{s(f)},end:f=>{s(f)}};Wi(o.value,p),Wi(n.value,p),u()}),{bar:o,thumb:n,thumbLeft:r,thumbTop:a,hueValue:i,handleClick:l,update:u}}});function eF(e,t,n,o,r,a){return w(),I("div",{class:S(["el-color-hue-slider",{"is-vertical":e.vertical}])},[R("div",{ref:"bar",class:"el-color-hue-slider__bar",onClick:t[0]||(t[0]=(...i)=>e.handleClick&&e.handleClick(...i))},null,512),R("div",{ref:"thumb",class:"el-color-hue-slider__thumb",style:Oe({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,4)],2)}var tF=_e(QO,[["render",eF],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/hue-slider.vue"]]);const F0=Symbol(),nF=()=>Ie(F0),Vm=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},oF=function(e){return typeof e=="string"&&e.includes(".")&&Number.parseFloat(e)===1},rF=function(e){return typeof e=="string"&&e.includes("%")},ga=function(e,t){oF(e)&&(e="100%");const n=rF(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),n&&(e=Number.parseInt(`${e*t}`,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},Bm={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Xl=function(e){e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return`${Bm[t]||t}${Bm[n]||n}`},jm=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${Xl(e)}${Xl(t)}${Xl(n)}`},Bc={A:10,B:11,C:12,D:13,E:14,F:15},wr=function(e){return e.length===2?(Bc[e[0].toUpperCase()]||+e[0])*16+(Bc[e[1].toUpperCase()]||+e[1]):Bc[e[1].toUpperCase()]||+e[1]},aF=function(e,t,n){t=t/100,n=n/100;let o=t;const r=Math.max(n,.01);n*=2,t*=n<=1?n:2-n,o*=r<=1?r:2-r;const a=(n+t)/2,i=n===0?2*o/(r+o):2*t/(n+t);return{h:e,s:i*100,v:a*100}},Hm=function(e,t,n){e=ga(e,255),t=ga(t,255),n=ga(n,255);const o=Math.max(e,t,n),r=Math.min(e,t,n);let a;const i=o,l=o-r,s=o===0?0:l/o;if(o===r)a=0;else{switch(o){case e:{a=(t-n)/l+(t{this._hue=Math.max(0,Math.min(360,o)),this._saturation=Math.max(0,Math.min(100,r)),this._value=Math.max(0,Math.min(100,a)),this.doOnChange()};if(t.includes("hsl")){const o=t.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(r=>r!=="").map((r,a)=>a>2?Number.parseFloat(r):Number.parseInt(r,10));if(o.length===4?this._alpha=Number.parseFloat(o[3])*100:o.length===3&&(this._alpha=100),o.length>=3){const{h:r,s:a,v:i}=aF(o[0],o[1],o[2]);n(r,a,i)}}else if(t.includes("hsv")){const o=t.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(r=>r!=="").map((r,a)=>a>2?Number.parseFloat(r):Number.parseInt(r,10));o.length===4?this._alpha=Number.parseFloat(o[3])*100:o.length===3&&(this._alpha=100),o.length>=3&&n(o[0],o[1],o[2])}else if(t.includes("rgb")){const o=t.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(r=>r!=="").map((r,a)=>a>2?Number.parseFloat(r):Number.parseInt(r,10));if(o.length===4?this._alpha=Number.parseFloat(o[3])*100:o.length===3&&(this._alpha=100),o.length>=3){const{h:r,s:a,v:i}=Hm(o[0],o[1],o[2]);n(r,a,i)}}else if(t.includes("#")){const o=t.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(o))return;let r,a,i;o.length===3?(r=wr(o[0]+o[0]),a=wr(o[1]+o[1]),i=wr(o[2]+o[2])):(o.length===6||o.length===8)&&(r=wr(o.slice(0,2)),a=wr(o.slice(2,4)),i=wr(o.slice(4,6))),o.length===8?this._alpha=wr(o.slice(6))/255*100:(o.length===3||o.length===6)&&(this._alpha=100);const{h:l,s,v:c}=Hm(r,a,i);n(l,s,c)}}compare(t){return Math.abs(t._hue-this._hue)<2&&Math.abs(t._saturation-this._saturation)<1&&Math.abs(t._value-this._value)<1&&Math.abs(t._alpha-this._alpha)<1}doOnChange(){const{_hue:t,_saturation:n,_value:o,_alpha:r,format:a}=this;if(this.enableAlpha)switch(a){case"hsl":{const i=Vm(t,n/100,o/100);this.value=`hsla(${t}, ${Math.round(i[1]*100)}%, ${Math.round(i[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${t}, ${Math.round(n)}%, ${Math.round(o)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${jm(ni(t,n,o))}${Xl(r*255/100)}`;break}default:{const{r:i,g:l,b:s}=ni(t,n,o);this.value=`rgba(${i}, ${l}, ${s}, ${this.get("alpha")/100})`}}else switch(a){case"hsl":{const i=Vm(t,n/100,o/100);this.value=`hsl(${t}, ${Math.round(i[1]*100)}%, ${Math.round(i[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${t}, ${Math.round(n)}%, ${Math.round(o)}%)`;break}case"rgb":{const{r:i,g:l,b:s}=ni(t,n,o);this.value=`rgb(${i}, ${l}, ${s})`;break}default:this.value=jm(ni(t,n,o))}}}const iF=ee({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(e){const{currentColor:t}=nF(),n=A(r(e.colors,e.color));ge(()=>t.value,a=>{const i=new wi;i.fromString(a),n.value.forEach(l=>{l.selected=i.compare(l)})}),Dn(()=>{n.value=r(e.colors,e.color)});function o(a){e.color.fromString(e.colors[a])}function r(a,i){return a.map(l=>{const s=new wi;return s.enableAlpha=!0,s.format="rgba",s.fromString(l),s.selected=s.value===i.value,s})}return{rgbaColors:n,handleSelect:o}}}),lF={class:"el-color-predefine"},sF={class:"el-color-predefine__colors"},cF=["onClick"];function dF(e,t,n,o,r,a){return w(),I("div",lF,[R("div",sF,[(w(!0),I(Fe,null,st(e.rgbaColors,(i,l)=>(w(),I("div",{key:e.colors[l],class:S(["el-color-predefine__color-selector",{selected:i.selected,"is-alpha":i._alpha<100}]),onClick:s=>e.handleSelect(l)},[R("div",{style:Oe({backgroundColor:i.value})},null,4)],10,cF))),128))])])}var uF=_e(iF,[["render",dF],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const pF=ee({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=nt(),n=A(0),o=A(0),r=A("hsl(0, 100%, 50%)"),a=C(()=>{const s=e.color.get("hue"),c=e.color.get("value");return{hue:s,value:c}});function i(){const s=e.color.get("saturation"),c=e.color.get("value"),d=t.vnode.el,{clientWidth:u,clientHeight:p}=d;o.value=s*u/100,n.value=(100-c)*p/100,r.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function l(s){const d=t.vnode.el.getBoundingClientRect(),{clientX:u,clientY:p}=op(s);let f=u-d.left,h=p-d.top;f=Math.max(0,f),f=Math.min(f,d.width),h=Math.max(0,h),h=Math.min(h,d.height),o.value=f,n.value=h,e.color.set({saturation:f/d.width*100,value:100-h/d.height*100})}return ge(()=>a.value,()=>{i()}),et(()=>{Wi(t.vnode.el,{drag:s=>{l(s)},end:s=>{l(s)}}),i()}),{cursorTop:n,cursorLeft:o,background:r,colorValue:a,handleDrag:l,update:i}}}),fF=R("div",{class:"el-color-svpanel__white"},null,-1),hF=R("div",{class:"el-color-svpanel__black"},null,-1),mF=R("div",null,null,-1),gF=[mF];function bF(e,t,n,o,r,a){return w(),I("div",{class:"el-color-svpanel",style:Oe({backgroundColor:e.background})},[fF,hF,R("div",{class:"el-color-svpanel__cursor",style:Oe({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},gF,4)],4)}var vF=_e(pF,[["render",bF],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const yF=ee({name:"ElColorPicker",components:{ElButton:Vn,ElTooltip:vn,ElInput:Gn,ElIcon:qe,Close:Hn,ArrowDown:Gr,SvPanel:vF,HueSlider:tF,AlphaSlider:JO,Predefine:uF},directives:{ClickOutside:Jr},props:{modelValue:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:{type:String,validator:Nn},popperClass:String,predefine:Array},emits:["change","active-change",tt],setup(e,{emit:t}){const{t:n}=Tt(),o=ke("color"),r=Ie(Mn,{}),a=Ie(qn,{}),i=A(null),l=A(null),s=A(null),c=A(null),d=vt(new wi({enableAlpha:e.showAlpha,format:e.colorFormat,value:e.modelValue})),u=A(!1),p=A(!1),f=A(""),h=C(()=>!e.modelValue&&!p.value?"transparent":v(d,e.showAlpha)),b=Ut(),m=C(()=>!!(e.disabled||r.disabled)),g=C(()=>!e.modelValue&&!p.value?"":d.value);ge(()=>e.modelValue,D=>{D?D&&D!==d.value&&d.fromString(D):p.value=!1}),ge(()=>g.value,D=>{f.value=D,t("active-change",D)}),ge(()=>d.value,()=>{!e.modelValue&&!p.value&&(p.value=!0)});function v(D,L){if(!(D instanceof wi))throw new TypeError("color should be instance of _color Class");const{r:F,g:V,b:q}=D.toRgb();return L?`rgba(${F}, ${V}, ${q}, ${D.get("alpha")/100})`:`rgb(${F}, ${V}, ${q})`}function y(D){u.value=D}const T=bn(y,100);function x(){T(!1),k()}function k(){je(()=>{e.modelValue?d.fromString(e.modelValue):p.value=!1})}function $(){m.value||T(!u.value)}function z(){d.fromString(f.value)}function P(){var D;const L=d.value;t(tt,L),t("change",L),(D=a.validate)==null||D.call(a,"change").catch(F=>void 0),T(!1),je(()=>{const F=new wi({enableAlpha:e.showAlpha,format:e.colorFormat,value:e.modelValue});d.compare(F)||k()})}function O(){var D;T(!1),t(tt,null),t("change",null),e.modelValue!==null&&((D=a.validate)==null||D.call(a,"change").catch(L=>void 0)),k()}return et(()=>{e.modelValue&&(f.value=g.value)}),ge(()=>u.value,()=>{je(()=>{var D,L,F;(D=i.value)==null||D.update(),(L=l.value)==null||L.update(),(F=s.value)==null||F.update()})}),ot(F0,{currentColor:g}),{color:d,colorDisabled:m,colorSize:b,displayedColor:h,showPanelColor:p,showPicker:u,customInput:f,handleConfirm:z,hide:x,handleTrigger:$,clear:O,confirmValue:P,t:n,ns:o,hue:i,svPanel:l,alpha:s,popper:c}}});function _F(e,t,n,o,r,a){const i=le("hue-slider"),l=le("sv-panel"),s=le("alpha-slider"),c=le("predefine"),d=le("el-input"),u=le("el-button"),p=le("arrow-down"),f=le("el-icon"),h=le("close"),b=le("el-tooltip"),m=In("click-outside");return w(),Q(b,{ref:"popper",visible:e.showPicker,"onUpdate:visible":t[2]||(t[2]=g=>e.showPicker=g),"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[e.ns.be("picker","panel"),e.ns.b("dropdown"),e.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:"el-zoom-in-top",persistent:""},{content:K(()=>[Ue((w(),I("div",null,[R("div",{class:S(e.ns.be("dropdown","main-wrapper"))},[U(i,{ref:"hue",class:"hue-slider",color:e.color,vertical:""},null,8,["color"]),U(l,{ref:"svPanel",color:e.color},null,8,["color"])],2),e.showAlpha?(w(),Q(s,{key:0,ref:"alpha",color:e.color},null,8,["color"])):G("v-if",!0),e.predefine?(w(),Q(c,{key:1,ref:"predefine",color:e.color,colors:e.predefine},null,8,["color","colors"])):G("v-if",!0),R("div",{class:S(e.ns.be("dropdown","btns"))},[R("span",{class:S(e.ns.be("dropdown","value"))},[U(d,{modelValue:e.customInput,"onUpdate:modelValue":t[0]||(t[0]=g=>e.customInput=g),"validate-event":!1,size:"small",onKeyup:lt(e.handleConfirm,["enter"]),onBlur:e.handleConfirm},null,8,["modelValue","onKeyup","onBlur"])],2),U(u,{size:"small",type:"text",class:S(e.ns.be("dropdown","link-btn")),onClick:e.clear},{default:K(()=>[ct(ve(e.t("el.colorpicker.clear")),1)]),_:1},8,["class","onClick"]),U(u,{plain:"",size:"small",class:S(e.ns.be("dropdown","btn")),onClick:e.confirmValue},{default:K(()=>[ct(ve(e.t("el.colorpicker.confirm")),1)]),_:1},8,["class","onClick"])],2)])),[[m,e.hide]])]),default:K(()=>[R("div",{class:S([e.ns.b("picker"),e.ns.is("disabled",e.colorDisabled),e.ns.bm("picker",e.colorSize)])},[e.colorDisabled?(w(),I("div",{key:0,class:S(e.ns.be("picker","mask"))},null,2)):G("v-if",!0),R("div",{class:S(e.ns.be("picker","trigger")),onClick:t[1]||(t[1]=(...g)=>e.handleTrigger&&e.handleTrigger(...g))},[R("span",{class:S([e.ns.be("picker","color"),e.ns.is("alpha",e.showAlpha)])},[R("span",{class:S(e.ns.be("picker","color-inner")),style:Oe({backgroundColor:e.displayedColor})},[Ue(U(f,{class:S([e.ns.be("picker","icon"),e.ns.is("icon-arrow-down")])},{default:K(()=>[U(p)]),_:1},8,["class"]),[[ft,e.modelValue||e.showPanelColor]]),!e.modelValue&&!e.showPanelColor?(w(),Q(f,{key:0,class:S([e.ns.be("picker","empty"),e.ns.is("icon-close")])},{default:K(()=>[U(h)]),_:1},8,["class"])):G("v-if",!0)],6)],2)],2)],2)]),_:1},8,["visible","popper-class"])}var Zl=_e(yF,[["render",_F],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/index.vue"]]);Zl.install=e=>{e.component(Zl.name,Zl)};const wF=Zl,xF=wF,Gd={},kF=Le({a11y:{type:Boolean,default:!0},locale:{type:Te(Object)},size:{type:String,values:wo,default:""},button:{type:Te(Object)},experimentalFeatures:{type:Te(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Te(Object)},zIndex:{type:Number},namespace:{type:String,default:"el"}});var TF=ee({name:"ElConfigProvider",props:kF,setup(e,{slots:t}){ge(()=>e.message,o=>{Object.assign(Gd,o!=null?o:{})},{immediate:!0,deep:!0});const n=_y(e);return()=>ue(t,"default",{config:n==null?void 0:n.value})}});const CF=rt(TF),SF=ee({name:"ElContainer",props:{direction:{type:String,default:""}},setup(e,{slots:t}){const n=ke("container");return{isVertical:C(()=>e.direction==="vertical"?!0:e.direction==="horizontal"?!1:t&&t.default?t.default().some(a=>{const i=a.type.name;return i==="ElHeader"||i==="ElFooter"}):!1),ns:n}}});function $F(e,t,n,o,r,a){return w(),I("section",{class:S([e.ns.b(),e.ns.is("vertical",e.isVertical)])},[ue(e.$slots,"default")],2)}var AF=_e(SF,[["render",$F],["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const EF=ee({name:"ElAside",props:{width:{type:String,default:null}},setup(e){const t=ke("aside");return{style:C(()=>e.width?{"--el-aside-width":e.width}:{}),ns:t}}});function zF(e,t,n,o,r,a){return w(),I("aside",{class:S(e.ns.b()),style:Oe(e.style)},[ue(e.$slots,"default")],6)}var D0=_e(EF,[["render",zF],["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const IF=ee({name:"ElFooter",props:{height:{type:String,default:null}},setup(e){const t=ke("footer");return{style:C(()=>e.height?{"--el-footer-height":e.height}:{}),ns:t}}});function NF(e,t,n,o,r,a){return w(),I("footer",{class:S(e.ns.b()),style:Oe(e.style)},[ue(e.$slots,"default")],6)}var L0=_e(IF,[["render",NF],["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const MF=ee({name:"ElHeader",props:{height:{type:String,default:null}},setup(e){const t=ke("header");return{style:C(()=>e.height?{"--el-header-height":e.height}:{}),ns:t}}});function RF(e,t,n,o,r,a){return w(),I("header",{class:S(e.ns.b()),style:Oe(e.style)},[ue(e.$slots,"default")],6)}var V0=_e(MF,[["render",RF],["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const PF=ee({name:"ElMain",setup(){return{ns:ke("main")}}});function OF(e,t,n,o,r,a){return w(),I("main",{class:S(e.ns.b())},[ue(e.$slots,"default")],2)}var B0=_e(PF,[["render",OF],["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const FF=rt(AF,{Aside:D0,Footer:L0,Header:V0,Main:B0}),DF=Dt(D0),LF=Dt(L0),VF=Dt(V0),BF=Dt(B0);var j0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){return function(n,o,r){var a=o.prototype,i=a.format;r.en.ordinal=function(l){var s=["th","st","nd","rd"],c=l%100;return"["+l+(s[(c-20)%10]||s[c]||s[0])+"]"},a.format=function(l){var s=this,c=this.$locale();if(!this.isValid())return i.bind(this)(l);var d=this.$utils(),u=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(p){switch(p){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return c.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return c.ordinal(s.week(),"W");case"w":case"ww":return d.s(s.week(),p==="w"?1:2,"0");case"W":case"WW":return d.s(s.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return d.s(String(s.$H===0?24:s.$H),p==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return p}});return i.bind(this)(u)}}})})(j0);var jF=j0.exports,H0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){var n="week",o="year";return function(r,a,i){var l=a.prototype;l.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=i(this).startOf(o).add(1,o).date(c),u=i(this).endOf(n);if(d.isBefore(u))return 1}var p=i(this).startOf(o).date(c).startOf(n).subtract(1,"millisecond"),f=this.diff(p,n,!0);return f<0?i(this).startOf("week").week():Math.ceil(f)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(H0);var HF=H0.exports,q0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){return function(n,o){o.prototype.weekYear=function(){var r=this.month(),a=this.week(),i=this.year();return a===1&&r===11?i+1:r===0&&a>=52?i-1:i}}})})(q0);var qF=q0.exports,K0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){return function(n,o,r){o.prototype.dayOfYear=function(a){var i=Math.round((r(this).startOf("day")-r(this).startOf("year"))/864e5)+1;return a==null?i:this.add(a-i,"day")}}})})(K0);var KF=K0.exports,W0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){return function(n,o){o.prototype.isSameOrAfter=function(r,a){return this.isSame(r,a)||this.isAfter(r,a)}}})})(W0);var WF=W0.exports,U0={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ko,function(){return function(n,o){o.prototype.isSameOrBefore=function(r,a){return this.isSame(r,a)||this.isBefore(r,a)}}})})(U0);var UF=U0.exports;const Y0=Symbol();var YF=ee({name:"ElDatePickerCell",props:Le({cell:{type:Te(Object)}}),setup(e){const t=Ie(Y0);return()=>{const n=e.cell;if(t!=null&&t.ctx.slots.default){const o=t.ctx.slots.default(n).filter(r=>r.patchFlag!==-2&&r.type.toString()!=="Symbol(Comment)");if(o.length)return o}return Re("div",{class:"el-date-table-cell"},[Re("span",{class:"el-date-table-cell__text"},[n==null?void 0:n.text])])}}});const GF=ee({components:{ElDatePickerCell:YF},props:{date:{type:Object},minDate:{type:Object},maxDate:{type:Object},parsedValue:{type:[Object,Array]},selectionMode:{type:String,default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{type:Function},cellClassName:{type:Function},rangeState:{type:Object,default:()=>({endDate:null,selecting:!1})}},emits:["changerange","pick","select"],setup(e,t){const{t:n,lang:o}=Tt(),r=A(null),a=A(null),i=A([[],[],[],[],[],[]]),l=e.date.$locale().weekStart||7,s=e.date.locale("en").localeData().weekdaysShort().map(T=>T.toLowerCase()),c=C(()=>l>3?7-l:-l),d=C(()=>{const T=e.date.startOf("month");return T.subtract(T.day()||7,"day")}),u=C(()=>s.concat(s).slice(l,l+7)),p=C(()=>{var T;const x=e.date.startOf("month"),k=x.day()||7,$=x.daysInMonth(),z=x.subtract(1,"month").daysInMonth(),P=c.value,O=i.value;let D=1;const L=e.selectionMode==="dates"?Or(e.parsedValue):[],F=Ge().locale(o.value).startOf("day");for(let V=0;V<6;V++){const q=O[V];e.showWeekNumber&&(q[0]||(q[0]={type:"week",text:d.value.add(V*7+1,"day").week()}));for(let M=0;M<7;M++){let E=q[e.showWeekNumber?M+1:M];E||(E={row:V,column:M,type:"normal",inRange:!1,start:!1,end:!1});const N=V*7+M,W=d.value.add(N-P,"day");E.dayjs=W,E.date=W.toDate(),E.timestamp=W.valueOf(),E.type="normal";const Y=e.rangeState.endDate||e.maxDate||e.rangeState.selecting&&e.minDate;if(E.inRange=e.minDate&&W.isSameOrAfter(e.minDate,"day")&&Y&&W.isSameOrBefore(Y,"day")||e.minDate&&W.isSameOrBefore(e.minDate,"day")&&Y&&W.isSameOrAfter(Y,"day"),(T=e.minDate)!=null&&T.isSameOrAfter(Y)?(E.start=Y&&W.isSame(Y,"day"),E.end=e.minDate&&W.isSame(e.minDate,"day")):(E.start=e.minDate&&W.isSame(e.minDate,"day"),E.end=Y&&W.isSame(Y,"day")),W.isSame(F,"day")&&(E.type="today"),V>=0&&V<=1){const se=k+P<0?7+k+P:k+P;M+V*7>=se?E.text=D++:(E.text=z-(se-M%7)+1+V*7,E.type="prev-month")}else D<=$?E.text=D++:(E.text=D++-$,E.type="next-month");const Z=W.toDate();E.selected=L.find(se=>se.valueOf()===W.valueOf()),E.isSelected=!!E.selected,E.isCurrent=f(E),E.disabled=e.disabledDate&&e.disabledDate(Z),E.customClass=e.cellClassName&&e.cellClassName(Z),q[e.showWeekNumber?M+1:M]=E}if(e.selectionMode==="week"){const M=e.showWeekNumber?1:0,E=e.showWeekNumber?7:6,N=y(q[M+1]);q[M].inRange=N,q[M].start=N,q[E].inRange=N,q[E].end=N}}return O}),f=T=>e.selectionMode==="day"&&(T.type==="normal"||T.type==="today")&&h(T,e.parsedValue),h=(T,x)=>x?Ge(x).locale(o.value).isSame(e.date.date(Number(T.text)),"day"):!1,b=T=>{const x=[];return(T.type==="normal"||T.type==="today")&&!T.disabled?(x.push("available"),T.type==="today"&&x.push("today")):x.push(T.type),f(T)&&x.push("current"),T.inRange&&(T.type==="normal"||T.type==="today"||e.selectionMode==="week")&&(x.push("in-range"),T.start&&x.push("start-date"),T.end&&x.push("end-date")),T.disabled&&x.push("disabled"),T.selected&&x.push("selected"),T.customClass&&x.push(T.customClass),x.join(" ")},m=(T,x)=>{const k=T*7+(x-(e.showWeekNumber?1:0))-c.value;return d.value.add(k,"day")},g=T=>{if(!e.rangeState.selecting)return;let x=T.target;if(x.tagName==="SPAN"&&(x=x.parentNode.parentNode),x.tagName==="DIV"&&(x=x.parentNode),x.tagName!=="TD")return;const k=x.parentNode.rowIndex-1,$=x.cellIndex;p.value[k][$].disabled||(k!==r.value||$!==a.value)&&(r.value=k,a.value=$,t.emit("changerange",{selecting:!0,endDate:m(k,$)}))},v=T=>{let x=T.target;for(;x&&x.tagName!=="TD";)x=x.parentNode;if(!x||x.tagName!=="TD")return;const k=x.parentNode.rowIndex-1,$=x.cellIndex,z=p.value[k][$];if(z.disabled||z.type==="week")return;const P=m(k,$);if(e.selectionMode==="range")e.rangeState.selecting?(P>=e.minDate?t.emit("pick",{minDate:e.minDate,maxDate:P}):t.emit("pick",{minDate:P,maxDate:e.minDate}),t.emit("select",!1)):(t.emit("pick",{minDate:P,maxDate:null}),t.emit("select",!0));else if(e.selectionMode==="day")t.emit("pick",P);else if(e.selectionMode==="week"){const O=P.week(),D=`${P.year()}w${O}`;t.emit("pick",{year:P.year(),week:O,value:D,date:P.startOf("week")})}else if(e.selectionMode==="dates"){const O=z.selected?Or(e.parsedValue).filter(D=>D.valueOf()!==P.valueOf()):Or(e.parsedValue).concat([P]);t.emit("pick",O)}},y=T=>{if(e.selectionMode!=="week")return!1;let x=e.date.startOf("day");if(T.type==="prev-month"&&(x=x.subtract(1,"month")),T.type==="next-month"&&(x=x.add(1,"month")),x=x.date(Number.parseInt(T.text,10)),e.parsedValue&&!Array.isArray(e.parsedValue)){const k=(e.parsedValue.day()-l+7)%7-1;return e.parsedValue.subtract(k,"day").isSame(x,"day")}return!1};return{handleMouseMove:g,t:n,rows:p,isWeekActive:y,getCellClasses:b,WEEKS:u,handleClick:v}}}),XF={key:0};function ZF(e,t,n,o,r,a){const i=le("el-date-picker-cell");return w(),I("table",{cellspacing:"0",cellpadding:"0",class:S(["el-date-table",{"is-week-mode":e.selectionMode==="week"}]),onClick:t[0]||(t[0]=(...l)=>e.handleClick&&e.handleClick(...l)),onMousemove:t[1]||(t[1]=(...l)=>e.handleMouseMove&&e.handleMouseMove(...l))},[R("tbody",null,[R("tr",null,[e.showWeekNumber?(w(),I("th",XF,ve(e.t("el.datepicker.week")),1)):G("v-if",!0),(w(!0),I(Fe,null,st(e.WEEKS,(l,s)=>(w(),I("th",{key:s},ve(e.t("el.datepicker.weeks."+l)),1))),128))]),(w(!0),I(Fe,null,st(e.rows,(l,s)=>(w(),I("tr",{key:s,class:S(["el-date-table__row",{current:e.isWeekActive(l[1])}])},[(w(!0),I(Fe,null,st(l,(c,d)=>(w(),I("td",{key:d,class:S(e.getCellClasses(c))},[U(i,{cell:c},null,8,["cell"])],2))),128))],2))),128))])],34)}var G0=_e(GF,[["render",ZF],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const JF=(e,t,n)=>{const o=Ge().locale(n).startOf("month").month(t).year(e),r=o.daysInMonth();return sr(r).map(a=>o.add(a,"day").toDate())},QF=ee({props:{disabledDate:{type:Function},selectionMode:{type:String,default:"month"},minDate:{type:Object},maxDate:{type:Object},date:{type:Object},parsedValue:{type:Object},rangeState:{type:Object,default:()=>({endDate:null,selecting:!1})}},emits:["changerange","pick","select"],setup(e,t){const{t:n,lang:o}=Tt(),r=A(e.date.locale("en").localeData().monthsShort().map(p=>p.toLowerCase())),a=A([[],[],[]]),i=A(null),l=A(null),s=C(()=>{var p;const f=a.value,h=Ge().locale(o.value).startOf("month");for(let b=0;b<3;b++){const m=f[b];for(let g=0;g<4;g++){let v=m[g];v||(v={row:b,column:g,type:"normal",inRange:!1,start:!1,end:!1}),v.type="normal";const y=b*4+g,T=e.date.startOf("year").month(y),x=e.rangeState.endDate||e.maxDate||e.rangeState.selecting&&e.minDate;v.inRange=e.minDate&&T.isSameOrAfter(e.minDate,"month")&&x&&T.isSameOrBefore(x,"month")||e.minDate&&T.isSameOrBefore(e.minDate,"month")&&x&&T.isSameOrAfter(x,"month"),(p=e.minDate)!=null&&p.isSameOrAfter(x)?(v.start=x&&T.isSame(x,"month"),v.end=e.minDate&&T.isSame(e.minDate,"month")):(v.start=e.minDate&&T.isSame(e.minDate,"month"),v.end=x&&T.isSame(x,"month")),h.isSame(T)&&(v.type="today"),v.text=y;const $=T.toDate();v.disabled=e.disabledDate&&e.disabledDate($),m[g]=v}}return f});return{handleMouseMove:p=>{if(!e.rangeState.selecting)return;let f=p.target;if(f.tagName==="A"&&(f=f.parentNode.parentNode),f.tagName==="DIV"&&(f=f.parentNode),f.tagName!=="TD")return;const h=f.parentNode.rowIndex,b=f.cellIndex;s.value[h][b].disabled||(h!==i.value||b!==l.value)&&(i.value=h,l.value=b,t.emit("changerange",{selecting:!0,endDate:e.date.startOf("year").month(h*4+b)}))},handleMonthTableClick:p=>{let f=p.target;if(f.tagName==="A"&&(f=f.parentNode.parentNode),f.tagName==="DIV"&&(f=f.parentNode),f.tagName!=="TD"||oo(f,"disabled"))return;const h=f.cellIndex,m=f.parentNode.rowIndex*4+h,g=e.date.startOf("year").month(m);e.selectionMode==="range"?e.rangeState.selecting?(g>=e.minDate?t.emit("pick",{minDate:e.minDate,maxDate:g}):t.emit("pick",{minDate:g,maxDate:e.minDate}),t.emit("select",!1)):(t.emit("pick",{minDate:g,maxDate:null}),t.emit("select",!0)):t.emit("pick",m)},rows:s,getCellStyle:p=>{const f={},h=e.date.year(),b=new Date,m=p.text;return f.disabled=e.disabledDate?JF(h,m,o.value).every(e.disabledDate):!1,f.current=Or(e.parsedValue).findIndex(g=>g.year()===h&&g.month()===m)>=0,f.today=b.getFullYear()===h&&b.getMonth()===m,p.inRange&&(f["in-range"]=!0,p.start&&(f["start-date"]=!0),p.end&&(f["end-date"]=!0)),f},t:n,months:r}}}),eD={class:"cell"};function tD(e,t,n,o,r,a){return w(),I("table",{class:"el-month-table",onClick:t[0]||(t[0]=(...i)=>e.handleMonthTableClick&&e.handleMonthTableClick(...i)),onMousemove:t[1]||(t[1]=(...i)=>e.handleMouseMove&&e.handleMouseMove(...i))},[R("tbody",null,[(w(!0),I(Fe,null,st(e.rows,(i,l)=>(w(),I("tr",{key:l},[(w(!0),I(Fe,null,st(i,(s,c)=>(w(),I("td",{key:c,class:S(e.getCellStyle(s))},[R("div",null,[R("a",eD,ve(e.t("el.datepicker.months."+e.months[s.text])),1)])],2))),128))]))),128))])],32)}var X0=_e(QF,[["render",tD],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const nD=(e,t)=>{const n=Ge(String(e)).locale(t).startOf("year"),r=n.endOf("year").dayOfYear();return sr(r).map(a=>n.add(a,"day").toDate())},oD=ee({props:{disabledDate:{type:Function},parsedValue:{type:Object},date:{type:Object}},emits:["pick"],setup(e,t){const{lang:n}=Tt();return{startYear:C(()=>Math.floor(e.date.year()/10)*10),getCellStyle:i=>{const l={},s=Ge().locale(n.value);return l.disabled=e.disabledDate?nD(i,n.value).every(e.disabledDate):!1,l.current=Or(e.parsedValue).findIndex(c=>c.year()===i)>=0,l.today=s.year()===i,l},handleYearTableClick:i=>{const l=i.target;if(l.tagName==="A"){if(oo(l.parentNode,"disabled"))return;const s=l.textContent||l.innerText;t.emit("pick",Number(s))}}}}}),rD={class:"cell"},aD={class:"cell"},iD={class:"cell"},lD={class:"cell"},sD={class:"cell"},cD={class:"cell"},dD={class:"cell"},uD={class:"cell"},pD={class:"cell"},fD={class:"cell"},hD=R("td",null,null,-1),mD=R("td",null,null,-1);function gD(e,t,n,o,r,a){return w(),I("table",{class:"el-year-table",onClick:t[0]||(t[0]=(...i)=>e.handleYearTableClick&&e.handleYearTableClick(...i))},[R("tbody",null,[R("tr",null,[R("td",{class:S(["available",e.getCellStyle(e.startYear+0)])},[R("a",rD,ve(e.startYear),1)],2),R("td",{class:S(["available",e.getCellStyle(e.startYear+1)])},[R("a",aD,ve(e.startYear+1),1)],2),R("td",{class:S(["available",e.getCellStyle(e.startYear+2)])},[R("a",iD,ve(e.startYear+2),1)],2),R("td",{class:S(["available",e.getCellStyle(e.startYear+3)])},[R("a",lD,ve(e.startYear+3),1)],2)]),R("tr",null,[R("td",{class:S(["available",e.getCellStyle(e.startYear+4)])},[R("a",sD,ve(e.startYear+4),1)],2),R("td",{class:S(["available",e.getCellStyle(e.startYear+5)])},[R("a",cD,ve(e.startYear+5),1)],2),R("td",{class:S(["available",e.getCellStyle(e.startYear+6)])},[R("a",dD,ve(e.startYear+6),1)],2),R("td",{class:S(["available",e.getCellStyle(e.startYear+7)])},[R("a",uD,ve(e.startYear+7),1)],2)]),R("tr",null,[R("td",{class:S(["available",e.getCellStyle(e.startYear+8)])},[R("a",pD,ve(e.startYear+8),1)],2),R("td",{class:S(["available",e.getCellStyle(e.startYear+9)])},[R("a",fD,ve(e.startYear+9),1)],2),hD,mD])])])}var bD=_e(oD,[["render",gD],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const vD=(e,t,n)=>!0,yD=ee({components:{DateTable:G0,ElInput:Gn,ElButton:Vn,ElIcon:qe,TimePickPanel:Sp,MonthTable:X0,YearTable:bD,DArrowLeft:oc,ArrowLeft:Xr,DArrowRight:rc,ArrowRight:Yn},directives:{clickoutside:Jr},props:{visible:{type:Boolean,default:!1},parsedValue:{type:[Object,Array]},format:{type:String,default:""},type:{type:String,required:!0,validator:ny}},emits:["pick","set-picker-option","panel-change"],setup(e,t){const{t:n,lang:o}=Tt(),r=Ie("EP_PICKER_BASE"),a=Ie(fc),{shortcuts:i,disabledDate:l,cellClassName:s,defaultTime:c,arrowControl:d}=r.props,u=Yt(r.props,"defaultValue"),p=A(Ge().locale(o.value)),f=C(()=>Ge(c).locale(o.value)),h=C(()=>p.value.month()),b=C(()=>p.value.year()),m=A([]),g=A(null),v=A(null),y=te=>m.value.length>0?vD(te,m.value,e.format||"HH:mm:ss"):!0,T=te=>c&&!H.value?f.value.year(te.year()).month(te.month()).date(te.date()):Y.value?te.millisecond(0):te.startOf("day"),x=(te,...pe)=>{if(!te)t.emit("pick",te,...pe);else if(Array.isArray(te)){const De=te.map(T);t.emit("pick",De,...pe)}else t.emit("pick",T(te),...pe);g.value=null,v.value=null},k=te=>{if(V.value==="day"){let pe=e.parsedValue?e.parsedValue.year(te.year()).month(te.month()).date(te.date()):te;y(pe)||(pe=m.value[0][0].year(te.year()).month(te.month()).date(te.date())),p.value=pe,x(pe,Y.value)}else V.value==="week"?x(te.date):V.value==="dates"&&x(te,!0)},$=()=>{p.value=p.value.subtract(1,"month"),ae("month")},z=()=>{p.value=p.value.add(1,"month"),ae("month")},P=()=>{D.value==="year"?p.value=p.value.subtract(10,"year"):p.value=p.value.subtract(1,"year"),ae("year")},O=()=>{D.value==="year"?p.value=p.value.add(10,"year"):p.value=p.value.add(1,"year"),ae("year")},D=A("date"),L=C(()=>{const te=n("el.datepicker.year");if(D.value==="year"){const pe=Math.floor(b.value/10)*10;return te?`${pe} ${te} - ${pe+9} ${te}`:`${pe} - ${pe+9}`}return`${b.value} ${te}`}),F=te=>{const pe=typeof te.value=="function"?te.value():te.value;if(pe){x(Ge(pe).locale(o.value));return}te.onClick&&te.onClick(t)},V=C(()=>["week","month","year","dates"].includes(e.type)?e.type:"day");ge(()=>V.value,te=>{if(["month","year"].includes(te)){D.value=te;return}D.value="date"},{immediate:!0}),ge(()=>D.value,()=>{a==null||a.updatePopper()});const q=C(()=>!!i.length),M=te=>{p.value=p.value.startOf("month").month(te),V.value==="month"?x(p.value):D.value="date",ae("month")},E=te=>{V.value==="year"?(p.value=p.value.startOf("year").year(te),x(p.value)):(p.value=p.value.year(te),D.value="month"),ae("year")},N=()=>{D.value="month"},W=()=>{D.value="year"},Y=C(()=>e.type==="datetime"||e.type==="datetimerange"),J=C(()=>Y.value||V.value==="dates"),Z=()=>{if(V.value==="dates")x(e.parsedValue);else{let te=e.parsedValue;if(!te){const pe=Ge(c).locale(o.value),De=we();te=pe.year(De.year()).month(De.month()).date(De.date())}p.value=te,x(te)}},se=()=>{const pe=Ge().locale(o.value).toDate();(!l||!l(pe))&&y(pe)&&(p.value=Ge().locale(o.value),x(p.value))},Se=C(()=>x0(e.format)),oe=C(()=>w0(e.format)),H=C(()=>{if(v.value)return v.value;if(!(!e.parsedValue&&!u.value))return(e.parsedValue||p.value).format(Se.value)}),ne=C(()=>{if(g.value)return g.value;if(!(!e.parsedValue&&!u.value))return(e.parsedValue||p.value).format(oe.value)}),ie=A(!1),be=()=>{ie.value=!0},$e=()=>{ie.value=!1},Ne=(te,pe,De)=>{const B=e.parsedValue?e.parsedValue.hour(te.hour()).minute(te.minute()).second(te.second()):te;p.value=B,x(p.value,!0),De||(ie.value=pe)},Me=te=>{const pe=Ge(te,Se.value).locale(o.value);pe.isValid()&&y(pe)&&(p.value=pe.year(p.value.year()).month(p.value.month()).date(p.value.date()),v.value=null,ie.value=!1,x(p.value,!0))},j=te=>{const pe=Ge(te,oe.value).locale(o.value);if(pe.isValid()){if(l&&l(pe.toDate()))return;p.value=pe.hour(p.value.hour()).minute(p.value.minute()).second(p.value.second()),g.value=null,x(p.value,!0)}},X=te=>Ge.isDayjs(te)&&te.isValid()&&(l?!l(te.toDate()):!0),de=te=>V.value==="dates"?te.map(pe=>pe.format(e.format)):te.format(e.format),xe=te=>Ge(te,e.format).locale(o.value),we=()=>{const te=Ge(u.value).locale(o.value);if(!u.value){const pe=f.value;return Ge().hour(pe.hour()).minute(pe.minute()).second(pe.second()).locale(o.value)}return te},Ae=te=>{const{code:pe,keyCode:De}=te,B=[Pe.up,Pe.down,Pe.left,Pe.right];e.visible&&!ie.value&&(B.includes(pe)&&(ce(De),te.stopPropagation(),te.preventDefault()),pe===Pe.enter&&g.value===null&&v.value===null&&x(p,!1))},ce=te=>{const pe={year:{38:-4,40:4,37:-1,39:1,offset:(B,me)=>B.setFullYear(B.getFullYear()+me)},month:{38:-4,40:4,37:-1,39:1,offset:(B,me)=>B.setMonth(B.getMonth()+me)},week:{38:-1,40:1,37:-1,39:1,offset:(B,me)=>B.setDate(B.getDate()+me*7)},day:{38:-7,40:7,37:-1,39:1,offset:(B,me)=>B.setDate(B.getDate()+me)}},De=p.value.toDate();for(;Math.abs(p.value.diff(De,"year",!0))<1;){const B=pe[V.value];if(B.offset(De,B[te]),l&&l(De))continue;const me=Ge(De).locale(o.value);p.value=me,t.emit("pick",me,!0);break}},ae=te=>{t.emit("panel-change",p.value.toDate(),te,D.value)};return t.emit("set-picker-option",["isValidValue",X]),t.emit("set-picker-option",["formatToString",de]),t.emit("set-picker-option",["parseUserInput",xe]),t.emit("set-picker-option",["handleKeydown",Ae]),ge(()=>u.value,te=>{te&&(p.value=we())},{immediate:!0}),ge(()=>e.parsedValue,te=>{if(te){if(V.value==="dates"||Array.isArray(te))return;p.value=te}else p.value=we()},{immediate:!0}),{handleTimePick:Ne,handleTimePickClose:$e,onTimePickerInputFocus:be,timePickerVisible:ie,visibleTime:H,visibleDate:ne,showTime:Y,changeToNow:se,onConfirm:Z,footerVisible:J,handleYearPick:E,showMonthPicker:N,showYearPicker:W,handleMonthPick:M,hasShortcuts:q,shortcuts:i,arrowControl:d,disabledDate:l,cellClassName:s,selectionMode:V,handleShortcutClick:F,prevYear_:P,nextYear_:O,prevMonth_:$,nextMonth_:z,innerDate:p,t:n,yearLabel:L,currentView:D,month:h,handleDatePick:k,handleVisibleTimeChange:Me,handleVisibleDateChange:j,timeFormat:Se,userInputTime:v,userInputDate:g}}}),_D={class:"el-picker-panel__body-wrapper"},wD={key:0,class:"el-picker-panel__sidebar"},xD=["onClick"],kD={class:"el-picker-panel__body"},TD={key:0,class:"el-date-picker__time-header"},CD={class:"el-date-picker__editor-wrap"},SD={class:"el-date-picker__editor-wrap"},$D=["aria-label"],AD=["aria-label"],ED=["aria-label"],zD=["aria-label"],ID={class:"el-picker-panel__content"},ND={class:"el-picker-panel__footer"};function MD(e,t,n,o,r,a){const i=le("el-input"),l=le("time-pick-panel"),s=le("d-arrow-left"),c=le("el-icon"),d=le("arrow-left"),u=le("d-arrow-right"),p=le("arrow-right"),f=le("date-table"),h=le("year-table"),b=le("month-table"),m=le("el-button"),g=In("clickoutside");return w(),I("div",{class:S(["el-picker-panel el-date-picker",[{"has-sidebar":e.$slots.sidebar||e.hasShortcuts,"has-time":e.showTime}]])},[R("div",_D,[ue(e.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),e.hasShortcuts?(w(),I("div",wD,[(w(!0),I(Fe,null,st(e.shortcuts,(v,y)=>(w(),I("button",{key:y,type:"button",class:"el-picker-panel__shortcut",onClick:T=>e.handleShortcutClick(v)},ve(v.text),9,xD))),128))])):G("v-if",!0),R("div",kD,[e.showTime?(w(),I("div",TD,[R("span",CD,[U(i,{placeholder:e.t("el.datepicker.selectDate"),"model-value":e.visibleDate,size:"small",onInput:t[0]||(t[0]=v=>e.userInputDate=v),onChange:e.handleVisibleDateChange},null,8,["placeholder","model-value","onChange"])]),Ue((w(),I("span",SD,[U(i,{placeholder:e.t("el.datepicker.selectTime"),"model-value":e.visibleTime,size:"small",onFocus:e.onTimePickerInputFocus,onInput:t[1]||(t[1]=v=>e.userInputTime=v),onChange:e.handleVisibleTimeChange},null,8,["placeholder","model-value","onFocus","onChange"]),U(l,{visible:e.timePickerVisible,format:e.timeFormat,"time-arrow-control":e.arrowControl,"parsed-value":e.innerDate,onPick:e.handleTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[g,e.handleTimePickClose]])])):G("v-if",!0),Ue(R("div",{class:S(["el-date-picker__header",{"el-date-picker__header--bordered":e.currentView==="year"||e.currentView==="month"}])},[R("button",{type:"button","aria-label":e.t("el.datepicker.prevYear"),class:"el-picker-panel__icon-btn el-date-picker__prev-btn d-arrow-left",onClick:t[2]||(t[2]=(...v)=>e.prevYear_&&e.prevYear_(...v))},[U(c,null,{default:K(()=>[U(s)]),_:1})],8,$D),Ue(R("button",{type:"button","aria-label":e.t("el.datepicker.prevMonth"),class:"el-picker-panel__icon-btn el-date-picker__prev-btn arrow-left",onClick:t[3]||(t[3]=(...v)=>e.prevMonth_&&e.prevMonth_(...v))},[U(c,null,{default:K(()=>[U(d)]),_:1})],8,AD),[[ft,e.currentView==="date"]]),R("span",{role:"button",class:"el-date-picker__header-label",onClick:t[4]||(t[4]=(...v)=>e.showYearPicker&&e.showYearPicker(...v))},ve(e.yearLabel),1),Ue(R("span",{role:"button",class:S(["el-date-picker__header-label",{active:e.currentView==="month"}]),onClick:t[5]||(t[5]=(...v)=>e.showMonthPicker&&e.showMonthPicker(...v))},ve(e.t(`el.datepicker.month${e.month+1}`)),3),[[ft,e.currentView==="date"]]),R("button",{type:"button","aria-label":e.t("el.datepicker.nextYear"),class:"el-picker-panel__icon-btn el-date-picker__next-btn d-arrow-right",onClick:t[6]||(t[6]=(...v)=>e.nextYear_&&e.nextYear_(...v))},[U(c,null,{default:K(()=>[U(u)]),_:1})],8,ED),Ue(R("button",{type:"button","aria-label":e.t("el.datepicker.nextMonth"),class:"el-picker-panel__icon-btn el-date-picker__next-btn arrow-right",onClick:t[7]||(t[7]=(...v)=>e.nextMonth_&&e.nextMonth_(...v))},[U(c,null,{default:K(()=>[U(p)]),_:1})],8,zD),[[ft,e.currentView==="date"]])],2),[[ft,e.currentView!=="time"]]),R("div",ID,[e.currentView==="date"?(w(),Q(f,{key:0,"selection-mode":e.selectionMode,date:e.innerDate,"parsed-value":e.parsedValue,"disabled-date":e.disabledDate,onPick:e.handleDatePick},null,8,["selection-mode","date","parsed-value","disabled-date","onPick"])):G("v-if",!0),e.currentView==="year"?(w(),Q(h,{key:1,date:e.innerDate,"disabled-date":e.disabledDate,"parsed-value":e.parsedValue,onPick:e.handleYearPick},null,8,["date","disabled-date","parsed-value","onPick"])):G("v-if",!0),e.currentView==="month"?(w(),Q(b,{key:2,date:e.innerDate,"parsed-value":e.parsedValue,"disabled-date":e.disabledDate,onPick:e.handleMonthPick},null,8,["date","parsed-value","disabled-date","onPick"])):G("v-if",!0)])])]),Ue(R("div",ND,[Ue(U(m,{size:"small",type:"text",class:"el-picker-panel__link-btn",onClick:e.changeToNow},{default:K(()=>[ct(ve(e.t("el.datepicker.now")),1)]),_:1},8,["onClick"]),[[ft,e.selectionMode!=="dates"]]),U(m,{plain:"",size:"small",class:"el-picker-panel__link-btn",onClick:e.onConfirm},{default:K(()=>[ct(ve(e.t("el.datepicker.confirm")),1)]),_:1},8,["onClick"])],512),[[ft,e.footerVisible&&e.currentView==="date"]])],2)}var RD=_e(yD,[["render",MD],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const PD=ee({directives:{clickoutside:Jr},components:{TimePickPanel:Sp,DateTable:G0,ElInput:Gn,ElButton:Vn,ElIcon:qe,DArrowLeft:oc,ArrowLeft:Xr,DArrowRight:rc,ArrowRight:Yn},props:{unlinkPanels:Boolean,parsedValue:{type:Array},type:{type:String,required:!0,validator:ny}},emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,t){const{t:n,lang:o}=Tt(),r=A(Ge().locale(o.value)),a=A(Ge().locale(o.value).add(1,"month")),i=A(null),l=A(null),s=A({min:null,max:null}),c=A({min:null,max:null}),d=C(()=>`${r.value.year()} ${n("el.datepicker.year")} ${n(`el.datepicker.month${r.value.month()+1}`)}`),u=C(()=>`${a.value.year()} ${n("el.datepicker.year")} ${n(`el.datepicker.month${a.value.month()+1}`)}`),p=C(()=>r.value.year()),f=C(()=>r.value.month()),h=C(()=>a.value.year()),b=C(()=>a.value.month()),m=C(()=>!!De.length),g=C(()=>s.value.min!==null?s.value.min:i.value?i.value.format(k.value):""),v=C(()=>s.value.max!==null?s.value.max:l.value||i.value?(l.value||i.value).format(k.value):""),y=C(()=>c.value.min!==null?c.value.min:i.value?i.value.format(x.value):""),T=C(()=>c.value.max!==null?c.value.max:l.value||i.value?(l.value||i.value).format(x.value):""),x=C(()=>x0(Be)),k=C(()=>w0(Be)),$=()=>{r.value=r.value.subtract(1,"year"),e.unlinkPanels||(a.value=r.value.add(1,"month")),q("year")},z=()=>{r.value=r.value.subtract(1,"month"),e.unlinkPanels||(a.value=r.value.add(1,"month")),q("month")},P=()=>{e.unlinkPanels?a.value=a.value.add(1,"year"):(r.value=r.value.add(1,"year"),a.value=r.value.add(1,"month")),q("year")},O=()=>{e.unlinkPanels?a.value=a.value.add(1,"month"):(r.value=r.value.add(1,"month"),a.value=r.value.add(1,"month")),q("month")},D=()=>{r.value=r.value.add(1,"year"),q("year")},L=()=>{r.value=r.value.add(1,"month"),q("month")},F=()=>{a.value=a.value.subtract(1,"year"),q("year")},V=()=>{a.value=a.value.subtract(1,"month"),q("month")},q=fe=>{t.emit("panel-change",[r.value.toDate(),a.value.toDate()],fe)},M=C(()=>{const fe=(f.value+1)%12,Ee=f.value+1>=12?1:0;return e.unlinkPanels&&new Date(p.value+Ee,fe)e.unlinkPanels&&h.value*12+b.value-(p.value*12+f.value+1)>=12),N=fe=>Array.isArray(fe)&&fe[0]&&fe[1]&&fe[0].valueOf()<=fe[1].valueOf(),W=A({endDate:null,selecting:!1}),Y=C(()=>!(i.value&&l.value&&!W.value.selecting&&N([i.value,l.value]))),J=fe=>{W.value=fe},Z=fe=>{W.value.selecting=fe,fe||(W.value.endDate=null)},se=C(()=>e.type==="datetime"||e.type==="datetimerange"),Se=(fe=!1)=>{N([i.value,l.value])&&t.emit("pick",[i.value,l.value],fe)},oe=(fe,Ee)=>{if(!!fe)return Ze?Ge(Ze[Ee]||Ze).locale(o.value).year(fe.year()).month(fe.month()).date(fe.date()):fe},H=(fe,Ee=!0)=>{const We=fe.minDate,gt=fe.maxDate,Ct=oe(We,0),_t=oe(gt,1);l.value===_t&&i.value===Ct||(t.emit("calendar-change",[We.toDate(),gt&>.toDate()]),l.value=_t,i.value=Ct,!(!Ee||se.value)&&Se())},ne=fe=>{const Ee=typeof fe.value=="function"?fe.value():fe.value;if(Ee){t.emit("pick",[Ge(Ee[0]).locale(o.value),Ge(Ee[1]).locale(o.value)]);return}fe.onClick&&fe.onClick(t)},ie=A(!1),be=A(!1),$e=()=>{ie.value=!1},Ne=()=>{be.value=!1},Me=(fe,Ee)=>{s.value[Ee]=fe;const We=Ge(fe,k.value).locale(o.value);if(We.isValid()){if(B&&B(We.toDate()))return;Ee==="min"?(r.value=We,i.value=(i.value||r.value).year(We.year()).month(We.month()).date(We.date()),e.unlinkPanels||(a.value=We.add(1,"month"),l.value=i.value.add(1,"month"))):(a.value=We,l.value=(l.value||a.value).year(We.year()).month(We.month()).date(We.date()),e.unlinkPanels||(r.value=We.subtract(1,"month"),i.value=l.value.subtract(1,"month")))}},j=(fe,Ee)=>{s.value[Ee]=null},X=(fe,Ee)=>{c.value[Ee]=fe;const We=Ge(fe,x.value).locale(o.value);We.isValid()&&(Ee==="min"?(ie.value=!0,i.value=(i.value||r.value).hour(We.hour()).minute(We.minute()).second(We.second()),(!l.value||l.value.isBefore(i.value))&&(l.value=i.value)):(be.value=!0,l.value=(l.value||a.value).hour(We.hour()).minute(We.minute()).second(We.second()),a.value=l.value,l.value&&l.value.isBefore(i.value)&&(i.value=l.value)))},de=(fe,Ee)=>{c.value[Ee]=null,Ee==="min"?(r.value=i.value,ie.value=!1):(a.value=l.value,be.value=!1)},xe=(fe,Ee,We)=>{c.value.min||(fe&&(r.value=fe,i.value=(i.value||r.value).hour(fe.hour()).minute(fe.minute()).second(fe.second())),We||(ie.value=Ee),(!l.value||l.value.isBefore(i.value))&&(l.value=i.value,a.value=fe))},we=(fe,Ee,We)=>{c.value.max||(fe&&(a.value=fe,l.value=(l.value||a.value).hour(fe.hour()).minute(fe.minute()).second(fe.second())),We||(be.value=Ee),l.value&&l.value.isBefore(i.value)&&(i.value=l.value))},Ae=()=>{r.value=te()[0],a.value=r.value.add(1,"month"),t.emit("pick",null)},ce=fe=>Array.isArray(fe)?fe.map(Ee=>Ee.format(Be)):fe.format(Be),ae=fe=>Array.isArray(fe)?fe.map(Ee=>Ge(Ee,Be).locale(o.value)):Ge(fe,Be).locale(o.value),te=()=>{let fe;if(Array.isArray(ye.value)){const Ee=Ge(ye.value[0]);let We=Ge(ye.value[1]);return e.unlinkPanels||(We=Ee.add(1,"month")),[Ee,We]}else ye.value?fe=Ge(ye.value):fe=Ge();return fe=fe.locale(o.value),[fe,fe.add(1,"month")]};t.emit("set-picker-option",["isValidValue",N]),t.emit("set-picker-option",["parseUserInput",ae]),t.emit("set-picker-option",["formatToString",ce]),t.emit("set-picker-option",["handleClear",Ae]);const pe=Ie("EP_PICKER_BASE"),{shortcuts:De,disabledDate:B,cellClassName:me,format:Be,defaultTime:Ze,arrowControl:Ve,clearable:re}=pe.props,ye=Yt(pe.props,"defaultValue");return ge(()=>ye.value,fe=>{if(fe){const Ee=te();i.value=null,l.value=null,r.value=Ee[0],a.value=Ee[1]}},{immediate:!0}),ge(()=>e.parsedValue,fe=>{if(fe&&fe.length===2)if(i.value=fe[0],l.value=fe[1],r.value=i.value,e.unlinkPanels&&l.value){const Ee=i.value.year(),We=i.value.month(),gt=l.value.year(),Ct=l.value.month();a.value=Ee===gt&&We===Ct?l.value.add(1,"month"):l.value}else a.value=r.value.add(1,"month"),l.value&&(a.value=a.value.hour(l.value.hour()).minute(l.value.minute()).second(l.value.second()));else{const Ee=te();i.value=null,l.value=null,r.value=Ee[0],a.value=Ee[1]}},{immediate:!0}),{shortcuts:De,disabledDate:B,cellClassName:me,minTimePickerVisible:ie,maxTimePickerVisible:be,handleMinTimeClose:$e,handleMaxTimeClose:Ne,handleShortcutClick:ne,rangeState:W,minDate:i,maxDate:l,handleRangePick:H,onSelect:Z,handleChangeRange:J,btnDisabled:Y,enableYearArrow:E,enableMonthArrow:M,rightPrevMonth:V,rightPrevYear:F,rightNextMonth:O,rightNextYear:P,leftPrevMonth:z,leftPrevYear:$,leftNextMonth:L,leftNextYear:D,hasShortcuts:m,leftLabel:d,rightLabel:u,leftDate:r,rightDate:a,showTime:se,t:n,minVisibleDate:g,maxVisibleDate:v,minVisibleTime:y,maxVisibleTime:T,arrowControl:Ve,handleDateInput:Me,handleDateChange:j,handleTimeInput:X,handleTimeChange:de,handleMinTimePick:xe,handleMaxTimePick:we,handleClear:Ae,handleConfirm:Se,timeFormat:x,clearable:re}}}),OD={class:"el-picker-panel__body-wrapper"},FD={key:0,class:"el-picker-panel__sidebar"},DD=["onClick"],LD={class:"el-picker-panel__body"},VD={key:0,class:"el-date-range-picker__time-header"},BD={class:"el-date-range-picker__editors-wrap"},jD={class:"el-date-range-picker__time-picker-wrap"},HD={class:"el-date-range-picker__time-picker-wrap"},qD={class:"el-date-range-picker__editors-wrap is-right"},KD={class:"el-date-range-picker__time-picker-wrap"},WD={class:"el-date-range-picker__time-picker-wrap"},UD={class:"el-picker-panel__content el-date-range-picker__content is-left"},YD={class:"el-date-range-picker__header"},GD=["disabled"],XD=["disabled"],ZD={class:"el-picker-panel__content el-date-range-picker__content is-right"},JD={class:"el-date-range-picker__header"},QD=["disabled"],e7=["disabled"],t7={key:0,class:"el-picker-panel__footer"};function n7(e,t,n,o,r,a){const i=le("el-input"),l=le("time-pick-panel"),s=le("arrow-right"),c=le("el-icon"),d=le("d-arrow-left"),u=le("arrow-left"),p=le("d-arrow-right"),f=le("date-table"),h=le("el-button"),b=In("clickoutside");return w(),I("div",{class:S(["el-picker-panel el-date-range-picker",[{"has-sidebar":e.$slots.sidebar||e.hasShortcuts,"has-time":e.showTime}]])},[R("div",OD,[ue(e.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),e.hasShortcuts?(w(),I("div",FD,[(w(!0),I(Fe,null,st(e.shortcuts,(m,g)=>(w(),I("button",{key:g,type:"button",class:"el-picker-panel__shortcut",onClick:v=>e.handleShortcutClick(m)},ve(m.text),9,DD))),128))])):G("v-if",!0),R("div",LD,[e.showTime?(w(),I("div",VD,[R("span",BD,[R("span",jD,[U(i,{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startDate"),class:"el-date-range-picker__editor","model-value":e.minVisibleDate,onInput:t[0]||(t[0]=m=>e.handleDateInput(m,"min")),onChange:t[1]||(t[1]=m=>e.handleDateChange(m,"min"))},null,8,["disabled","placeholder","model-value"])]),Ue((w(),I("span",HD,[U(i,{size:"small",class:"el-date-range-picker__editor",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startTime"),"model-value":e.minVisibleTime,onFocus:t[2]||(t[2]=m=>e.minTimePickerVisible=!0),onInput:t[3]||(t[3]=m=>e.handleTimeInput(m,"min")),onChange:t[4]||(t[4]=m=>e.handleTimeChange(m,"min"))},null,8,["disabled","placeholder","model-value"]),U(l,{visible:e.minTimePickerVisible,format:e.timeFormat,"datetime-role":"start","time-arrow-control":e.arrowControl,"parsed-value":e.leftDate,onPick:e.handleMinTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[b,e.handleMinTimeClose]])]),R("span",null,[U(c,null,{default:K(()=>[U(s)]),_:1})]),R("span",qD,[R("span",KD,[U(i,{size:"small",class:"el-date-range-picker__editor",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endDate"),"model-value":e.maxVisibleDate,readonly:!e.minDate,onInput:t[5]||(t[5]=m=>e.handleDateInput(m,"max")),onChange:t[6]||(t[6]=m=>e.handleDateChange(m,"max"))},null,8,["disabled","placeholder","model-value","readonly"])]),Ue((w(),I("span",WD,[U(i,{size:"small",class:"el-date-range-picker__editor",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endTime"),"model-value":e.maxVisibleTime,readonly:!e.minDate,onFocus:t[7]||(t[7]=m=>e.minDate&&(e.maxTimePickerVisible=!0)),onInput:t[8]||(t[8]=m=>e.handleTimeInput(m,"max")),onChange:t[9]||(t[9]=m=>e.handleTimeChange(m,"max"))},null,8,["disabled","placeholder","model-value","readonly"]),U(l,{"datetime-role":"end",visible:e.maxTimePickerVisible,format:e.timeFormat,"time-arrow-control":e.arrowControl,"parsed-value":e.rightDate,onPick:e.handleMaxTimePick},null,8,["visible","format","time-arrow-control","parsed-value","onPick"])])),[[b,e.handleMaxTimeClose]])])])):G("v-if",!0),R("div",UD,[R("div",YD,[R("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-left",onClick:t[10]||(t[10]=(...m)=>e.leftPrevYear&&e.leftPrevYear(...m))},[U(c,null,{default:K(()=>[U(d)]),_:1})]),R("button",{type:"button",class:"el-picker-panel__icon-btn arrow-left",onClick:t[11]||(t[11]=(...m)=>e.leftPrevMonth&&e.leftPrevMonth(...m))},[U(c,null,{default:K(()=>[U(u)]),_:1})]),e.unlinkPanels?(w(),I("button",{key:0,type:"button",disabled:!e.enableYearArrow,class:S([{"is-disabled":!e.enableYearArrow},"el-picker-panel__icon-btn d-arrow-right"]),onClick:t[12]||(t[12]=(...m)=>e.leftNextYear&&e.leftNextYear(...m))},[U(c,null,{default:K(()=>[U(p)]),_:1})],10,GD)):G("v-if",!0),e.unlinkPanels?(w(),I("button",{key:1,type:"button",disabled:!e.enableMonthArrow,class:S([{"is-disabled":!e.enableMonthArrow},"el-picker-panel__icon-btn arrow-right"]),onClick:t[13]||(t[13]=(...m)=>e.leftNextMonth&&e.leftNextMonth(...m))},[U(c,null,{default:K(()=>[U(s)]),_:1})],10,XD)):G("v-if",!0),R("div",null,ve(e.leftLabel),1)]),U(f,{"selection-mode":"range",date:e.leftDate,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,onChangerange:e.handleChangeRange,onPick:e.handleRangePick,onSelect:e.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onPick","onSelect"])]),R("div",ZD,[R("div",JD,[e.unlinkPanels?(w(),I("button",{key:0,type:"button",disabled:!e.enableYearArrow,class:S([{"is-disabled":!e.enableYearArrow},"el-picker-panel__icon-btn d-arrow-left"]),onClick:t[14]||(t[14]=(...m)=>e.rightPrevYear&&e.rightPrevYear(...m))},[U(c,null,{default:K(()=>[U(d)]),_:1})],10,QD)):G("v-if",!0),e.unlinkPanels?(w(),I("button",{key:1,type:"button",disabled:!e.enableMonthArrow,class:S([{"is-disabled":!e.enableMonthArrow},"el-picker-panel__icon-btn arrow-left"]),onClick:t[15]||(t[15]=(...m)=>e.rightPrevMonth&&e.rightPrevMonth(...m))},[U(c,null,{default:K(()=>[U(u)]),_:1})],10,e7)):G("v-if",!0),R("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-right",onClick:t[16]||(t[16]=(...m)=>e.rightNextYear&&e.rightNextYear(...m))},[U(c,null,{default:K(()=>[U(p)]),_:1})]),R("button",{type:"button",class:"el-picker-panel__icon-btn arrow-right",onClick:t[17]||(t[17]=(...m)=>e.rightNextMonth&&e.rightNextMonth(...m))},[U(c,null,{default:K(()=>[U(s)]),_:1})]),R("div",null,ve(e.rightLabel),1)]),U(f,{"selection-mode":"range",date:e.rightDate,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,onChangerange:e.handleChangeRange,onPick:e.handleRangePick,onSelect:e.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onPick","onSelect"])])])]),e.showTime?(w(),I("div",t7,[e.clearable?(w(),Q(h,{key:0,size:"small",type:"text",class:"el-picker-panel__link-btn",onClick:e.handleClear},{default:K(()=>[ct(ve(e.t("el.datepicker.clear")),1)]),_:1},8,["onClick"])):G("v-if",!0),U(h,{plain:"",size:"small",class:"el-picker-panel__link-btn",disabled:e.btnDisabled,onClick:t[18]||(t[18]=m=>e.handleConfirm(!1))},{default:K(()=>[ct(ve(e.t("el.datepicker.confirm")),1)]),_:1},8,["disabled"])])):G("v-if",!0)],2)}var o7=_e(PD,[["render",n7],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const r7=ee({components:{MonthTable:X0,ElIcon:qe,DArrowLeft:oc,DArrowRight:rc},props:{unlinkPanels:Boolean,parsedValue:{type:Array}},emits:["pick","set-picker-option"],setup(e,t){const{t:n,lang:o}=Tt(),r=A(Ge().locale(o.value)),a=A(Ge().locale(o.value).add(1,"year")),i=C(()=>!!L.length),l=M=>{const E=typeof M.value=="function"?M.value():M.value;if(E){t.emit("pick",[Ge(E[0]).locale(o.value),Ge(E[1]).locale(o.value)]);return}M.onClick&&M.onClick(t)},s=()=>{r.value=r.value.subtract(1,"year"),e.unlinkPanels||(a.value=a.value.subtract(1,"year"))},c=()=>{e.unlinkPanels||(r.value=r.value.add(1,"year")),a.value=a.value.add(1,"year")},d=()=>{r.value=r.value.add(1,"year")},u=()=>{a.value=a.value.subtract(1,"year")},p=C(()=>`${r.value.year()} ${n("el.datepicker.year")}`),f=C(()=>`${a.value.year()} ${n("el.datepicker.year")}`),h=C(()=>r.value.year()),b=C(()=>a.value.year()===r.value.year()?r.value.year()+1:a.value.year()),m=C(()=>e.unlinkPanels&&b.value>h.value+1),g=A(null),v=A(null),y=A({endDate:null,selecting:!1}),T=M=>{y.value=M},x=(M,E=!0)=>{const N=M.minDate,W=M.maxDate;v.value===W&&g.value===N||(v.value=W,g.value=N,E&&$())},k=M=>Array.isArray(M)&&M&&M[0]&&M[1]&&M[0].valueOf()<=M[1].valueOf(),$=(M=!1)=>{k([g.value,v.value])&&t.emit("pick",[g.value,v.value],M)},z=M=>{y.value.selecting=M,M||(y.value.endDate=null)},P=M=>M.map(E=>E.format(V)),O=()=>{let M;if(Array.isArray(q.value)){const E=Ge(q.value[0]);let N=Ge(q.value[1]);return e.unlinkPanels||(N=E.add(1,"year")),[E,N]}else q.value?M=Ge(q.value):M=Ge();return M=M.locale(o.value),[M,M.add(1,"year")]};t.emit("set-picker-option",["formatToString",P]);const D=Ie("EP_PICKER_BASE"),{shortcuts:L,disabledDate:F,format:V}=D.props,q=Yt(D.props,"defaultValue");return ge(()=>q.value,M=>{if(M){const E=O();r.value=E[0],a.value=E[1]}},{immediate:!0}),ge(()=>e.parsedValue,M=>{if(M&&M.length===2)if(g.value=M[0],v.value=M[1],r.value=g.value,e.unlinkPanels&&v.value){const E=g.value.year(),N=v.value.year();a.value=E===N?v.value.add(1,"year"):v.value}else a.value=r.value.add(1,"year");else{const E=O();g.value=null,v.value=null,r.value=E[0],a.value=E[1]}},{immediate:!0}),{shortcuts:L,disabledDate:F,onSelect:z,handleRangePick:x,rangeState:y,handleChangeRange:T,minDate:g,maxDate:v,enableYearArrow:m,leftLabel:p,rightLabel:f,leftNextYear:d,leftPrevYear:s,rightNextYear:c,rightPrevYear:u,t:n,leftDate:r,rightDate:a,hasShortcuts:i,handleShortcutClick:l}}}),a7={class:"el-picker-panel__body-wrapper"},i7={key:0,class:"el-picker-panel__sidebar"},l7=["onClick"],s7={class:"el-picker-panel__body"},c7={class:"el-picker-panel__content el-date-range-picker__content is-left"},d7={class:"el-date-range-picker__header"},u7=["disabled"],p7={class:"el-picker-panel__content el-date-range-picker__content is-right"},f7={class:"el-date-range-picker__header"},h7=["disabled"];function m7(e,t,n,o,r,a){const i=le("d-arrow-left"),l=le("el-icon"),s=le("d-arrow-right"),c=le("month-table");return w(),I("div",{class:S(["el-picker-panel el-date-range-picker",[{"has-sidebar":e.$slots.sidebar||e.hasShortcuts}]])},[R("div",a7,[ue(e.$slots,"sidebar",{class:"el-picker-panel__sidebar"}),e.hasShortcuts?(w(),I("div",i7,[(w(!0),I(Fe,null,st(e.shortcuts,(d,u)=>(w(),I("button",{key:u,type:"button",class:"el-picker-panel__shortcut",onClick:p=>e.handleShortcutClick(d)},ve(d.text),9,l7))),128))])):G("v-if",!0),R("div",s7,[R("div",c7,[R("div",d7,[R("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-left",onClick:t[0]||(t[0]=(...d)=>e.leftPrevYear&&e.leftPrevYear(...d))},[U(l,null,{default:K(()=>[U(i)]),_:1})]),e.unlinkPanels?(w(),I("button",{key:0,type:"button",disabled:!e.enableYearArrow,class:S([{"is-disabled":!e.enableYearArrow},"el-picker-panel__icon-btn d-arrow-right"]),onClick:t[1]||(t[1]=(...d)=>e.leftNextYear&&e.leftNextYear(...d))},[U(l,null,{default:K(()=>[U(s)]),_:1})],10,u7)):G("v-if",!0),R("div",null,ve(e.leftLabel),1)]),U(c,{"selection-mode":"range",date:e.leftDate,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,onChangerange:e.handleChangeRange,onPick:e.handleRangePick,onSelect:e.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onPick","onSelect"])]),R("div",p7,[R("div",f7,[e.unlinkPanels?(w(),I("button",{key:0,type:"button",disabled:!e.enableYearArrow,class:S([{"is-disabled":!e.enableYearArrow},"el-picker-panel__icon-btn d-arrow-left"]),onClick:t[2]||(t[2]=(...d)=>e.rightPrevYear&&e.rightPrevYear(...d))},[U(l,null,{default:K(()=>[U(i)]),_:1})],10,h7)):G("v-if",!0),R("button",{type:"button",class:"el-picker-panel__icon-btn d-arrow-right",onClick:t[3]||(t[3]=(...d)=>e.rightNextYear&&e.rightNextYear(...d))},[U(l,null,{default:K(()=>[U(s)]),_:1})]),R("div",null,ve(e.rightLabel),1)]),U(c,{"selection-mode":"range",date:e.rightDate,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,onChangerange:e.handleChangeRange,onPick:e.handleRangePick,onSelect:e.onSelect},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onPick","onSelect"])])])])],2)}var g7=_e(r7,[["render",m7],["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);Ge.extend(a0);Ge.extend(jF);Ge.extend(Tp);Ge.extend(HF);Ge.extend(qF);Ge.extend(KF);Ge.extend(WF);Ge.extend(UF);const b7=function(e){return e==="daterange"||e==="datetimerange"?o7:e==="monthrange"?g7:RD};var v7=ee({name:"ElDatePicker",install:null,props:ze(he({},Cp),{type:{type:String,default:"date"}}),emits:["update:modelValue"],setup(e,t){ot("ElPopperOptions",e.popperOptions),ot(Y0,{ctx:t});const n=A(null),o=ze(he({},e),{focus:(r=!0)=>{var a;(a=n.value)==null||a.focus(r)}});return t.expose(o),()=>{var r;const a=(r=e.format)!=null?r:aR[e.type]||ii;return Re(l0,ze(he({},e),{format:a,type:e.type,ref:n,"onUpdate:modelValue":i=>t.emit("update:modelValue",i)}),{default:i=>Re(b7(e.type),i),"range-separator":()=>ue(t.slots,"range-separator")})}}});const Jl=v7;Jl.install=e=>{e.component(Jl.name,Jl)};const y7=Jl,zp="elDescriptions";var qm=ee({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String},type:{type:String}},setup(){return{descriptions:Ie(zp,{})}},render(){var e,t,n,o,r,a;const i=zz(this.cell),{border:l,direction:s}=this.descriptions,c=s==="vertical",d=((n=(t=(e=this.cell)==null?void 0:e.children)==null?void 0:t.label)==null?void 0:n.call(t))||i.label,u=(a=(r=(o=this.cell)==null?void 0:o.children)==null?void 0:r.default)==null?void 0:a.call(r),p=i.span,f=i.align?`is-${i.align}`:"",h=i.labelAlign?`is-${i.labelAlign}`:f,b=i.className,m=i.labelClassName,g={width:io(i.width),minWidth:io(i.minWidth)},v=ke("descriptions");switch(this.type){case"label":return Re(this.tag,{style:g,class:[v.e("cell"),v.e("label"),v.is("bordered-label",l),v.is("vertical-label",c),h,m],colSpan:c?p:1},d);case"content":return Re(this.tag,{style:g,class:[v.e("cell"),v.e("content"),v.is("bordered-content",l),v.is("vertical-content",c),f,b],colSpan:c?p:p*2-1},u);default:return Re("td",{style:g,class:[v.e("cell"),f],colSpan:p},[Re("span",{class:[v.e("label"),m]},d),Re("span",{class:[v.e("content"),b]},u)])}}});const _7=ee({name:"ElDescriptionsRow",components:{[qm.name]:qm},props:{row:{type:Array}},setup(){return{descriptions:Ie(zp,{})}}}),w7={key:1};function x7(e,t,n,o,r,a){const i=le("el-descriptions-cell");return e.descriptions.direction==="vertical"?(w(),I(Fe,{key:0},[R("tr",null,[(w(!0),I(Fe,null,st(e.row,(l,s)=>(w(),Q(i,{key:`tr1-${s}`,cell:l,tag:"th",type:"label"},null,8,["cell"]))),128))]),R("tr",null,[(w(!0),I(Fe,null,st(e.row,(l,s)=>(w(),Q(i,{key:`tr2-${s}`,cell:l,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(w(),I("tr",w7,[(w(!0),I(Fe,null,st(e.row,(l,s)=>(w(),I(Fe,{key:`tr3-${s}`},[e.descriptions.border?(w(),I(Fe,{key:0},[U(i,{cell:l,tag:"td",type:"label"},null,8,["cell"]),U(i,{cell:l,tag:"td",type:"content"},null,8,["cell"])],64)):(w(),Q(i,{key:1,cell:l,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}var Km=_e(_7,[["render",x7],["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const k7=ee({name:"ElDescriptions",components:{[Km.name]:Km},props:{border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,default:"horizontal"},size:{type:String,validator:Nn},title:{type:String,default:""},extra:{type:String,default:""}},setup(e,{slots:t}){ot(zp,e);const n=Ut(),o=ke("descriptions"),r=C(()=>[o.b(),o.is(o.m(n.value),!!n.value)]),a=s=>{const c=Array.isArray(s)?s:[s],d=[];return c.forEach(u=>{Array.isArray(u.children)?d.push(...a(u.children)):d.push(u)}),d},i=(s,c,d,u=!1)=>(s.props||(s.props={}),c>d&&(s.props.span=d),u&&(s.props.span=c),s);return{descriptionKls:r,getRows:()=>{var s;const c=a((s=t.default)==null?void 0:s.call(t)).filter(h=>{var b;return((b=h==null?void 0:h.type)==null?void 0:b.name)==="ElDescriptionsItem"}),d=[];let u=[],p=e.column,f=0;return c.forEach((h,b)=>{var m;const g=((m=h.props)==null?void 0:m.span)||1;if(bp?p:g),b===c.length-1){const v=e.column-f%e.column;u.push(i(h,v,p,!0)),d.push(u);return}g[ct(ve(e.title),1)])],2),R("div",{class:S(e.ns.e("extra"))},[ue(e.$slots,"extra",{},()=>[ct(ve(e.extra),1)])],2)],2)):G("v-if",!0),R("div",{class:S(e.ns.e("body"))},[R("table",{class:S([e.ns.e("table"),e.ns.is("bordered",e.border)])},[R("tbody",null,[(w(!0),I(Fe,null,st(e.getRows(),(l,s)=>(w(),Q(i,{key:s,row:l},null,8,["row"]))),128))])],2)],2)],2)}var C7=_e(k7,[["render",T7],["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/index.vue"]]),Z0=ee({name:"ElDescriptionsItem",props:{label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}});const S7=rt(C7,{DescriptionsItem:Z0}),$7=Dt(Z0),A7=Le({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:Te([String,Array,Object])},zIndex:{type:Te([String,Number])}}),E7={click:e=>e instanceof MouseEvent};var z7=ee({name:"ElOverlay",props:A7,emits:E7,setup(e,{slots:t,emit:n}){const o=ke("overlay"),r=s=>{n("click",s)},{onClick:a,onMousedown:i,onMouseup:l}=up(e.customMaskEvent?void 0:r);return()=>e.mask?U("div",{class:[o.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:a,onMousedown:i,onMouseup:l},[ue(t,"default")],On.STYLE|On.CLASS|On.PROPS,["onClick","onMouseup","onMousedown"]):Re("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ue(t,"default")])}});const Ip=z7,J0=Le({center:{type:Boolean,default:!1},closeIcon:{type:an,default:""},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),I7={close:()=>!0},N7=["aria-label"],M7={name:"ElDialogContent"},R7=ee(ze(he({},M7),{props:J0,emits:I7,setup(e){const{Close:t}=Tz,{dialogRef:n,headerRef:o,ns:r,style:a}=Ie(uy);return(i,l)=>(w(),I("div",{ref_key:"dialogRef",ref:n,class:S([_(r).b(),_(r).is("fullscreen",i.fullscreen),_(r).is("draggable",i.draggable),{[_(r).m("center")]:i.center},i.customClass]),"aria-modal":"true",role:"dialog","aria-label":i.title||"dialog",style:Oe(_(a)),onClick:l[1]||(l[1]=He(()=>{},["stop"]))},[R("div",{ref_key:"headerRef",ref:o,class:S(_(r).e("header"))},[ue(i.$slots,"title",{},()=>[R("span",{class:S(_(r).e("title"))},ve(i.title),3)])],2),R("div",{class:S(_(r).e("body"))},[ue(i.$slots,"default")],2),i.$slots.footer?(w(),I("div",{key:0,class:S(_(r).e("footer"))},[ue(i.$slots,"footer")],2)):G("v-if",!0),i.showClose?(w(),I("button",{key:1,"aria-label":"close",class:S(_(r).e("headerbtn")),type:"button",onClick:l[0]||(l[0]=s=>i.$emit("close"))},[U(_(qe),{class:S(_(r).e("close"))},{default:K(()=>[(w(),Q(pt(i.closeIcon||_(t))))]),_:1},8,["class"])],2)):G("v-if",!0)],14,N7))}}));var P7=_e(R7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const Q0=Le(ze(he({},J0),{appendToBody:{type:Boolean,default:!1},beforeClose:{type:Te(Function)},destroyOnClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:{type:Boolean,required:!0},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}})),e_={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[tt]:e=>on(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},t_=(e,t)=>{const o=nt().emit,{nextZIndex:r}=jo();let a="";const i=A(!1),l=A(!1),s=A(!1),c=A(e.zIndex||r());let d,u;const p=C(()=>mt(e.width)?`${e.width}px`:e.width),f=C(()=>{const $={},z="--el-dialog";return e.fullscreen||(e.top&&($[`${z}-margin-top`]=e.top),e.width&&($[`${z}-width`]=p.value)),$});function h(){o("opened")}function b(){o("closed"),o(tt,!1),e.destroyOnClose&&(s.value=!1)}function m(){o("close")}function g(){u==null||u(),d==null||d(),e.openDelay&&e.openDelay>0?{stop:d}=jr(()=>x(),e.openDelay):x()}function v(){d==null||d(),u==null||u(),e.closeDelay&&e.closeDelay>0?{stop:u}=jr(()=>k(),e.closeDelay):k()}function y(){function $(z){z||(l.value=!0,i.value=!1)}e.beforeClose?e.beforeClose($):v()}function T(){e.closeOnClickModal&&y()}function x(){!dt||(i.value=!0)}function k(){i.value=!1}return e.lockScroll&&xy(i),e.closeOnPressEscape&&ky({handleClose:y},i),Ty(i),ge(()=>e.modelValue,$=>{$?(l.value=!1,g(),s.value=!0,o("open"),c.value=e.zIndex?c.value++:r(),je(()=>{t.value&&(t.value.scrollTop=0)})):i.value&&v()}),ge(()=>e.fullscreen,$=>{!t.value||($?(a=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=a)}),et(()=>{e.modelValue&&(i.value=!0,s.value=!0,g())}),{afterEnter:h,afterLeave:b,beforeLeave:m,handleClose:y,onModalClick:T,close:v,doClose:k,closed:l,style:f,rendered:s,visible:i,zIndex:c}},O7={name:"ElDialog"},F7=ee(ze(he({},O7),{props:Q0,emits:e_,setup(e,{expose:t}){const n=e,o=ke("dialog"),r=A(),a=A(),{visible:i,style:l,rendered:s,zIndex:c,afterEnter:d,afterLeave:u,beforeLeave:p,handleClose:f,onModalClick:h}=t_(n,r);ot(uy,{dialogRef:r,headerRef:a,ns:o,rendered:s,style:l});const b=up(h),m=C(()=>n.draggable&&!n.fullscreen);return wy(r,a,m),t({visible:i}),(g,v)=>(w(),Q(el,{to:"body",disabled:!g.appendToBody},[U(qt,{name:"dialog-fade",onAfterEnter:_(d),onAfterLeave:_(u),onBeforeLeave:_(p)},{default:K(()=>[Ue(U(_(Ip),{"custom-mask-event":"",mask:g.modal,"overlay-class":g.modalClass,"z-index":_(c)},{default:K(()=>[R("div",{class:S(`${_(o).namespace.value}-overlay-dialog`),onClick:v[0]||(v[0]=(...y)=>_(b).onClick&&_(b).onClick(...y)),onMousedown:v[1]||(v[1]=(...y)=>_(b).onMousedown&&_(b).onMousedown(...y)),onMouseup:v[2]||(v[2]=(...y)=>_(b).onMouseup&&_(b).onMouseup(...y))},[_(s)?(w(),Q(P7,{key:0,"custom-class":g.customClass,center:g.center,"close-icon":g.closeIcon,draggable:_(m),fullscreen:g.fullscreen,"show-close":g.showClose,style:Oe(_(l)),title:g.title,onClose:_(f)},dr({title:K(()=>[ue(g.$slots,"title")]),default:K(()=>[ue(g.$slots,"default")]),_:2},[g.$slots.footer?{name:"footer",fn:K(()=>[ue(g.$slots,"footer")])}:void 0]),1032,["custom-class","center","close-icon","draggable","fullscreen","show-close","style","title","onClose"])):G("v-if",!0)],34)]),_:3},8,["mask","overlay-class","z-index"]),[[ft,_(i)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}}));var D7=_e(F7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const L7=rt(D7),V7=Le({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:Te(String),default:"solid"}}),B7={name:"ElDivider"},j7=ee(ze(he({},B7),{props:V7,setup(e){const t=e,n=ke("divider"),o=C(()=>({"--el-border-style":t.borderStyle}));return(r,a)=>(w(),I("div",{class:S([_(n).b(),_(n).m(r.direction)]),style:Oe(_(o))},[r.$slots.default&&r.direction!=="vertical"?(w(),I("div",{key:0,class:S([_(n).e("text"),_(n).is(r.contentPosition)])},[ue(r.$slots,"default")],2)):G("v-if",!0)],6))}}));var H7=_e(j7,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const q7=rt(H7),K7=Le(ze(he({},Q0),{direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0}})),W7=e_,U7=ee({name:"ElDrawer",components:{ElOverlay:Ip,ElIcon:qe,Close:Hn},directives:{TrapFocus:c0},props:K7,emits:W7,setup(e,t){const n=A(),o=ke("drawer"),r=C(()=>e.direction==="rtl"||e.direction==="ltr"),a=C(()=>typeof e.size=="number"?`${e.size}px`:e.size);return ze(he({},t_(e,t,n)),{drawerRef:n,isHorizontal:r,drawerSize:a,ns:o})}}),Y7=["aria-labelledby","aria-label"],G7=["id"],X7=["title"],Z7=["aria-label"];function J7(e,t,n,o,r,a){const i=le("close"),l=le("el-icon"),s=le("el-overlay"),c=In("trap-focus");return w(),Q(el,{to:"body",disabled:!e.appendToBody},[U(qt,{name:e.ns.b("fade"),onAfterEnter:e.afterEnter,onAfterLeave:e.afterLeave,onBeforeLeave:e.beforeLeave},{default:K(()=>[Ue(U(s,{mask:e.modal,"overlay-class":e.modalClass,"z-index":e.zIndex,onClick:e.onModalClick},{default:K(()=>[Ue((w(),I("div",{ref:"drawerRef","aria-modal":"true","aria-labelledby":e.ns.e("title"),"aria-label":e.title,class:S([e.ns.b(),e.direction,e.visible&&"open",e.customClass]),style:Oe(e.isHorizontal?"width: "+e.drawerSize:"height: "+e.drawerSize),role:"dialog",onClick:t[1]||(t[1]=He(()=>{},["stop"]))},[e.withHeader?(w(),I("header",{key:0,id:e.ns.e("title"),class:S(e.ns.e("header"))},[ue(e.$slots,"title",{},()=>[R("span",{role:"heading",title:e.title},ve(e.title),9,X7)]),e.showClose?(w(),I("button",{key:0,"aria-label":"close "+(e.title||"drawer"),class:S(e.ns.e("close-btn")),type:"button",onClick:t[0]||(t[0]=(...d)=>e.handleClose&&e.handleClose(...d))},[U(l,{class:S(e.ns.e("close"))},{default:K(()=>[U(i)]),_:1},8,["class"])],10,Z7)):G("v-if",!0)],10,G7)):G("v-if",!0),e.rendered?(w(),I("section",{key:1,class:S(e.ns.e("body"))},[ue(e.$slots,"default")],2)):G("v-if",!0),e.$slots.footer?(w(),I("div",{key:2,class:S(e.ns.e("footer"))},[ue(e.$slots,"footer")],2)):G("v-if",!0)],14,Y7)),[[c]])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[ft,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"])}var Q7=_e(U7,[["render",J7],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const eL=rt(Q7),n_=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Wm=(e,t)=>{for(const n of e)if(!tL(n,t))return n},tL=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},nL=e=>{const t=n_(e),n=Wm(t,e),o=Wm(t.reverse(),e);return[n,o]},oL=e=>e instanceof HTMLInputElement&&"select"in e,Tr=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&oL(e)&&t&&e.select()}};function Um(e,t){const n=[...e],o=e.indexOf(t);return o!==-1&&n.splice(o,1),n}const rL=()=>{let e=[];return{push:o=>{const r=e[0];r&&o!==r&&r.pause(),e=Um(e,o),e.unshift(o)},remove:o=>{var r,a;e=Um(e,o),(a=(r=e[0])==null?void 0:r.resume)==null||a.call(r)}}},aL=(e,t=!1)=>{const n=document.activeElement;for(const o of e)if(Tr(o,t),document.activeElement!==n)return},Ym=rL(),jc="focus-trap.focus-on-mount",Hc="focus-trap.focus-on-unmount",Gm={cancelable:!0,bubbles:!1},Xm="mountOnFocus",Zm="unmountOnFocus",o_=Symbol("elFocusTrap"),iL=ee({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean},emits:[Xm,Zm],setup(e,{emit:t}){const n=A(),o=A(null);let r,a;const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},l=f=>{if(!e.loop&&!e.trapped||i.paused)return;const{key:h,altKey:b,ctrlKey:m,metaKey:g,currentTarget:v,shiftKey:y}=f,{loop:T}=e,x=h===Pe.tab&&!b&&!m&&!g,k=document.activeElement;if(x&&k){const $=v,[z,P]=nL($);z&&P?!y&&k===P?(f.preventDefault(),T&&Tr(z,!0)):y&&k===z&&(f.preventDefault(),T&&Tr(P,!0)):k===$&&f.preventDefault()}};ot(o_,{focusTrapRef:o,onKeydown:l});const s=f=>{t(Xm,f)},c=f=>t(Zm,f),d=f=>{const h=_(o);if(i.paused||!h)return;const b=f.target;b&&h.contains(b)?a=b:Tr(a,!0)},u=f=>{const h=_(o);i.paused||!h||h.contains(f.relatedTarget)||Tr(a,!0)},p=()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",u)};return et(()=>{const f=_(o);if(f){Ym.push(i);const h=document.activeElement;if(r=h,!f.contains(h)){const m=new Event(jc,Gm);f.addEventListener(jc,s),f.dispatchEvent(m),m.defaultPrevented||je(()=>{aL(n_(f),!0),document.activeElement===h&&Tr(f)})}}ge(()=>e.trapped,h=>{h?(document.addEventListener("focusin",d),document.addEventListener("focusout",u)):p()},{immediate:!0})}),$t(()=>{p();const f=_(o);if(f){f.removeEventListener(jc,s);const h=new Event(Hc,Gm);f.addEventListener(Hc,c),f.dispatchEvent(h),h.defaultPrevented||Tr(r!=null?r:document.body,!0),f.removeEventListener(Hc,s),Ym.remove(i)}}),{focusTrapRef:n,forwardRef:o,onKeydown:l}}});function lL(e,t,n,o,r,a){return ue(e.$slots,"default")}var sL=_e(iL,[["render",lL],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const cL=ee({inheritAttrs:!1});function dL(e,t,n,o,r,a){return ue(e.$slots,"default")}var uL=_e(cL,[["render",dL],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const pL=ee({name:"ElCollectionItem",inheritAttrs:!1});function fL(e,t,n,o,r,a){return ue(e.$slots,"default")}var hL=_e(pL,[["render",fL],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const r_="data-el-collection-item",a_=e=>{const t=`El${e}Collection`,n=`${t}Item`,o=Symbol(t),r=Symbol(n),a=ze(he({},uL),{name:t,setup(){const l=A(null),s=new Map;ot(o,{itemMap:s,getItems:()=>{const d=_(l);if(!d)return[];const u=Array.from(d.querySelectorAll(`[${r_}]`));return[...s.values()].sort((h,b)=>u.indexOf(h.ref)-u.indexOf(b.ref))},collectionRef:l})}}),i=ze(he({},hL),{name:n,setup(l,{attrs:s}){const c=A(null),d=Ie(o,void 0);ot(r,{collectionItemRef:c}),et(()=>{const u=_(c);u&&d.itemMap.set(u,he({ref:u},s))}),$t(()=>{const u=_(c);d.itemMap.delete(u)})}});return{COLLECTION_INJECTION_KEY:o,COLLECTION_ITEM_INJECTION_KEY:r,ElCollection:a,ElCollectionItem:i}},mL=Le({style:{type:Te([String,Array,Object])},currentTabId:{type:Te(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:Te(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:gL,ElCollectionItem:bL,COLLECTION_INJECTION_KEY:Np,COLLECTION_ITEM_INJECTION_KEY:vL}=a_("RovingFocusGroup"),Mp=Symbol("elRovingFocusGroup"),i_=Symbol("elRovingFocusGroupItem"),yL={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},_L=(e,t)=>{if(t!=="rtl")return e;switch(e){case Pe.right:return Pe.left;case Pe.left:return Pe.right;default:return e}},wL=(e,t,n)=>{const o=_L(e.key,n);if(!(t==="vertical"&&[Pe.left,Pe.right].includes(o))&&!(t==="horizontal"&&[Pe.up,Pe.down].includes(o)))return yL[o]},xL=(e,t)=>e.map((n,o)=>e[(o+t)%e.length]),Rp=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},Jm="currentTabIdChange",qc="rovingFocusGroup.entryFocus",kL={bubbles:!1,cancelable:!0},TL=ee({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:mL,emits:[Jm,"entryFocus"],setup(e,{emit:t}){var n;const o=A((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),r=A(!1),a=A(!1),i=A(null),{getItems:l}=Ie(Np,void 0),s=C(()=>[{outline:"none"},e.style]),c=b=>{t(Jm,b)},d=()=>{r.value=!0},u=Ot(b=>{var m;(m=e.onMousedown)==null||m.call(e,b)},()=>{a.value=!0}),p=Ot(b=>{var m;(m=e.onFocus)==null||m.call(e,b)},b=>{const m=!_(a),{target:g,currentTarget:v}=b;if(g===v&&m&&!_(r)){const y=new Event(qc,kL);if(v==null||v.dispatchEvent(y),!y.defaultPrevented){const T=l().filter(P=>P.focusable),x=T.find(P=>P.active),k=T.find(P=>P.id===_(o)),z=[x,k,...T].filter(Boolean).map(P=>P.ref);Rp(z)}}a.value=!1}),f=Ot(b=>{var m;(m=e.onBlur)==null||m.call(e,b)},()=>{r.value=!1}),h=(...b)=>{t("entryFocus",...b)};ot(Mp,{currentTabbedId:Zi(o),loop:Yt(e,"loop"),tabIndex:C(()=>_(r)?-1:0),rovingFocusGroupRef:i,rovingFocusGroupRootStyle:s,orientation:Yt(e,"orientation"),dir:Yt(e,"dir"),onItemFocus:c,onItemShiftTab:d,onBlur:f,onFocus:p,onMousedown:u}),ge(()=>e.currentTabId,b=>{o.value=b!=null?b:null}),et(()=>{const b=_(i);At(b,qc,h)}),$t(()=>{const b=_(i);Bt(b,qc,h)})}});function CL(e,t,n,o,r,a){return ue(e.$slots,"default")}var SL=_e(TL,[["render",CL],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const $L=ee({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:gL,ElRovingFocusGroupImpl:SL}});function AL(e,t,n,o,r,a){const i=le("el-roving-focus-group-impl"),l=le("el-focus-group-collection");return w(),Q(l,null,{default:K(()=>[U(i,eo(ur(e.$attrs)),{default:K(()=>[ue(e.$slots,"default")]),_:3},16)]),_:3})}var EL=_e($L,[["render",AL],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const zL=ee({components:{ElRovingFocusCollectionItem:bL},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:o,onItemFocus:r,onItemShiftTab:a}=Ie(Mp,void 0),{getItems:i}=Ie(Np,void 0),l=pp(),s=A(null),c=Ot(f=>{t("mousedown",f)},f=>{e.focusable?r(_(l)):f.preventDefault()}),d=Ot(f=>{t("focus",f)},()=>{r(_(l))}),u=Ot(f=>{t("keydown",f)},f=>{const{key:h,shiftKey:b,target:m,currentTarget:g}=f;if(h===Pe.tab&&b){a();return}if(m!==g)return;const v=wL(f);if(v){f.preventDefault();let T=i().filter(x=>x.focusable).map(x=>x.ref);switch(v){case"last":{T.reverse();break}case"prev":case"next":{v==="prev"&&T.reverse();const x=T.indexOf(g);T=o.value?xL(T,x+1):T.slice(x+1);break}}je(()=>{Rp(T)})}}),p=C(()=>n.value===_(l));return ot(i_,{rovingFocusGroupItemRef:s,tabIndex:C(()=>_(p)?0:-1),handleMousedown:c,handleFocus:d,handleKeydown:u}),{id:l,handleKeydown:u,handleFocus:d,handleMousedown:c}}});function IL(e,t,n,o,r,a){const i=le("el-roving-focus-collection-item");return w(),Q(i,{id:e.id,focusable:e.focusable,active:e.active},{default:K(()=>[ue(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var NL=_e(zL,[["render",IL],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const Ql=Le({trigger:Ki.trigger,effect:ze(he({},tn.effect),{default:"light"}),type:{type:Te(String)},placement:{type:Te(String),default:"bottom"},popperOptions:{type:Te(Object),default:()=>({})},size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Te([Number,String]),default:0},maxHeight:{type:Te([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},buttonProps:{type:Te(Object)}}),l_=Le({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:an}}),ML=Le({onKeydown:{type:Te(Function)}}),RL=[Pe.down,Pe.pageDown,Pe.home],s_=[Pe.up,Pe.pageUp,Pe.end],PL=[...RL,...s_],{ElCollection:OL,ElCollectionItem:FL,COLLECTION_INJECTION_KEY:DL,COLLECTION_ITEM_INJECTION_KEY:LL}=a_("Dropdown"),Pp=Symbol("elDropdown"),{ButtonGroup:VL}=Vn,BL=ee({name:"ElDropdown",components:{ElButton:Vn,ElFocusTrap:sL,ElButtonGroup:VL,ElScrollbar:qo,ElDropdownCollection:OL,ElTooltip:vn,ElRovingFocusGroup:EL,ElIcon:qe,ArrowDown:Gr},props:Ql,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=nt(),o=ke("dropdown"),r=A(),a=A(),i=A(null),l=A(null),s=A(null),c=A(null),d=A(!1),u=C(()=>({maxHeight:io(e.maxHeight)})),p=C(()=>[o.m(m.value)]);function f(){h()}function h(){var z;(z=i.value)==null||z.onClose()}function b(){var z;(z=i.value)==null||z.onOpen()}const m=Ut();function g(...z){t("command",...z)}function v(){}function y(){const z=_(l);z==null||z.focus(),c.value=null}function T(z){c.value=z}function x(z){d.value||(z.preventDefault(),z.stopImmediatePropagation())}return ot(Pp,{contentRef:l,isUsingKeyboard:d,onItemEnter:v,onItemLeave:y}),ot("elDropdown",{instance:n,dropdownSize:m,handleClick:f,commandHandler:g,trigger:Yt(e,"trigger"),hideOnClick:Yt(e,"hideOnClick")}),{ns:o,scrollbar:s,wrapStyle:u,dropdownTriggerKls:p,dropdownSize:m,currentTabId:c,handleCurrentTabIdChange:T,handlerMainButtonClick:z=>{t("click",z)},handleEntryFocus:x,handleClose:h,handleOpen:b,onMountOnFocus:z=>{var P,O;z.preventDefault(),(O=(P=l.value)==null?void 0:P.focus)==null||O.call(P,{preventScroll:!0})},popperRef:i,triggeringElementRef:r,referenceElementRef:a}}});function jL(e,t,n,o,r,a){var i;const l=le("el-dropdown-collection"),s=le("el-roving-focus-group"),c=le("el-focus-trap"),d=le("el-scrollbar"),u=le("el-tooltip"),p=le("el-button"),f=le("arrow-down"),h=le("el-icon"),b=le("el-button-group");return w(),I("div",{class:S([e.ns.b(),e.ns.is("disabled",e.disabled)])},[U(u,{ref:"popperRef",effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":(i=e.referenceElementRef)==null?void 0:i.$el,trigger:e.trigger,"show-after":e.trigger==="hover"?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,"append-to-body":"",pure:"",transition:`${e.ns.namespace.value}-zoom-in-top`,persistent:"",onShow:t[0]||(t[0]=m=>e.$emit("visible-change",!0)),onHide:t[1]||(t[1]=m=>e.$emit("visible-change",!1))},dr({content:K(()=>[U(d,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:K(()=>[U(c,{trapped:"",onMountOnFocus:e.onMountOnFocus},{default:K(()=>[U(s,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:K(()=>[U(l,null,{default:K(()=>[ue(e.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["onMountOnFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:K(()=>[R("div",{class:S(e.dropdownTriggerKls)},[ue(e.$slots,"default")],2)])}]),1032,["effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","show-after","virtual-ref","virtual-triggering","disabled","transition"]),e.splitButton?(w(),Q(b,{key:0},{default:K(()=>[U(p,St({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,onClick:e.handlerMainButtonClick}),{default:K(()=>[ue(e.$slots,"default")]),_:3},16,["size","type","disabled","onClick"]),U(p,St({ref:"triggeringElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled}),{default:K(()=>[U(h,{class:S(e.ns.e("icon"))},{default:K(()=>[U(f)]),_:1},8,["class"])]),_:1},16,["size","type","class","disabled"])]),_:3})):G("v-if",!0)],2)}var HL=_e(BL,[["render",jL],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const qL=ee({name:"DropdownItemImpl",components:{ElIcon:qe},props:l_,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=ke("dropdown"),{collectionItemRef:o}=Ie(LL,void 0),{collectionItemRef:r}=Ie(vL,void 0),{rovingFocusGroupItemRef:a,tabIndex:i,handleFocus:l,handleKeydown:s,handleMousedown:c}=Ie(i_,void 0),d=lp(o,r,a),u=Ot(p=>{const{code:f}=p;if(f===Pe.enter||f===Pe.space)return p.preventDefault(),p.stopImmediatePropagation(),t("clickimpl",p),!0},s);return{ns:n,itemRef:d,dataset:{[r_]:""},tabIndex:i,handleFocus:l,handleKeydown:u,handleMousedown:c}}}),KL=["aria-disabled","tabindex"];function WL(e,t,n,o,r,a){const i=le("el-icon");return w(),I(Fe,null,[e.divided?(w(),I("li",St({key:0,class:e.ns.bem("menu","item","divided")},e.$attrs),null,16)):G("v-if",!0),R("li",St({ref:e.itemRef},he(he({},e.dataset),e.$attrs),{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:"menuitem",onClick:t[0]||(t[0]=l=>e.$emit("clickimpl",l)),onFocus:t[1]||(t[1]=(...l)=>e.handleFocus&&e.handleFocus(...l)),onKeydown:t[2]||(t[2]=(...l)=>e.handleKeydown&&e.handleKeydown(...l)),onMousedown:t[3]||(t[3]=(...l)=>e.handleMousedown&&e.handleMousedown(...l)),onPointermove:t[4]||(t[4]=l=>e.$emit("pointermove",l)),onPointerleave:t[5]||(t[5]=l=>e.$emit("pointerleave",l))}),[e.icon?(w(),Q(i,{key:0},{default:K(()=>[(w(),Q(pt(e.icon)))]),_:1})):G("v-if",!0),ue(e.$slots,"default")],16,KL)],64)}var UL=_e(qL,[["render",WL],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const c_=()=>{const e=Ie("elDropdown",{}),t=C(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},YL=ee({name:"ElDropdownItem",components:{ElDropdownCollectionItem:FL,ElRovingFocusItem:NL,ElDropdownItemImpl:UL},inheritAttrs:!1,props:l_,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:o}=c_(),r=nt(),a=A(null),i=C(()=>{var f,h;return(h=(f=_(a))==null?void 0:f.textContent)!=null?h:""}),{onItemEnter:l,onItemLeave:s}=Ie(Pp,void 0),c=Ot(f=>(t("pointermove",f),f.defaultPrevented),Vh(f=>{var h;e.disabled?s(f):(l(f),f.defaultPrevented||(h=f.currentTarget)==null||h.focus())})),d=Ot(f=>(t("pointerleave",f),f.defaultPrevented),Vh(f=>{s(f)})),u=Ot(f=>(t("click",f),f.defaultPrevented),f=>{var h,b,m;if(e.disabled){f.stopImmediatePropagation();return}(h=o==null?void 0:o.hideOnClick)!=null&&h.value&&((b=o.handleClick)==null||b.call(o)),(m=o.commandHandler)==null||m.call(o,e.command,r,f)}),p=C(()=>he(he({},e),n));return{handleClick:u,handlePointerMove:c,handlePointerLeave:d,textContent:i,propsAndAttrs:p}}});function GL(e,t,n,o,r,a){var i;const l=le("el-dropdown-item-impl"),s=le("el-roving-focus-item"),c=le("el-dropdown-collection-item");return w(),Q(c,{disabled:e.disabled,"text-value":(i=e.textValue)!=null?i:e.textContent},{default:K(()=>[U(s,{focusable:!e.disabled},{default:K(()=>[U(l,St(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:K(()=>[ue(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var d_=_e(YL,[["render",GL],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const XL=ee({name:"ElDropdownMenu",props:ML,setup(e){const t=ke("dropdown"),{_elDropdownSize:n}=c_(),o=n.value,{focusTrapRef:r,onKeydown:a}=Ie(o_,void 0),{contentRef:i}=Ie(Pp,void 0),{collectionRef:l,getItems:s}=Ie(DL,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:d,tabIndex:u,onBlur:p,onFocus:f,onMousedown:h}=Ie(Mp,void 0),{collectionRef:b}=Ie(Np,void 0),m=C(()=>[t.b("menu"),t.bm("menu",o==null?void 0:o.value)]),g=lp(i,l,r,c,b),v=Ot(T=>{var x;(x=e.onKeydown)==null||x.call(e,T)},T=>{const{currentTarget:x,code:k,target:$}=T;if(x.contains($),Pe.tab===k&&T.stopImmediatePropagation(),T.preventDefault(),$!==_(i)||!PL.includes(k))return;const P=s().filter(O=>!O.disabled).map(O=>O.ref);s_.includes(k)&&P.reverse(),Rp(P)});return{size:o,rovingFocusGroupRootStyle:d,tabIndex:u,dropdownKls:m,dropdownListWrapperRef:g,handleKeydown:T=>{v(T),a(T)},onBlur:p,onFocus:f,onMousedown:h}}});function ZL(e,t,n,o,r,a){return w(),I("ul",{ref:e.dropdownListWrapperRef,class:S(e.dropdownKls),style:Oe(e.rovingFocusGroupRootStyle),tabindex:-1,role:"menu",onBlur:t[0]||(t[0]=(...i)=>e.onBlur&&e.onBlur(...i)),onFocus:t[1]||(t[1]=(...i)=>e.onFocus&&e.onFocus(...i)),onKeydown:t[2]||(t[2]=(...i)=>e.handleKeydown&&e.handleKeydown(...i)),onMousedown:t[3]||(t[3]=(...i)=>e.onMousedown&&e.onMousedown(...i))},[ue(e.$slots,"default")],38)}var u_=_e(XL,[["render",ZL],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const JL=rt(HL,{DropdownItem:d_,DropdownMenu:u_}),QL=Dt(d_),e9=Dt(u_);let t9=0;const n9=ee({name:"ImgEmpty",setup(){return{id:++t9}}}),o9={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},r9=["id"],a9=R("stop",{"stop-color":"var(--el-empty-fill-color-1)",offset:"0%"},null,-1),i9=R("stop",{"stop-color":"var(--el-empty-fill-color-4)",offset:"100%"},null,-1),l9=[a9,i9],s9=["id"],c9=R("stop",{"stop-color":"var(--el-empty-fill-color-1)",offset:"0%"},null,-1),d9=R("stop",{"stop-color":"var(--el-empty-fill-color-6)",offset:"100%"},null,-1),u9=[c9,d9],p9=["id"],f9={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},h9={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},m9={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},g9=R("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:"var(--el-empty-fill-color-3)"},null,-1),b9=R("polygon",{id:"Rectangle-Copy-14",fill:"var(--el-empty-fill-color-7)",transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,-1),v9={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},y9=R("polygon",{id:"Rectangle-Copy-10",fill:"var(--el-empty-fill-color-7)",transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,-1),_9=R("polygon",{id:"Rectangle-Copy-11",fill:"var(--el-empty-fill-color-5)",points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,-1),w9=["fill"],x9=R("polygon",{id:"Rectangle-Copy-13",fill:"var(--el-empty-fill-color-2)",transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,-1),k9=["fill"],T9={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},C9=["id"],S9=["xlink:href"],$9=["xlink:href"],A9=["mask"],E9=R("polygon",{id:"Rectangle-Copy-18",fill:"var(--el-empty-fill-color-2)",transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,-1);function z9(e,t,n,o,r,a){return w(),I("svg",o9,[R("defs",null,[R("linearGradient",{id:`linearGradient-1-${e.id}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},l9,8,r9),R("linearGradient",{id:`linearGradient-2-${e.id}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},u9,8,s9),R("rect",{id:`path-3-${e.id}`,x:"0",y:"0",width:"17",height:"36"},null,8,p9)]),R("g",f9,[R("g",h9,[R("g",m9,[g9,b9,R("g",v9,[y9,_9,R("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${e.id})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,w9),x9]),R("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${e.id})`,x:"13",y:"45",width:"40",height:"36"},null,8,k9),R("g",T9,[R("mask",{id:`mask-4-${e.id}`,fill:"var(--el-empty-fill-color-0)"},[R("use",{"xlink:href":`#path-3-${e.id}`},null,8,S9)],8,C9),R("use",{id:"Mask",fill:"var(--el-empty-fill-color-8)",transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${e.id}`},null,8,$9),R("polygon",{id:"Rectangle-Copy",fill:"var(--el-empty-fill-color-9)",mask:`url(#mask-4-${e.id})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 -1.70530257e-13 16"},null,8,A9)]),E9])])])])}var I9=_e(n9,[["render",z9],["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const N9={image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},M9=["src"],R9={key:1},P9={name:"ElEmpty"},O9=ee(ze(he({},P9),{props:N9,setup(e){const t=e,{t:n}=Tt(),o=ke("empty"),r=C(()=>t.description||n("el.table.emptyText")),a=C(()=>({width:t.imageSize?`${t.imageSize}px`:""}));return(i,l)=>(w(),I("div",{class:S(_(o).b())},[R("div",{class:S(_(o).e("image")),style:Oe(_(a))},[i.image?(w(),I("img",{key:0,src:i.image,ondragstart:"return false"},null,8,M9)):ue(i.$slots,"image",{key:1},()=>[U(I9)])],6),R("div",{class:S(_(o).e("description"))},[i.$slots.description?ue(i.$slots,"description",{key:0}):(w(),I("p",R9,ve(_(r)),1))],2),i.$slots.default?(w(),I("div",{key:0,class:S(_(o).e("bottom"))},[ue(i.$slots,"default")],2)):G("v-if",!0)],2))}}));var F9=_e(O9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const D9=rt(F9),L9=Le({model:Object,rules:{type:Te(Object)},labelPosition:String,labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:{type:String,values:wo},disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1},scrollToError:Boolean}),V9={validate:(e,t,n)=>(Ye(e)||Qe(e))&&on(t)&&Qe(n)};function B9(){const e=A([]),t=C(()=>{if(!e.value.length)return"0";const a=Math.max(...e.value);return a?`${a}px`:""});function n(a){return e.value.indexOf(a)}function o(a,i){if(a&&i){const l=n(i);e.value.splice(l,1,a)}else a&&e.value.push(a)}function r(a){const i=n(a);i>-1&&e.value.splice(i,1)}return{autoLabelWidth:t,registerLabelWidth:o,deregisterLabelWidth:r}}const El=(e,t)=>{const n=Di(t);return n.length>0?e.filter(o=>o.prop&&n.includes(o.prop)):e},j9={name:"ElForm"},H9=ee(ze(he({},j9),{props:L9,emits:V9,setup(e,{expose:t,emit:n}){const o=e,r=[],a=Ut(),i=ke("form"),l=C(()=>{const{labelPosition:v,inline:y}=o;return[i.b(),i.m(a.value||"default"),{[i.m(`label-${v}`)]:v,[i.m("inline")]:y}]}),s=v=>{r.push(v)},c=v=>{v.prop&&r.splice(r.indexOf(v),1)},d=(v=[])=>{!o.model||El(r,v).forEach(y=>y.resetField())},u=(v=[])=>{El(r,v).forEach(y=>y.clearValidate())},p=C(()=>!!o.model),f=v=>{if(r.length===0)return[];const y=El(r,v);return y.length?y:[]},h=async v=>m(void 0,v),b=async(v=[])=>{if(!p.value)return!1;const y=f(v);if(y.length===0)return!0;let T={};for(const x of y)try{await x.validate("")}catch(k){T=he(he({},T),k)}return Object.keys(T).length===0?!0:Promise.reject(T)},m=async(v=[],y)=>{const T=!Je(y);try{const x=await b(v);return x===!0&&(y==null||y(x)),x}catch(x){const k=x;return o.scrollToError&&g(Object.keys(k)[0]),y==null||y(!1,k),T&&Promise.reject(k)}},g=v=>{var y;const T=El(r,v)[0];T&&((y=T.$el)==null||y.scrollIntoView())};return ge(()=>o.rules,()=>{o.validateOnRuleChange&&h()},{deep:!0}),ot(Mn,vt(he(ze(he({},Gt(o)),{emit:n,resetFields:d,clearValidate:u,validateField:m,addField:s,removeField:c}),B9()))),t({validate:h,validateField:m,resetFields:d,clearValidate:u,scrollToField:g}),(v,y)=>(w(),I("form",{class:S(_(l))},[ue(v.$slots,"default")],2))}}));var q9=_e(H9,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function Ir(){return Ir=Object.assign||function(e){for(var t=1;t1?t-1:0),o=1;o=a)return l;switch(l){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}break;default:return l}});return i}return e}function X9(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Zt(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||X9(t)&&typeof e=="string"&&!e)}function Z9(e,t,n){var o=[],r=0,a=e.length;function i(l){o.push.apply(o,l||[]),r++,r===a&&n(o)}e.forEach(function(l){t(l,i)})}function Qm(e,t,n){var o=0,r=e.length;function a(i){if(i&&i.length){n(i);return}var l=o;o=o+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},li={integer:function(t){return li.number(t)&&parseInt(t,10)===t},float:function(t){return li.number(t)&&!li.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!li.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Kc.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Kc.url)},hex:function(t){return typeof t=="string"&&!!t.match(Kc.hex)}},oV=function(t,n,o,r,a){if(t.required&&n===void 0){p_(t,n,o,r,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;i.indexOf(l)>-1?li[l](n)||r.push(Sn(a.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&r.push(Sn(a.messages.types[l],t.fullField,t.type))},rV=function(t,n,o,r,a){var i=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,u=null,p=typeof n=="number",f=typeof n=="string",h=Array.isArray(n);if(p?u="number":f?u="string":h&&(u="array"),!u)return!1;h&&(d=n.length),f&&(d=n.replace(c,"_").length),i?d!==t.len&&r.push(Sn(a.messages[u].len,t.fullField,t.len)):l&&!s&&dt.max?r.push(Sn(a.messages[u].max,t.fullField,t.max)):l&&s&&(dt.max)&&r.push(Sn(a.messages[u].range,t.fullField,t.min,t.max))},na="enum",aV=function(t,n,o,r,a){t[na]=Array.isArray(t[na])?t[na]:[],t[na].indexOf(n)===-1&&r.push(Sn(a.messages[na],t.fullField,t[na].join(", ")))},iV=function(t,n,o,r,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||r.push(Sn(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||r.push(Sn(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},xt={required:p_,whitespace:nV,type:oV,range:rV,enum:aV,pattern:iV},lV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n,"string")&&!t.required)return o();xt.required(t,n,r,i,a,"string"),Zt(n,"string")||(xt.type(t,n,r,i,a),xt.range(t,n,r,i,a),xt.pattern(t,n,r,i,a),t.whitespace===!0&&xt.whitespace(t,n,r,i,a))}o(i)},sV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&xt.type(t,n,r,i,a)}o(i)},cV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&(xt.type(t,n,r,i,a),xt.range(t,n,r,i,a))}o(i)},dV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&xt.type(t,n,r,i,a)}o(i)},uV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),Zt(n)||xt.type(t,n,r,i,a)}o(i)},pV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&(xt.type(t,n,r,i,a),xt.range(t,n,r,i,a))}o(i)},fV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&(xt.type(t,n,r,i,a),xt.range(t,n,r,i,a))}o(i)},hV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return o();xt.required(t,n,r,i,a,"array"),n!=null&&(xt.type(t,n,r,i,a),xt.range(t,n,r,i,a))}o(i)},mV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&xt.type(t,n,r,i,a)}o(i)},gV="enum",bV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a),n!==void 0&&xt[gV](t,n,r,i,a)}o(i)},vV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n,"string")&&!t.required)return o();xt.required(t,n,r,i,a),Zt(n,"string")||xt.pattern(t,n,r,i,a)}o(i)},yV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n,"date")&&!t.required)return o();if(xt.required(t,n,r,i,a),!Zt(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),xt.type(t,s,r,i,a),s&&xt.range(t,s.getTime(),r,i,a)}}o(i)},_V=function(t,n,o,r,a){var i=[],l=Array.isArray(n)?"array":typeof n;xt.required(t,n,r,i,a,l),o(i)},Wc=function(t,n,o,r,a){var i=t.type,l=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(Zt(n,i)&&!t.required)return o();xt.required(t,n,r,l,a,i),Zt(n,i)||xt.type(t,n,r,l,a)}o(l)},wV=function(t,n,o,r,a){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Zt(n)&&!t.required)return o();xt.required(t,n,r,i,a)}o(i)},xi={string:lV,method:sV,number:cV,boolean:dV,regexp:uV,integer:pV,float:fV,array:hV,object:mV,enum:bV,pattern:vV,date:yV,url:Wc,hex:Wc,email:Wc,required:_V,any:wV};function Qd(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var eu=Qd(),dl=function(){function e(n){this.rules=null,this._messages=eu,this.define(n)}var t=e.prototype;return t.define=function(o){var r=this;if(!o)throw new Error("Cannot configure a schema with no rules");if(typeof o!="object"||Array.isArray(o))throw new Error("Rules must be an object");this.rules={},Object.keys(o).forEach(function(a){var i=o[a];r.rules[a]=Array.isArray(i)?i:[i]})},t.messages=function(o){return o&&(this._messages=ng(Qd(),o)),this._messages},t.validate=function(o,r,a){var i=this;r===void 0&&(r={}),a===void 0&&(a=function(){});var l=o,s=r,c=a;if(typeof s=="function"&&(c=s,s={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,l),Promise.resolve(l);function d(b){var m=[],g={};function v(T){if(Array.isArray(T)){var x;m=(x=m).concat.apply(x,T)}else m.push(T)}for(var y=0;y");const r=ke("form"),a=A(),i=A(0),l=()=>{var d;if((d=a.value)!=null&&d.firstElementChild){const u=window.getComputedStyle(a.value.firstElementChild).width;return Math.ceil(Number.parseFloat(u))}else return 0},s=(d="update")=>{je(()=>{t.default&&e.isAutoWidth&&(d==="update"?i.value=l():d==="remove"&&n.deregisterLabelWidth(i.value))})},c=()=>s("update");return et(()=>{c()}),$t(()=>{s("remove")}),Un(()=>c()),ge(i,(d,u)=>{e.updateAll&&n.registerLabelWidth(d,u)}),Ba(C(()=>{var d,u;return(u=(d=a.value)==null?void 0:d.firstElementChild)!=null?u:null}),c),()=>{var d,u;if(!t)return null;const{isAutoWidth:p}=e;if(p){const f=n.autoLabelWidth,h={};if(f&&f!=="auto"){const b=Math.max(0,Number.parseInt(f,10)-i.value),m=n.labelPosition==="left"?"marginRight":"marginLeft";b&&(h[m]=`${b}px`)}return U("div",{ref:a,class:[r.be("item","label-wrap")],style:h},[(d=t.default)==null?void 0:d.call(t)])}else return U(Fe,{ref:a},[(u=t.default)==null?void 0:u.call(t)])}}});const CV=["for"],SV={name:"ElFormItem"},$V=ee(ze(he({},SV),{props:kV,setup(e,{expose:t}){const n=e,o="ElFormItem",r=nl(),a=Ie(Mn);a||Wt(o,"usage: ");const i=Ie(qn,void 0),l=Ut(void 0,{formItem:!1}),s=ke("form-item"),c=A(""),d=Z4(c,100),u=A(""),p=A();let f,h=!1;const b=C(()=>{if(a.labelPosition==="top")return{};const Z=io(n.labelWidth||a.labelWidth||"");return Z?{width:Z}:{}}),m=C(()=>{if(a.labelPosition==="top"||a.inline)return{};if(!n.label&&!n.labelWidth&&k)return{};const Z=io(n.labelWidth||a.labelWidth||"");return!n.label&&!r.label?{marginLeft:Z}:{}}),g=C(()=>[s.b(),s.m(l.value),s.is("error",c.value==="error"),s.is("validating",c.value==="validating"),s.is("success",c.value==="success"),s.is("required",D.value||n.required),s.is("no-asterisk",a.hideRequiredAsterisk),{[s.m("feedback")]:a.statusIcon}]),v=C(()=>on(n.inlineMessage)?n.inlineMessage:a.inlineMessage||!1),y=C(()=>[s.e("error"),{[s.em("error","inline")]:v.value}]),T=C(()=>n.prop?Qe(n.prop)?n.prop:n.prop.join("."):""),x=C(()=>n.for||T.value),k=!!i,$=C(()=>{const Z=a.model;if(!(!Z||!n.prop))return Bl(Z,n.prop).value}),z=C(()=>{const Z=n.rules?Di(n.rules):[],se=a.rules;if(se&&n.prop){const Se=Bl(se,n.prop).value;Se&&Z.push(...Di(Se))}return n.required!==void 0&&Z.push({required:!!n.required}),Z}),P=C(()=>z.value.length>0),O=Z=>z.value.filter(Se=>!Se.trigger||!Z?!0:Array.isArray(Se.trigger)?Se.trigger.includes(Z):Se.trigger===Z).map(H=>{var ne=H,{trigger:Se}=ne,oe=ef(ne,["trigger"]);return oe}),D=C(()=>z.value.some(Z=>Z.required===!0)),L=C(()=>d.value==="error"&&n.showMessage&&a.showMessage),F=C(()=>`${n.label||""}${a.labelSuffix||""}`),V=Z=>{c.value=Z},q=Z=>{var se,Se;const{errors:oe,fields:H}=Z;(!oe||!H)&&console.error(Z),V("error"),u.value=oe?(Se=(se=oe==null?void 0:oe[0])==null?void 0:se.message)!=null?Se:`${n.prop} is required`:"",a.emit("validate",n.prop,!1,u.value)},M=()=>{V("success"),a.emit("validate",n.prop,!0,"")},E=async Z=>{const se=T.value;return new dl({[se]:Z}).validate({[se]:$.value},{firstFields:!0}).then(()=>(M(),!0)).catch(oe=>(q(oe),Promise.reject(oe)))},N=async(Z,se)=>{if(h)return h=!1,!1;const Se=Je(se);if(!P.value)return se==null||se(!1),!1;const oe=O(Z);return oe.length===0?(se==null||se(!0),!0):(V("validating"),E(oe).then(()=>(se==null||se(!0),!0)).catch(H=>{const{fields:ne}=H;return se==null||se(!1,ne),Se?!1:Promise.reject(ne)}))},W=()=>{V(""),u.value=""},Y=async()=>{const Z=a.model;if(!Z||!n.prop)return;const se=Bl(Z,n.prop);En(se.value,f)||(h=!0),se.value=f,await je(),W()};ge(()=>n.error,Z=>{u.value=Z||"",V(Z?"error":"")},{immediate:!0}),ge(()=>n.validateStatus,Z=>V(Z||""));const J=vt(ze(he({},Gt(n)),{$el:p,size:l,validateState:c,resetField:Y,clearValidate:W,validate:N}));return ot(qn,J),et(()=>{n.prop&&(a.addField(J),f=LS($.value))}),$t(()=>{a.removeField(J)}),t({size:l,validateMessage:u,validateState:c,validate:N,clearValidate:W,resetField:Y}),(Z,se)=>(w(),I("div",{ref_key:"formItemRef",ref:p,class:S(_(g))},[U(_(TV),{"is-auto-width":_(b).width==="auto","update-all":_(a).labelWidth==="auto"},{default:K(()=>[Z.label||Z.$slots.label?(w(),I("label",{key:0,for:_(x),class:S(_(s).e("label")),style:Oe(_(b))},[ue(Z.$slots,"label",{label:_(F)},()=>[ct(ve(_(F)),1)])],14,CV)):G("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),R("div",{class:S(_(s).e("content")),style:Oe(_(m))},[ue(Z.$slots,"default"),U(qt,{name:`${_(s).namespace.value}-zoom-in-top`},{default:K(()=>[_(L)?ue(Z.$slots,"error",{key:0,error:u.value},()=>[R("div",{class:S(_(y))},ve(u.value),3)]):G("v-if",!0)]),_:3},8,["name"])],6)],2))}}));var f_=_e($V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const AV=rt(q9,{FormItem:f_}),EV=Dt(f_),zV=Le({urlList:{type:Te(Array),default:()=>Ft([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:{type:Boolean,default:!1},teleported:{type:Boolean,default:!1}}),IV={close:()=>!0,switch:e=>typeof e=="number"},NV=["src"],MV={name:"ElImageViewer"},RV=ee(ze(he({},MV),{props:zV,emits:IV,setup(e,{emit:t}){const n=e,o={CONTAIN:{name:"contain",icon:Ai(bE)},ORIGINAL:{name:"original",icon:Ai(M5)}},r=sp()?"DOMMouseScroll":"mousewheel",{t:a}=Tt(),i=ke("image-viewer"),{nextZIndex:l}=jo(),s=A(),c=A([]),d=N1(),u=A(!0),p=A(n.initialIndex),f=A(o.CONTAIN),h=A({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),b=C(()=>{const{urlList:M}=n;return M.length<=1}),m=C(()=>p.value===0),g=C(()=>p.value===n.urlList.length-1),v=C(()=>n.urlList[p.value]),y=C(()=>{const{scale:M,deg:E,offsetX:N,offsetY:W,enableTransition:Y}=h.value;let J=N/M,Z=W/M;switch(E%360){case 90:case-270:[J,Z]=[Z,-J];break;case 180:case-180:[J,Z]=[-J,-Z];break;case 270:case-90:[J,Z]=[-Z,J];break}const se={transform:`scale(${M}) rotate(${E}deg) translate(${J}px, ${Z}px)`,transition:Y?"transform .3s":""};return f.value.name===o.CONTAIN.name&&(se.maxWidth=se.maxHeight="100%"),se}),T=C(()=>mt(n.zIndex)?n.zIndex:l());function x(){$(),t("close")}function k(){const M=Pr(N=>{switch(N.code){case Pe.esc:x();break;case Pe.space:L();break;case Pe.left:F();break;case Pe.up:q("zoomIn");break;case Pe.right:V();break;case Pe.down:q("zoomOut");break}}),E=Pr(N=>{(N.wheelDelta?N.wheelDelta:-N.detail)>0?q("zoomIn",{zoomRate:1.2,enableTransition:!1}):q("zoomOut",{zoomRate:1.2,enableTransition:!1})});d.run(()=>{Ht(document,"keydown",M),Ht(document,r,E)})}function $(){d.stop()}function z(){u.value=!1}function P(M){u.value=!1,M.target.alt=a("el.image.error")}function O(M){if(u.value||M.button!==0||!s.value)return;h.value.enableTransition=!1;const{offsetX:E,offsetY:N}=h.value,W=M.pageX,Y=M.pageY,J=Pr(se=>{h.value=ze(he({},h.value),{offsetX:E+se.pageX-W,offsetY:N+se.pageY-Y})}),Z=Ht(document,"mousemove",J);Ht(document,"mouseup",()=>{Z()}),M.preventDefault()}function D(){h.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function L(){if(u.value)return;const M=Object.keys(o),E=Object.values(o),N=f.value.name,Y=(E.findIndex(J=>J.name===N)+1)%M.length;f.value=o[M[Y]],D()}function F(){if(m.value&&!n.infinite)return;const M=n.urlList.length;p.value=(p.value-1+M)%M}function V(){if(g.value&&!n.infinite)return;const M=n.urlList.length;p.value=(p.value+1)%M}function q(M,E={}){if(u.value)return;const{zoomRate:N,rotateDeg:W,enableTransition:Y}=he({zoomRate:1.4,rotateDeg:90,enableTransition:!0},E);switch(M){case"zoomOut":h.value.scale>.2&&(h.value.scale=Number.parseFloat((h.value.scale/N).toFixed(3)));break;case"zoomIn":h.value.scale<7&&(h.value.scale=Number.parseFloat((h.value.scale*N).toFixed(3)));break;case"clockwise":h.value.deg+=W;break;case"anticlockwise":h.value.deg-=W;break}h.value.enableTransition=Y}return ge(v,()=>{je(()=>{const M=c.value[0];M!=null&&M.complete||(u.value=!0)})}),ge(p,M=>{D(),t("switch",M)}),et(()=>{var M,E;k(),(E=(M=s.value)==null?void 0:M.focus)==null||E.call(M)}),(M,E)=>(w(),Q(el,{to:"body",disabled:!M.teleported},[U(qt,{name:"viewer-fade",appear:""},{default:K(()=>[R("div",{ref_key:"wrapper",ref:s,tabindex:-1,class:S(_(i).e("wrapper")),style:Oe({zIndex:_(T)})},[R("div",{class:S(_(i).e("mask")),onClick:E[0]||(E[0]=He(N=>M.hideOnClickModal&&x(),["self"]))},null,2),G(" CLOSE "),R("span",{class:S([_(i).e("btn"),_(i).e("close")]),onClick:x},[U(_(qe),null,{default:K(()=>[U(_(Hn))]),_:1})],2),G(" ARROW "),_(b)?G("v-if",!0):(w(),I(Fe,{key:0},[R("span",{class:S([_(i).e("btn"),_(i).e("prev"),_(i).is("disabled",!M.infinite&&_(m))]),onClick:F},[U(_(qe),null,{default:K(()=>[U(_(Xr))]),_:1})],2),R("span",{class:S([_(i).e("btn"),_(i).e("next"),_(i).is("disabled",!M.infinite&&_(g))]),onClick:V},[U(_(qe),null,{default:K(()=>[U(_(Yn))]),_:1})],2)],64)),G(" ACTIONS "),R("div",{class:S([_(i).e("btn"),_(i).e("actions")])},[R("div",{class:S(_(i).e("actions__inner"))},[U(_(qe),{onClick:E[1]||(E[1]=N=>q("zoomOut"))},{default:K(()=>[U(_(kz))]),_:1}),U(_(qe),{onClick:E[2]||(E[2]=N=>q("zoomIn"))},{default:K(()=>[U(_(Jv))]),_:1}),R("i",{class:S(_(i).e("actions__divider"))},null,2),U(_(qe),{onClick:L},{default:K(()=>[(w(),Q(pt(f.value.icon)))]),_:1}),R("i",{class:S(_(i).e("actions__divider"))},null,2),U(_(qe),{onClick:E[3]||(E[3]=N=>q("anticlockwise"))},{default:K(()=>[U(_(w5))]),_:1}),U(_(qe),{onClick:E[4]||(E[4]=N=>q("clockwise"))},{default:K(()=>[U(_($5))]),_:1})],2)],2),G(" CANVAS "),R("div",{class:S(_(i).e("canvas"))},[(w(!0),I(Fe,null,st(M.urlList,(N,W)=>Ue((w(),I("img",{ref_for:!0,ref:Y=>c.value[W]=Y,key:N,src:N,style:Oe(_(y)),class:S(_(i).e("img")),onLoad:z,onError:P,onMousedown:O},null,46,NV)),[[ft,W===p.value]])),128))],2),ue(M.$slots,"default")],6)]),_:3})],8,["disabled"]))}}));var PV=_e(RV,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);const h_=rt(PV),OV=Le({appendToBody:{type:Boolean,default:void 0},hideOnClickModal:{type:Boolean,default:!1},src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},lazy:{type:Boolean,default:!1},scrollContainer:{type:Te([String,Object])},previewSrcList:{type:Te(Array),default:()=>Ft([])},previewTeleported:{type:Boolean,default:!1},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0}}),FV={error:e=>e instanceof Event,switch:e=>mt(e),close:()=>!0},DV=["src"],LV={key:0},VV={name:"ElImage"},BV=ee(ze(he({},VV),{props:OV,emits:FV,setup(e,{emit:t}){const n=e;let o="";il({scope:"el-image",from:"append-to-body",replacement:"preview-teleported",version:"2.2.0",ref:"https://element-plus.org/en-US/component/image.html#image-attributess"},C(()=>on(n.appendToBody)));const{t:r}=Tt(),a=ke("image"),i=cp(),l=A(!1),s=A(!0),c=A(0),d=A(0),u=A(!1),p=A(),f=A();let h,b;const m=C(()=>i.value.style),g=C(()=>{const{fit:M}=n;return dt&&M?{objectFit:M}:{}}),v=C(()=>{const{previewSrcList:M}=n;return Array.isArray(M)&&M.length>0}),y=C(()=>n.appendToBody||n.previewTeleported),T=C(()=>{const{previewSrcList:M,initialIndex:E}=n;let N=E;return E>M.length-1&&(N=0),N}),x=()=>{if(!dt)return;s.value=!0,l.value=!1;const M=new Image,E=n.src;M.addEventListener("load",N=>{E===n.src&&k(N,M)}),M.addEventListener("error",N=>{E===n.src&&$(N)}),Object.entries(i.value).forEach(([N,W])=>{N.toLowerCase()!=="onload"&&M.setAttribute(N,W)}),M.src=E};function k(M,E){c.value=E.width,d.value=E.height,s.value=!1,l.value=!1}function $(M){s.value=!1,l.value=!0,t("error",M)}function z(){i$(p.value,f.value)&&(x(),D())}const P=Kv(z,200);async function O(){var M;if(!dt)return;await je();const{scrollContainer:E}=n;Hr(E)?f.value=E:Qe(E)&&E!==""?f.value=(M=document.querySelector(E))!=null?M:void 0:p.value&&(f.value=rp(p.value)),f.value&&(h=Ht(f,"scroll",P),setTimeout(()=>z(),100))}function D(){!dt||!f.value||!P||(h(),f.value=void 0)}function L(M){if(!!M.ctrlKey){if(M.deltaY<0)return M.preventDefault(),!1;if(M.deltaY>0)return M.preventDefault(),!1}}function F(){!v.value||(b=Ht("wheel",L,{passive:!1}),o=document.body.style.overflow,document.body.style.overflow="hidden",u.value=!0)}function V(){b==null||b(),document.body.style.overflow=o,u.value=!1,t("close")}function q(M){t("switch",M)}return ge(()=>n.src,()=>{n.lazy?(s.value=!0,l.value=!1,D(),O()):x()}),et(()=>{n.lazy?O():x()}),(M,E)=>(w(),I("div",{ref_key:"container",ref:p,class:S([_(a).b(),M.$attrs.class]),style:Oe(_(m))},[s.value?ue(M.$slots,"placeholder",{key:0},()=>[R("div",{class:S(_(a).e("placeholder"))},null,2)]):l.value?ue(M.$slots,"error",{key:1},()=>[R("div",{class:S(_(a).e("error"))},ve(_(r)("el.image.error")),3)]):(w(),I("img",St({key:2},_(i),{src:M.src,style:_(g),class:[_(a).e("inner"),_(v)?_(a).e("preview"):""],onClick:F}),null,16,DV)),_(v)?(w(),I(Fe,{key:3},[u.value?(w(),Q(_(h_),{key:0,"z-index":M.zIndex,"initial-index":_(T),infinite:M.infinite,"url-list":M.previewSrcList,"hide-on-click-modal":M.hideOnClickModal,teleported:_(y),onClose:V,onSwitch:q},{default:K(()=>[M.$slots.viewer?(w(),I("div",LV,[ue(M.$slots,"viewer")])):G("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","url-list","hide-on-click-modal","teleported"])):G("v-if",!0)],2112)):G("v-if",!0)],6))}}));var jV=_e(BV,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);const HV=rt(jV),qV=Le({step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:{type:Number},disabled:{type:Boolean,default:!1},size:{type:String,values:wo},controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},name:String,label:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)}}),KV={change:(e,t)=>e!==t,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,input:e=>mt(e),"update:modelValue":e=>mt(e)||e===void 0},WV=ee({name:"ElInputNumber",components:{ElInput:Gn,ElIcon:qe,ArrowUp:rl,ArrowDown:Gr,Plus:Xv,Minus:VE},directives:{RepeatClick:s0},props:qV,emits:KV,setup(e,{emit:t}){const n=A(),o=vt({currentValue:e.modelValue,userInput:null}),{formItem:r}=Ka(),a=ke("input-number"),i=C(()=>b(e.modelValue,-1)b(e.modelValue)>e.max),s=C(()=>{const O=h(e.step);return Cn(e.precision)?Math.max(h(e.modelValue),O):(O>e.precision,e.precision)}),c=C(()=>e.controls&&e.controlsPosition==="right"),d=Ut(),u=Zr(),p=C(()=>{if(o.userInput!==null)return o.userInput;let O=o.currentValue;if(mt(O)){if(Number.isNaN(O))return"";Cn(e.precision)||(O=O.toFixed(e.precision))}return O}),f=(O,D)=>(Cn(D)&&(D=s.value),Number.parseFloat(`${Math.round(O*10**D)/10**D}`)),h=O=>{if(Cn(O))return 0;const D=O.toString(),L=D.indexOf(".");let F=0;return L!==-1&&(F=D.length-L-1),F},b=(O,D=1)=>mt(O)?(O=mt(O)?O:Number.NaN,f(O+e.step*D)):o.currentValue,m=()=>{if(u.value||l.value)return;const O=e.modelValue||0,D=b(O);y(D)},g=()=>{if(u.value||i.value)return;const O=e.modelValue||0,D=b(O,-1);y(D)},v=(O,D)=>{const{max:L,min:F,step:V,precision:q,stepStrictly:M}=e;let E=Number(O);return O===null&&(E=Number.NaN),Number.isNaN(E)||(M&&(E=Math.round(E/V)*V),Cn(q)||(E=f(E,q)),(E>L||EL?L:F,D&&t("update:modelValue",E))),E},y=O=>{var D;const L=o.currentValue;let F=v(O);L!==F&&(Number.isNaN(F)&&(F=void 0),o.userInput=null,t("update:modelValue",F),t("input",F),t("change",F,L),(D=r==null?void 0:r.validate)==null||D.call(r,"change").catch(V=>void 0),o.currentValue=F)},T=O=>o.userInput=O,x=O=>{const D=O!==""?Number(O):"";(mt(D)&&!Number.isNaN(D)||O==="")&&y(D),o.userInput=null},k=()=>{var O,D;(D=(O=n.value)==null?void 0:O.focus)==null||D.call(O)},$=()=>{var O,D;(D=(O=n.value)==null?void 0:O.blur)==null||D.call(O)},z=O=>{t("focus",O)},P=O=>{var D;t("blur",O),(D=r==null?void 0:r.validate)==null||D.call(r,"blur").catch(L=>void 0)};return ge(()=>e.modelValue,O=>{const D=v(O,!0);o.currentValue=D,o.userInput=null},{immediate:!0}),et(()=>{var O;const D=(O=n.value)==null?void 0:O.input;if(D.setAttribute("role","spinbutton"),D.setAttribute("aria-valuemax",String(e.max)),D.setAttribute("aria-valuemin",String(e.min)),D.setAttribute("aria-valuenow",String(o.currentValue)),D.setAttribute("aria-disabled",String(u.value)),!mt(e.modelValue)){let L=Number(e.modelValue);Number.isNaN(L)&&(L=void 0),t("update:modelValue",L)}}),Un(()=>{var O;const D=(O=n.value)==null?void 0:O.input;D==null||D.setAttribute("aria-valuenow",o.currentValue)}),{input:n,displayValue:p,handleInput:T,handleInputChange:x,controlsAtRight:c,decrease:g,increase:m,inputNumberSize:d,inputNumberDisabled:u,maxDisabled:l,minDisabled:i,focus:k,blur:$,handleFocus:z,handleBlur:P,ns:a}}});function UV(e,t,n,o,r,a){const i=le("arrow-down"),l=le("minus"),s=le("el-icon"),c=le("arrow-up"),d=le("plus"),u=le("el-input"),p=In("repeat-click");return w(),I("div",{class:S([e.ns.b(),e.ns.m(e.inputNumberSize),e.ns.is("disabled",e.inputNumberDisabled),e.ns.is("without-controls",!e.controls),e.ns.is("controls-right",e.controlsAtRight)]),onDragstart:t[2]||(t[2]=He(()=>{},["prevent"]))},[e.controls?Ue((w(),I("span",{key:0,role:"button",class:S([e.ns.e("decrease"),e.ns.is("disabled",e.minDisabled)]),onKeydown:t[0]||(t[0]=lt((...f)=>e.decrease&&e.decrease(...f),["enter"]))},[U(s,null,{default:K(()=>[e.controlsAtRight?(w(),Q(i,{key:0})):(w(),Q(l,{key:1}))]),_:1})],34)),[[p,e.decrease]]):G("v-if",!0),e.controls?Ue((w(),I("span",{key:1,role:"button",class:S([e.ns.e("increase"),e.ns.is("disabled",e.maxDisabled)]),onKeydown:t[1]||(t[1]=lt((...f)=>e.increase&&e.increase(...f),["enter"]))},[U(s,null,{default:K(()=>[e.controlsAtRight?(w(),Q(c,{key:0})):(w(),Q(d,{key:1}))]),_:1})],34)),[[p,e.increase]]):G("v-if",!0),U(u,{ref:"input",type:"number",step:e.step,"model-value":e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label,"validate-event":!1,onKeydown:[lt(He(e.increase,["prevent"]),["up"]),lt(He(e.decrease,["prevent"]),["down"])],onBlur:e.handleBlur,onFocus:e.handleFocus,onInput:e.handleInput,onChange:e.handleInputChange},null,8,["step","model-value","placeholder","disabled","size","max","min","name","label","onKeydown","onBlur","onFocus","onInput","onChange"])],34)}var YV=_e(WV,[["render",UV],["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const m_=rt(YV),GV=Le({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},icon:{type:an,default:""}}),XV={click:e=>e instanceof MouseEvent},ZV=["href"],JV={name:"ElLink"},QV=ee(ze(he({},JV),{props:GV,emits:XV,setup(e,{emit:t}){const n=e,o=ke("link");function r(a){n.disabled||t("click",a)}return(a,i)=>(w(),I("a",{class:S([_(o).b(),_(o).m(a.type),_(o).is("disabled",a.disabled),_(o).is("underline",a.underline&&!a.disabled)]),href:a.disabled||!a.href?void 0:a.href,onClick:r},[a.icon?(w(),Q(_(qe),{key:0},{default:K(()=>[(w(),Q(pt(a.icon)))]),_:1})):G("v-if",!0),a.$slots.default?(w(),I("span",{key:1,class:S(_(o).e("inner"))},[ue(a.$slots,"default")],2)):G("v-if",!0),a.$slots.icon?ue(a.$slots,"icon",{key:2}):G("v-if",!0)],10,ZV))}}));var eB=_e(QV,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const tB=rt(eB);class nB{constructor(t,n){this.parent=t,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",o=>{let r=!1;switch(o.code){case Pe.down:{this.gotoSubIndex(this.subIndex+1),r=!0;break}case Pe.up:{this.gotoSubIndex(this.subIndex-1),r=!0;break}case Pe.tab:{Ll(t,"mouseleave");break}case Pe.enter:case Pe.space:{r=!0,o.currentTarget.click();break}}return r&&(o.preventDefault(),o.stopPropagation()),!1})})}}class oB{constructor(t){this.domNode=t,this.submenu=null,this.submenu=null,this.init()}init(){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(".el-menu");t&&(this.submenu=new nB(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{let n=!1;switch(t.code){case Pe.down:{Ll(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case Pe.up:{Ll(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case Pe.tab:{Ll(t.currentTarget,"mouseleave");break}case Pe.enter:case Pe.space:{n=!0,t.currentTarget.click();break}}n&&t.preventDefault()})}}class rB{constructor(t){this.domNode=t,this.init()}init(){const t=this.domNode.childNodes;Array.from(t).forEach(n=>{n.nodeType===1&&new oB(n)})}}const aB=ee({name:"ElMenuCollapseTransition",setup(){return{listeners:{onBeforeEnter:t=>t.style.opacity="0.2",onEnter(t,n){bo(t,"el-opacity-transition"),t.style.opacity="1",n()},onAfterEnter(t){hn(t,"el-opacity-transition"),t.style.opacity=""},onBeforeLeave(t){t.dataset||(t.dataset={}),oo(t,"el-menu--collapse")?(hn(t,"el-menu--collapse"),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),bo(t,"el-menu--collapse")):(bo(t,"el-menu--collapse"),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),hn(t,"el-menu--collapse")),t.style.width=`${t.scrollWidth}px`,t.style.overflow="hidden"},onLeave(t){bo(t,"horizontal-collapse-transition"),t.style.width=`${t.dataset.scrollWidth}px`}}}}});function iB(e,t,n,o,r,a){return w(),Q(qt,St({mode:"out-in"},e.listeners),{default:K(()=>[ue(e.$slots,"default")]),_:3},16)}var lB=_e(aB,[["render",iB],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function g_(e,t){const n=Ie("rootMenu");n||Wt("useMenu","can not inject root menu");const o=C(()=>{let i=e.parent;const l=[t.value];for(;i.type.name!=="ElMenu";)i.props.index&&l.unshift(i.props.index),i=i.parent;return l}),r=C(()=>{let i=e.parent;for(;i&&!["ElMenu","ElSubMenu"].includes(i.type.name);)i=i.parent;return i}),a=C(()=>{let i=e.parent;if(n.props.mode!=="vertical")return{};let l=20;if(n.props.collapse)l=20;else for(;i&&i.type.name!=="ElMenu";)i.type.name==="ElSubMenu"&&(l+=20),i=i.parent;return{paddingLeft:`${l}px`}});return{parentMenu:r,paddingStyle:a,indexPath:o}}function sB(e){return C(()=>{const n=e.backgroundColor;return n?new e0(n).shade(20).toString():""})}const b_=e=>C(()=>({"--el-menu-text-color":e.textColor||"","--el-menu-hover-text-color":e.textColor||"","--el-menu-bg-color":e.backgroundColor||"","--el-menu-hover-bg-color":sB(e).value||"","--el-menu-active-color":e.activeTextColor||""})),cB=Le({index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0},popperOffset:{type:Number,default:6}}),Uc="ElSubMenu";var Op=ee({name:Uc,props:cB,setup(e,{slots:t,expose:n}){const o=nt(),{paddingStyle:r,indexPath:a,parentMenu:i}=g_(o,C(()=>e.index)),l=Ie("rootMenu");l||Wt(Uc,"can not inject root menu");const s=Ie(`subMenu:${i.value.uid}`);s||Wt(Uc,"can not inject sub menu");const c=A({}),d=A({});let u;const p=A(!1),f=A(),h=A(null),b=C(()=>O.value==="horizontal"&&g.value?"bottom-start":"right-start"),m=C(()=>O.value==="horizontal"&&g.value||O.value==="vertical"&&!l.props.collapse?Gr:Yn),g=C(()=>{let N=!0,W=o.parent;for(;W&&W.type.name!=="ElMenu";)if(["ElSubMenu","ElMenuItemGroup"].includes(W.type.name)){N=!1;break}else W=W.parent;return N}),v=C(()=>e.popperAppendToBody===void 0?g.value:Boolean(e.popperAppendToBody)),y=C(()=>l.props.collapse?"el-zoom-in-left":"el-zoom-in-top"),T=C(()=>O.value==="horizontal"&&g.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","left-start","bottom-start","bottom-end","top-start","top-end"]),x=C(()=>l.openedMenus.includes(e.index)),k=C(()=>{let N=!1;return Object.values(c.value).forEach(W=>{W.active&&(N=!0)}),Object.values(d.value).forEach(W=>{W.active&&(N=!0)}),N}),$=C(()=>l.props.backgroundColor||""),z=C(()=>l.props.activeTextColor||""),P=C(()=>l.props.textColor||""),O=C(()=>l.props.mode),D=vt({index:e.index,indexPath:a,active:k}),L=C(()=>O.value!=="horizontal"?{color:P.value}:{borderBottomColor:k.value?l.props.activeTextColor?z.value:"":"transparent",color:k.value?z.value:P.value}),F=()=>{var N,W,Y;return(Y=(W=(N=h.value)==null?void 0:N.popperRef)==null?void 0:W.popperInstanceRef)==null?void 0:Y.destroy()},V=N=>{N||F()},q=()=>{l.props.menuTrigger==="hover"&&l.props.mode==="horizontal"||l.props.collapse&&l.props.mode==="vertical"||e.disabled||l.handleSubMenuClick({index:e.index,indexPath:a.value,active:k.value})},M=(N,W=e.showTimeout)=>{var Y;N.type==="focus"&&!N.relatedTarget||l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled||(s.mouseInChild.value=!0,u==null||u(),{stop:u}=jr(()=>{l.openMenu(e.index,a.value)},W),v.value&&((Y=i.value.vnode.el)==null||Y.dispatchEvent(new MouseEvent("mouseenter"))))},E=(N=!1)=>{var W,Y;l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||(u==null||u(),s.mouseInChild.value=!1,{stop:u}=jr(()=>!p.value&&l.closeMenu(e.index,a.value),e.hideTimeout),v.value&&N&&((W=o.parent)==null?void 0:W.type.name)==="ElSubMenu"&&((Y=s.handleMouseleave)==null||Y.call(s,!0)))};ge(()=>l.props.collapse,N=>V(Boolean(N)));{const N=Y=>{d.value[Y.index]=Y},W=Y=>{delete d.value[Y.index]};ot(`subMenu:${o.uid}`,{addSubMenu:N,removeSubMenu:W,handleMouseleave:E,mouseInChild:p})}return n({opened:x}),et(()=>{l.addSubMenu(D),s.addSubMenu(D)}),$t(()=>{s.removeSubMenu(D),l.removeSubMenu(D)}),()=>{var N;const W=[(N=t.title)==null?void 0:N.call(t),Re(qe,{class:["el-sub-menu__icon-arrow"]},{default:()=>Re(m.value)})],Y=b_(l.props),J=l.isMenuPopup?Re(vn,{ref:h,visible:x.value,effect:"light",pure:!0,offset:e.popperOffset,showArrow:!1,persistent:!0,popperClass:e.popperClass,placement:b.value,teleported:v.value,fallbackPlacements:T.value,transition:y.value,gpuAcceleration:!1},{content:()=>{var Z;return Re("div",{class:[`el-menu--${O.value}`,e.popperClass],onMouseenter:se=>M(se,100),onMouseleave:()=>E(!0),onFocus:se=>M(se,100)},[Re("ul",{class:["el-menu el-menu--popup",`el-menu--popup-${b.value}`],style:Y.value},[(Z=t.default)==null?void 0:Z.call(t)])])},default:()=>Re("div",{class:"el-sub-menu__title",style:[r.value,L.value,{backgroundColor:$.value}],onClick:q},W)}):Re(Fe,{},[Re("div",{class:"el-sub-menu__title",style:[r.value,L.value,{backgroundColor:$.value}],ref:f,onClick:q},W),Re(mc,{},{default:()=>{var Z;return Ue(Re("ul",{role:"menu",class:"el-menu el-menu--inline",style:Y.value},[(Z=t.default)==null?void 0:Z.call(t)]),[[ft,x.value]])}})]);return Re("li",{class:["el-sub-menu",{"is-active":k.value,"is-opened":x.value,"is-disabled":e.disabled}],role:"menuitem",ariaHaspopup:!0,ariaExpanded:x.value,onMouseenter:M,onMouseleave:()=>E(!0),onFocus:M},[J])}}});const dB=Le({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:Te(Array),default:()=>Ft([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0}}),Yc=e=>Array.isArray(e)&&e.every(t=>Qe(t)),uB={close:(e,t)=>Qe(e)&&Yc(t),open:(e,t)=>Qe(e)&&Yc(t),select:(e,t,n,o)=>Qe(e)&&Yc(t)&&ut(n)&&(o===void 0||o instanceof Promise)};var pB=ee({name:"ElMenu",props:dB,emits:uB,setup(e,{emit:t,slots:n,expose:o}){const r=nt(),a=r.appContext.config.globalProperties.$router,i=A(),l=A(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),s=A(e.defaultActive),c=A({}),d=A({}),u=C(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),p=()=>{const x=s.value&&c.value[s.value];if(!x||e.mode==="horizontal"||e.collapse)return;x.indexPath.forEach($=>{const z=d.value[$];z&&f($,z.indexPath)})},f=(x,k)=>{l.value.includes(x)||(e.uniqueOpened&&(l.value=l.value.filter($=>k.includes($))),l.value.push(x),t("open",x,k))},h=(x,k)=>{const $=l.value.indexOf(x);$!==-1&&l.value.splice($,1),t("close",x,k)},b=({index:x,indexPath:k})=>{l.value.includes(x)?h(x,k):f(x,k)},m=x=>{(e.mode==="horizontal"||e.collapse)&&(l.value=[]);const{index:k,indexPath:$}=x;if(!(k===void 0||$===void 0))if(e.router&&a){const z=x.route||k,P=a.push(z).then(O=>(O||(s.value=k),O));t("select",k,$,{index:k,indexPath:$,route:z},P)}else s.value=k,t("select",k,$,{index:k,indexPath:$})},g=x=>{const k=c.value,$=k[x]||s.value&&k[s.value]||k[e.defaultActive];$?(s.value=$.index,p()):s.value=x},v=()=>{je(()=>r.proxy.$forceUpdate())};ge(()=>e.defaultActive,x=>{c.value[x]||(s.value=""),g(x)}),ge(c.value,()=>p()),ge(()=>e.collapse,x=>{x&&(l.value=[])});{const x=P=>{d.value[P.index]=P},k=P=>{delete d.value[P.index]};ot("rootMenu",vt({props:e,openedMenus:l,items:c,subMenus:d,activeIndex:s,isMenuPopup:u,addMenuItem:P=>{c.value[P.index]=P},removeMenuItem:P=>{delete c.value[P.index]},addSubMenu:x,removeSubMenu:k,openMenu:f,closeMenu:h,handleMenuItemClick:m,handleSubMenuClick:b})),ot(`subMenu:${r.uid}`,{addSubMenu:x,removeSubMenu:k,mouseInChild:A(!1)})}et(()=>{p(),e.mode==="horizontal"&&new rB(r.vnode.el)}),o({open:k=>{const{indexPath:$}=d.value[k];$.forEach(z=>f(z,$))},close:h,handleResize:v});const y=x=>{const k=Array.isArray(x)?x:[x],$=[];return k.forEach(z=>{Array.isArray(z.children)?$.push(...y(z.children)):$.push(z)}),$},T=x=>e.mode==="horizontal"?Ue(x,[[bR,v]]):x;return()=>{var x,k,$,z;let P=(k=(x=n.default)==null?void 0:x.call(n))!=null?k:[];const O=[];if(e.mode==="horizontal"&&i.value){const V=Array.from((z=($=i.value)==null?void 0:$.childNodes)!=null?z:[]).filter(Se=>Se.nodeName!=="#text"||Se.nodeValue),q=y(P),M=64,E=Number.parseInt(getComputedStyle(i.value).paddingLeft,10),N=Number.parseInt(getComputedStyle(i.value).paddingRight,10),W=i.value.clientWidth-E-N;let Y=0,J=0;V.forEach((Se,oe)=>{Y+=Se.offsetWidth||0,Y<=W-M&&(J=oe+1)});const Z=q.slice(0,J),se=q.slice(J);(se==null?void 0:se.length)&&e.ellipsis&&(P=Z,O.push(Re(Op,{index:"sub-menu-more",class:"el-sub-menu__hide-arrow"},{title:()=>Re(qe,{class:["el-sub-menu__icon-more"]},{default:()=>Re(JE)}),default:()=>se})))}const D=b_(e),F=(V=>e.ellipsis?T(V):V)(Re("ul",{key:String(e.collapse),role:"menubar",ref:i,style:D.value,class:{"el-menu":!0,"el-menu--horizontal":e.mode==="horizontal","el-menu--collapse":e.collapse}},[...P,...O]));return e.collapseTransition&&e.mode==="vertical"?Re(lB,()=>F):F}}});const fB=Le({index:{type:Te([String,null]),default:null},route:{type:Te([String,Object])},disabled:Boolean}),hB={click:e=>Qe(e.index)&&Array.isArray(e.indexPath)},Gc="ElMenuItem",mB=ee({name:Gc,components:{ElTooltip:vn},props:fB,emits:hB,setup(e,{emit:t}){const n=nt(),o=Ie("rootMenu");o||Wt(Gc,"can not inject root menu");const{parentMenu:r,paddingStyle:a,indexPath:i}=g_(n,Yt(e,"index")),l=Ie(`subMenu:${r.value.uid}`);l||Wt(Gc,"can not inject sub menu");const s=C(()=>e.index===o.activeIndex),c=vt({index:e.index,indexPath:i,active:s}),d=()=>{e.disabled||(o.handleMenuItemClick({index:e.index,indexPath:i.value,route:e.route}),t("click",c))};return et(()=>{l.addSubMenu(c),o.addMenuItem(c)}),$t(()=>{l.removeSubMenu(c),o.removeMenuItem(c)}),{Effect:PN,parentMenu:r,rootMenu:o,paddingStyle:a,active:s,handleClick:d}}}),gB={class:"el-menu-tooltip__trigger"};function bB(e,t,n,o,r,a){const i=le("el-tooltip");return w(),I("li",{class:S(["el-menu-item",{"is-active":e.active,"is-disabled":e.disabled}]),role:"menuitem",tabindex:"-1",style:Oe(e.paddingStyle),onClick:t[0]||(t[0]=(...l)=>e.handleClick&&e.handleClick(...l))},[e.parentMenu.type.name==="ElMenu"&&e.rootMenu.props.collapse&&e.$slots.title?(w(),Q(i,{key:0,effect:e.Effect.DARK,placement:"right","fallback-placements":["left"],persistent:""},{content:K(()=>[ue(e.$slots,"title")]),default:K(()=>[R("div",gB,[ue(e.$slots,"default")])]),_:3},8,["effect"])):(w(),I(Fe,{key:1},[ue(e.$slots,"default"),ue(e.$slots,"title")],64))],6)}var v_=_e(mB,[["render",bB],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const vB={title:String},rg="ElMenuItemGroup",yB=ee({name:rg,props:vB,setup(){const e=nt(),t=Ie("rootMenu");return t||Wt(rg,"can not inject root menu"),{levelPadding:C(()=>{if(t.props.collapse)return 20;let o=20,r=e.parent;for(;r&&r.type.name!=="ElMenu";)r.type.name==="ElSubMenu"&&(o+=20),r=r.parent;return o})}}}),_B={class:"el-menu-item-group"};function wB(e,t,n,o,r,a){return w(),I("li",_B,[R("div",{class:"el-menu-item-group__title",style:Oe({paddingLeft:`${e.levelPadding}px`})},[e.$slots.title?ue(e.$slots,"title",{key:1}):(w(),I(Fe,{key:0},[ct(ve(e.title),1)],2112))],4),R("ul",null,[ue(e.$slots,"default")])])}var y_=_e(yB,[["render",wB],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const xB=rt(pB,{MenuItem:v_,MenuItemGroup:y_,SubMenu:Op}),kB=Dt(v_),TB=Dt(y_);Dt(Op);const CB=Le({icon:{type:an,default:()=>V$},title:String,content:{type:String,default:""}}),SB={back:()=>!0},$B={name:"ElPageHeader"},AB=ee(ze(he({},$B),{props:CB,emits:SB,setup(e,{emit:t}){const{t:n}=Tt(),o=ke("page-header");function r(){t("back")}return(a,i)=>(w(),I("div",{class:S(_(o).b())},[R("div",{class:S(_(o).e("left")),onClick:r},[a.icon||a.$slots.icon?(w(),I("div",{key:0,class:S(_(o).e("icon"))},[ue(a.$slots,"icon",{},()=>[a.icon?(w(),Q(_(qe),{key:0},{default:K(()=>[(w(),Q(pt(a.icon)))]),_:1})):G("v-if",!0)])],2)):G("v-if",!0),R("div",{class:S(_(o).e("title"))},[ue(a.$slots,"title",{},()=>[ct(ve(a.title||_(n)("el.pageHeader.title")),1)])],2)],2),R("div",{class:S(_(o).e("content"))},[ue(a.$slots,"content",{},()=>[ct(ve(a.content),1)])],2)],2))}}));var EB=_e(AB,[["__file","/home/runner/work/element-plus/element-plus/packages/components/page-header/src/page-header.vue"]]);const zB=rt(EB),IB={disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String,default:""}},NB=ee({name:"ElPaginationPrev",components:{ElIcon:qe,ArrowLeft:Xr},props:IB,emits:["click"],setup(e){return{internalDisabled:C(()=>e.disabled||e.currentPage<=1)}}}),MB=["disabled","aria-disabled"],RB={key:0};function PB(e,t,n,o,r,a){const i=le("arrow-left"),l=le("el-icon");return w(),I("button",{type:"button",class:"btn-prev",disabled:e.internalDisabled,"aria-disabled":e.internalDisabled,onClick:t[0]||(t[0]=s=>e.$emit("click",s))},[e.prevText?(w(),I("span",RB,ve(e.prevText),1)):(w(),Q(l,{key:1},{default:K(()=>[U(i)]),_:1}))],8,MB)}var OB=_e(NB,[["render",PB],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const FB={disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String,default:""}},DB=ee({name:"ElPaginationNext",components:{ElIcon:qe,ArrowRight:Yn},props:FB,emits:["click"],setup(e){return{internalDisabled:C(()=>e.disabled||e.currentPage===e.pageCount||e.pageCount===0)}}}),LB=["disabled","aria-disabled"],VB={key:0};function BB(e,t,n,o,r,a){const i=le("arrow-right"),l=le("el-icon");return w(),I("button",{type:"button",class:"btn-next",disabled:e.internalDisabled,"aria-disabled":e.internalDisabled,onClick:t[0]||(t[0]=s=>e.$emit("click",s))},[e.nextText?(w(),I("span",VB,ve(e.nextText),1)):(w(),Q(l,{key:1},{default:K(()=>[U(i)]),_:1}))],8,LB)}var jB=_e(DB,[["render",BB],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const __="ElSelectGroup",gc="ElSelect";function HB(e,t){const n=Ie(gc),o=Ie(__,{disabled:!1}),r=C(()=>Object.prototype.toString.call(e.value).toLowerCase()==="[object object]"),a=C(()=>n.props.multiple?u(n.props.modelValue,e.value):p(e.value,n.props.modelValue)),i=C(()=>{if(n.props.multiple){const b=n.props.modelValue||[];return!a.value&&b.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),l=C(()=>e.label||(r.value?"":e.value)),s=C(()=>e.value||e.label||""),c=C(()=>e.disabled||t.groupDisabled||i.value),d=nt(),u=(b=[],m)=>{if(r.value){const g=n.props.valueKey;return b&&b.some(v=>Pt(v,g)===Pt(m,g))}else return b&&b.includes(m)},p=(b,m)=>{if(r.value){const{valueKey:g}=n.props;return Pt(b,g)===Pt(m,g)}else return b===m},f=()=>{!e.disabled&&!o.disabled&&(n.hoverIndex=n.optionsArray.indexOf(d.proxy))};ge(()=>l.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),ge(()=>e.value,(b,m)=>{const{remote:g,valueKey:v}=n.props;if(!e.created&&!g){if(v&&typeof b=="object"&&typeof m=="object"&&b[v]===m[v])return;n.setSelected()}}),ge(()=>o.disabled,()=>{t.groupDisabled=o.disabled},{immediate:!0});const{queryChange:h}=kt(n);return ge(h,b=>{const{query:m}=_(b),g=new RegExp(d$(m),"i");t.visible=g.test(l.value)||e.created,t.visible||n.filteredOptionsCount--}),{select:n,currentLabel:l,currentValue:s,itemSelected:a,isDisabled:c,hoverItem:f}}const qB=ee({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(e){const t=ke("select"),n=vt({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:o,itemSelected:r,isDisabled:a,select:i,hoverItem:l}=HB(e,n),{visible:s,hover:c}=Gt(n),d=nt().proxy,u=d.value;i.onOptionCreate(d),$t(()=>{const{selected:f}=i,b=(i.props.multiple?f:[f]).some(m=>m.value===d.value);i.cachedOptions.get(u)===d&&!b&&je(()=>{i.cachedOptions.delete(u)}),i.onOptionDestroy(u,d)});function p(){e.disabled!==!0&&n.groupDisabled!==!0&&i.handleOptionSelect(d,!0)}return{ns:t,currentLabel:o,itemSelected:r,isDisabled:a,select:i,hoverItem:l,visible:s,hover:c,selectOptionClick:p,states:n}}});function KB(e,t,n,o,r,a){return Ue((w(),I("li",{class:S([e.ns.be("dropdown","item"),e.ns.is("disabled",e.isDisabled),{selected:e.itemSelected,hover:e.hover}]),onMouseenter:t[0]||(t[0]=(...i)=>e.hoverItem&&e.hoverItem(...i)),onClick:t[1]||(t[1]=He((...i)=>e.selectOptionClick&&e.selectOptionClick(...i),["stop"]))},[ue(e.$slots,"default",{},()=>[R("span",null,ve(e.currentLabel),1)])],34)),[[ft,e.visible]])}var Fp=_e(qB,[["render",KB],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const WB=ee({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Ie(gc),t=ke("select"),n=C(()=>e.props.popperClass),o=C(()=>e.props.multiple),r=C(()=>e.props.fitInputWidth),a=A("");function i(){var l;a.value=`${(l=e.selectWrapper)==null?void 0:l.getBoundingClientRect().width}px`}return et(()=>{i(),ja(e.selectWrapper,i)}),$t(()=>{Ha(e.selectWrapper,i)}),{ns:t,minWidth:a,popperClass:n,isMultiple:o,isFitInputWidth:r}}});function UB(e,t,n,o,r,a){return w(),I("div",{class:S([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:Oe({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[ue(e.$slots,"default")],6)}var YB=_e(WB,[["render",UB],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function GB(e){const{t}=Tt();return vt({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,prefixWidth:11,tagInMultiLine:!1})}const XB=(e,t,n)=>{const{t:o}=Tt(),r=ke("select"),a=A(null),i=A(null),l=A(null),s=A(null),c=A(null),d=A(null),u=A(-1),p=Kt({query:""}),f=Kt(""),h=Ie(Mn,{}),b=Ie(qn,{}),m=C(()=>!e.filterable||e.multiple||!t.visible),g=C(()=>e.disabled||h.disabled),v=C(()=>{const re=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:e.modelValue!==void 0&&e.modelValue!==null&&e.modelValue!=="";return e.clearable&&!g.value&&t.inputHovering&&re}),y=C(()=>e.remote&&e.filterable?"":e.suffixIcon),T=C(()=>r.is("reverse",y.value&&t.visible)),x=C(()=>e.remote?300:0),k=C(()=>e.loading?e.loadingText||o("el.select.loading"):e.remote&&t.query===""&&t.options.size===0?!1:e.filterable&&t.query&&t.options.size>0&&t.filteredOptionsCount===0?e.noMatchText||o("el.select.noMatch"):t.options.size===0?e.noDataText||o("el.select.noData"):null),$=C(()=>Array.from(t.options.values())),z=C(()=>Array.from(t.cachedOptions.values())),P=C(()=>{const re=$.value.filter(ye=>!ye.created).some(ye=>ye.currentLabel===t.query);return e.filterable&&e.allowCreate&&t.query!==""&&!re}),O=Ut(),D=C(()=>["small"].includes(O.value)?"small":"default"),L=C({get(){return t.visible&&k.value!==!1},set(re){t.visible=re}});ge(()=>g.value,()=>{je(()=>{F()})}),ge(()=>e.placeholder,re=>{t.cachedPlaceHolder=t.currentPlaceholder=re}),ge(()=>e.modelValue,(re,ye)=>{var fe;e.multiple&&(F(),re&&re.length>0||i.value&&t.query!==""?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",V(t.query))),E(),e.filterable&&!e.multiple&&(t.inputLength=20),En(re,ye)||(fe=b.validate)==null||fe.call(b,"change").catch(Ee=>void 0)},{flush:"post",deep:!0}),ge(()=>t.visible,re=>{var ye,fe,Ee;re?((fe=(ye=l.value)==null?void 0:ye.updatePopper)==null||fe.call(ye),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,e.multiple?(Ee=i.value)==null||Ee.focus():t.selectedLabel&&(t.currentPlaceholder=`${t.selectedLabel}`,t.selectedLabel=""),V(t.query),!e.multiple&&!e.remote&&(p.value.query="",Xa(p),Xa(f)))):(i.value&&i.value.blur(),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,W(),je(()=>{i.value&&i.value.value===""&&t.selected.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),n.emit("visible-change",re)}),ge(()=>t.options.entries(),()=>{var re,ye,fe;if(!dt)return;(ye=(re=l.value)==null?void 0:re.updatePopper)==null||ye.call(re),e.multiple&&F();const Ee=((fe=c.value)==null?void 0:fe.querySelectorAll("input"))||[];Array.from(Ee).includes(document.activeElement)||E(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&M()},{flush:"post"}),ge(()=>t.hoverIndex,re=>{typeof re=="number"&&re>-1&&(u.value=$.value[re]||{}),$.value.forEach(ye=>{ye.hover=u.value===ye})});const F=()=>{e.collapseTags&&!e.filterable||je(()=>{var re,ye;if(!a.value)return;const fe=a.value.$el.childNodes,Ee=Array.from(fe).find(Ct=>Ct.tagName==="INPUT"),We=s.value,gt=t.initialInputHeight||ty(O.value||h.size);Ee.style.height=t.selected.length===0?`${gt}px`:`${Math.max(We?We.clientHeight+(We.clientHeight>gt?6:0):0,gt)}px`,t.tagInMultiLine=Number.parseFloat(Ee.style.height)>=gt,t.visible&&k.value!==!1&&((ye=(re=l.value)==null?void 0:re.updatePopper)==null||ye.call(re))})},V=re=>{if(!(t.previousQuery===re||t.isOnComposition)){if(t.previousQuery===null&&(typeof e.filterMethod=="function"||typeof e.remoteMethod=="function")){t.previousQuery=re;return}t.previousQuery=re,je(()=>{var ye,fe;t.visible&&((fe=(ye=l.value)==null?void 0:ye.updatePopper)==null||fe.call(ye))}),t.hoverIndex=-1,e.multiple&&e.filterable&&je(()=>{const ye=i.value.value.length*15+20;t.inputLength=e.collapseTags?Math.min(50,ye):ye,q(),F()}),e.remote&&typeof e.remoteMethod=="function"?(t.hoverIndex=-1,e.remoteMethod(re)):typeof e.filterMethod=="function"?(e.filterMethod(re),Xa(f)):(t.filteredOptionsCount=t.optionsCount,p.value.query=re,Xa(p),Xa(f)),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&M()}},q=()=>{t.currentPlaceholder!==""&&(t.currentPlaceholder=i.value.value?"":t.cachedPlaceHolder)},M=()=>{const re=$.value.filter(Ee=>Ee.visible&&!Ee.disabled&&!Ee.states.groupDisabled),ye=re.find(Ee=>Ee.created),fe=re[0];t.hoverIndex=$e($.value,ye||fe)},E=()=>{var re;if(e.multiple)t.selectedLabel="";else{const fe=N(e.modelValue);(re=fe.props)!=null&&re.created?(t.createdLabel=fe.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=fe.currentLabel,t.selected=fe,e.filterable&&(t.query=t.selectedLabel);return}const ye=[];Array.isArray(e.modelValue)&&e.modelValue.forEach(fe=>{ye.push(N(fe))}),t.selected=ye,je(()=>{F()})},N=re=>{let ye;const fe=Nl(re).toLowerCase()==="object",Ee=Nl(re).toLowerCase()==="null",We=Nl(re).toLowerCase()==="undefined";for(let _t=t.cachedOptions.size-1;_t>=0;_t--){const Et=z.value[_t];if(fe?Pt(Et,e.valueKey)===Pt(re,e.valueKey):Et.value===re){ye={value:re,currentLabel:Et.currentLabel,isDisabled:Et.isDisabled};break}}if(ye)return ye;const gt=fe?re.label:!Ee&&!We?re:"",Ct={value:re,currentLabel:gt};return e.multiple&&(Ct.hitState=!1),Ct},W=()=>{setTimeout(()=>{const re=e.valueKey;e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map(ye=>$.value.findIndex(fe=>Pt(fe,re)===Pt(ye,re)))):t.hoverIndex=-1:t.hoverIndex=$.value.findIndex(ye=>Be(ye)===Be(t.selected))},300)},Y=()=>{var re,ye;J(),(ye=(re=l.value)==null?void 0:re.updatePopper)==null||ye.call(re),e.multiple&&!e.filterable&&F()},J=()=>{var re;t.inputWidth=(re=a.value)==null?void 0:re.$el.getBoundingClientRect().width},Z=()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,V(t.query))},se=bn(()=>{Z()},x.value),Se=bn(re=>{V(re.target.value)},x.value),oe=re=>{En(e.modelValue,re)||n.emit(Xt,re)},H=re=>{if(re.target.value.length<=0&&!xe()){const ye=e.modelValue.slice();ye.pop(),n.emit(tt,ye),oe(ye)}re.target.value.length===1&&e.modelValue.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)},ne=(re,ye)=>{const fe=t.selected.indexOf(ye);if(fe>-1&&!g.value){const Ee=e.modelValue.slice();Ee.splice(fe,1),n.emit(tt,Ee),oe(Ee),n.emit("remove-tag",ye.value)}re.stopPropagation()},ie=re=>{re.stopPropagation();const ye=e.multiple?[]:"";if(typeof ye!="string")for(const fe of t.selected)fe.isDisabled&&ye.push(fe.value);n.emit(tt,ye),oe(ye),t.visible=!1,n.emit("clear")},be=(re,ye)=>{var fe;if(e.multiple){const Ee=(e.modelValue||[]).slice(),We=$e(Ee,re.value);We>-1?Ee.splice(We,1):(e.multipleLimit<=0||Ee.length{Me(re)})},$e=(re=[],ye)=>{if(!ut(ye))return re.indexOf(ye);const fe=e.valueKey;let Ee=-1;return re.some((We,gt)=>Pt(We,fe)===Pt(ye,fe)?(Ee=gt,!0):!1),Ee},Ne=()=>{t.softFocus=!0;const re=i.value||a.value;re&&(re==null||re.focus())},Me=re=>{var ye,fe,Ee,We,gt;const Ct=Array.isArray(re)?re[0]:re;let _t=null;if(Ct!=null&&Ct.value){const Et=$.value.filter(Rn=>Rn.value===Ct.value);Et.length>0&&(_t=Et[0].$el)}if(l.value&&_t){const Et=(We=(Ee=(fe=(ye=l.value)==null?void 0:ye.popperRef)==null?void 0:fe.contentRef)==null?void 0:Ee.querySelector)==null?void 0:We.call(Ee,`.${r.be("dropdown","wrap")}`);Et&&Uv(Et,_t)}(gt=d.value)==null||gt.handleScroll()},j=re=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set(re.value,re),t.cachedOptions.set(re.value,re)},X=(re,ye)=>{t.options.get(re)===ye&&(t.optionsCount--,t.filteredOptionsCount--,t.options.delete(re))},de=re=>{re.code!==Pe.backspace&&xe(!1),t.inputLength=i.value.value.length*15+20,F()},xe=re=>{if(!Array.isArray(t.selected))return;const ye=t.selected[t.selected.length-1];if(!!ye)return re===!0||re===!1?(ye.hitState=re,re):(ye.hitState=!ye.hitState,ye.hitState)},we=re=>{const ye=re.target.value;if(re.type==="compositionend")t.isOnComposition=!1,je(()=>V(ye));else{const fe=ye[ye.length-1]||"";t.isOnComposition=!ic(fe)}},Ae=()=>{je(()=>Me(t.selected))},ce=re=>{t.softFocus?t.softFocus=!1:((e.automaticDropdown||e.filterable)&&(e.filterable&&!t.visible&&(t.menuVisibleOnFocus=!0),t.visible=!0),n.emit("focus",re))},ae=()=>{var re;t.visible=!1,(re=a.value)==null||re.blur()},te=re=>{je(()=>{t.isSilentBlur?t.isSilentBlur=!1:n.emit("blur",re)}),t.softFocus=!1},pe=re=>{ie(re)},De=()=>{t.visible=!1},B=()=>{var re;e.automaticDropdown||g.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:t.visible=!t.visible,t.visible&&((re=i.value||a.value)==null||re.focus()))},me=()=>{t.visible?$.value[t.hoverIndex]&&be($.value[t.hoverIndex],void 0):B()},Be=re=>ut(re.value)?Pt(re.value,e.valueKey):re.value,Ze=C(()=>$.value.filter(re=>re.visible).every(re=>re.disabled)),Ve=re=>{if(!t.visible){t.visible=!0;return}if(!(t.options.size===0||t.filteredOptionsCount===0)&&!t.isOnComposition&&!Ze.value){re==="next"?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):re==="prev"&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const ye=$.value[t.hoverIndex];(ye.disabled===!0||ye.states.groupDisabled===!0||!ye.visible)&&Ve(re),je(()=>Me(u.value))}};return{optionsArray:$,selectSize:O,handleResize:Y,debouncedOnInputChange:se,debouncedQueryChange:Se,deletePrevTag:H,deleteTag:ne,deleteSelected:ie,handleOptionSelect:be,scrollToOption:Me,readonly:m,resetInputHeight:F,showClose:v,iconComponent:y,iconReverse:T,showNewOption:P,collapseTagSize:D,setSelected:E,managePlaceholder:q,selectDisabled:g,emptyText:k,toggleLastOptionHitState:xe,resetInputState:de,handleComposition:we,onOptionCreate:j,onOptionDestroy:X,handleMenuEnter:Ae,handleFocus:ce,blur:ae,handleBlur:te,handleClearClick:pe,handleClose:De,toggleMenu:B,selectOption:me,getValueKey:Be,navigateOptions:Ve,dropMenuVisible:L,queryChange:p,groupQueryChange:f,reference:a,input:i,tooltipRef:l,tags:s,selectWrapper:c,scrollbar:d}},Xc="ElSelect",ZB=ee({name:Xc,componentName:Xc,components:{ElInput:Gn,ElSelectMenu:YB,ElOption:Fp,ElTag:hc,ElScrollbar:qo,ElTooltip:vn,ElIcon:qe},directives:{ClickOutside:Jr},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:Nn},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},popperAppendToBody:{type:Boolean,default:void 0},teleported:tn.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:[String,Object],default:Oo},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{type:[String,Object],default:rl},tagType:ze(he({},Ep.type),{default:"info"})},emits:[tt,Xt,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const n=ke("select"),o=ke("input"),{t:r}=Tt(),a=GB(e),{optionsArray:i,selectSize:l,readonly:s,handleResize:c,collapseTagSize:d,debouncedOnInputChange:u,debouncedQueryChange:p,deletePrevTag:f,deleteTag:h,deleteSelected:b,handleOptionSelect:m,scrollToOption:g,setSelected:v,resetInputHeight:y,managePlaceholder:T,showClose:x,selectDisabled:k,iconComponent:$,iconReverse:z,showNewOption:P,emptyText:O,toggleLastOptionHitState:D,resetInputState:L,handleComposition:F,onOptionCreate:V,onOptionDestroy:q,handleMenuEnter:M,handleFocus:E,blur:N,handleBlur:W,handleClearClick:Y,handleClose:J,toggleMenu:Z,selectOption:se,getValueKey:Se,navigateOptions:oe,dropMenuVisible:H,reference:ne,input:ie,tooltipRef:be,tags:$e,selectWrapper:Ne,scrollbar:Me,queryChange:j,groupQueryChange:X}=XB(e,a,t),{focus:de}=Oz(ne),{inputWidth:xe,selected:we,inputLength:Ae,filteredOptionsCount:ce,visible:ae,softFocus:te,selectedLabel:pe,hoverIndex:De,query:B,inputHovering:me,currentPlaceholder:Be,menuVisibleOnFocus:Ze,isOnComposition:Ve,isSilentBlur:re,options:ye,cachedOptions:fe,optionsCount:Ee,prefixWidth:We,tagInMultiLine:gt}=Gt(a),Ct=C(()=>{const un=[n.b()],yn=_(l);return yn&&un.push(n.m(yn)),e.disabled&&un.push(n.m("disabled")),un}),_t=C(()=>({maxWidth:`${_(xe)-32}px`,width:"100%"}));ot(gc,vt({props:e,options:ye,optionsArray:i,cachedOptions:fe,optionsCount:Ee,filteredOptionsCount:ce,hoverIndex:De,handleOptionSelect:m,onOptionCreate:V,onOptionDestroy:q,selectWrapper:Ne,selected:we,setSelected:v,queryChange:j,groupQueryChange:X})),et(()=>{if(a.cachedPlaceHolder=Be.value=e.placeholder||r("el.select.placeholder"),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(Be.value=""),ja(Ne.value,c),ne.value&&ne.value.$el){const un=ne.value.input;a.initialInputHeight=un.getBoundingClientRect().height||ty(l.value)}e.remote&&e.multiple&&y(),je(()=>{if(!!ne.value&&(ne.value.$el&&(xe.value=ne.value.$el.getBoundingClientRect().width),t.slots.prefix)){const un=ne.value.$el.childNodes,yn=Array.from(un).find(Ga=>Ga.tagName==="INPUT"),gr=ne.value.$el.querySelector(`.${o.e("prefix")}`);We.value=Math.max(gr.getBoundingClientRect().width+5,30),a.prefixWidth&&(yn.style.paddingLeft=`${Math.max(a.prefixWidth,30)}px`)}}),v()}),$t(()=>{Ha(Ne.value,c)}),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(tt,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(tt,"");const Et=C(()=>{var un,yn;return(yn=(un=be.value)==null?void 0:un.popperRef)==null?void 0:yn.contentRef}),{compatTeleported:Rn}=Wa(Xc,"popperAppendToBody");return{tagInMultiLine:gt,prefixWidth:We,selectSize:l,readonly:s,handleResize:c,collapseTagSize:d,debouncedOnInputChange:u,debouncedQueryChange:p,deletePrevTag:f,deleteTag:h,deleteSelected:b,handleOptionSelect:m,scrollToOption:g,inputWidth:xe,selected:we,inputLength:Ae,filteredOptionsCount:ce,visible:ae,softFocus:te,selectedLabel:pe,hoverIndex:De,query:B,inputHovering:me,currentPlaceholder:Be,menuVisibleOnFocus:Ze,isOnComposition:Ve,isSilentBlur:re,options:ye,resetInputHeight:y,managePlaceholder:T,showClose:x,selectDisabled:k,iconComponent:$,iconReverse:z,showNewOption:P,emptyText:O,toggleLastOptionHitState:D,resetInputState:L,handleComposition:F,handleMenuEnter:M,handleFocus:E,blur:N,handleBlur:W,handleClearClick:Y,handleClose:J,toggleMenu:Z,selectOption:se,getValueKey:Se,navigateOptions:oe,dropMenuVisible:H,focus:de,reference:ne,input:ie,tooltipRef:be,popperPaneRef:Et,tags:$e,selectWrapper:Ne,scrollbar:Me,wrapperKls:Ct,selectTagsStyle:_t,compatTeleported:Rn,nsSelect:n}}}),JB={class:"select-trigger"},QB=["disabled","autocomplete"],ej={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function tj(e,t,n,o,r,a){const i=le("el-tag"),l=le("el-tooltip"),s=le("el-icon"),c=le("el-input"),d=le("el-option"),u=le("el-scrollbar"),p=le("el-select-menu"),f=In("click-outside");return Ue((w(),I("div",{ref:"selectWrapper",class:S(e.wrapperKls),onClick:t[24]||(t[24]=He((...h)=>e.toggleMenu&&e.toggleMenu(...h),["stop"]))},[U(l,{ref:"tooltipRef",visible:e.dropMenuVisible,"onUpdate:visible":t[23]||(t[23]=h=>e.dropMenuVisible=h),placement:"bottom-start",teleported:e.compatTeleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"fallback-placements":["bottom-start","top-start","right","left"],effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,onShow:e.handleMenuEnter},{default:K(()=>[R("div",JB,[e.multiple?(w(),I("div",{key:0,ref:"tags",class:S(e.nsSelect.e("tags")),style:Oe(e.selectTagsStyle)},[e.collapseTags&&e.selected.length?(w(),I("span",{key:0,class:S([e.nsSelect.b("tags-wrapper"),{"has-prefix":e.prefixWidth&&e.selected.length}])},[U(i,{closable:!e.selectDisabled&&!e.selected[0].isDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:e.tagType,"disable-transitions":"",onClose:t[0]||(t[0]=h=>e.deleteTag(h,e.selected[0]))},{default:K(()=>[R("span",{class:S(e.nsSelect.e("tags-text")),style:Oe({maxWidth:e.inputWidth-123+"px"})},ve(e.selected[0].currentLabel),7)]),_:1},8,["closable","size","hit","type"]),e.selected.length>1?(w(),Q(i,{key:0,closable:!1,size:e.collapseTagSize,type:e.tagType,"disable-transitions":""},{default:K(()=>[e.collapseTagsTooltip?(w(),Q(l,{key:0,disabled:e.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:!1},{default:K(()=>[R("span",{class:S(e.nsSelect.e("tags-text"))},"+ "+ve(e.selected.length-1),3)]),content:K(()=>[R("div",{class:S(e.nsSelect.e("collapse-tags"))},[(w(!0),I(Fe,null,st(e.selected,(h,b)=>(w(),I("div",{key:b,class:S(e.nsSelect.e("collapse-tag"))},[(w(),Q(i,{key:e.getValueKey(h),class:"in-tooltip",closable:!e.selectDisabled&&!h.isDisabled,size:e.collapseTagSize,hit:h.hitState,type:e.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:m=>e.deleteTag(m,h)},{default:K(()=>[R("span",{class:S(e.nsSelect.e("tags-text")),style:Oe({maxWidth:e.inputWidth-75+"px"})},ve(h.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))],2))),128))],2)]),_:1},8,["disabled","effect"])):(w(),I("span",{key:1,class:S(e.nsSelect.e("tags-text"))},"+ "+ve(e.selected.length-1),3))]),_:1},8,["size","type"])):G("v-if",!0)],2)):G("v-if",!0),G("
"),e.collapseTags?G("v-if",!0):(w(),Q(qt,{key:1,onAfterLeave:e.resetInputHeight},{default:K(()=>[R("span",{class:S([e.nsSelect.b("tags-wrapper"),{"has-prefix":e.prefixWidth&&e.selected.length}])},[(w(!0),I(Fe,null,st(e.selected,h=>(w(),Q(i,{key:e.getValueKey(h),closable:!e.selectDisabled&&!h.isDisabled,size:e.collapseTagSize,hit:h.hitState,type:e.tagType,"disable-transitions":"",onClose:b=>e.deleteTag(b,h)},{default:K(()=>[R("span",{class:S(e.nsSelect.e("tags-text")),style:Oe({maxWidth:e.inputWidth-75+"px"})},ve(h.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],2)]),_:1},8,["onAfterLeave"])),G("
"),e.filterable?Ue((w(),I("input",{key:2,ref:"input","onUpdate:modelValue":t[1]||(t[1]=h=>e.query=h),type:"text",class:S([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:Oe({marginLeft:e.prefixWidth&&!e.selected.length||e.tagInMultiLine?`${e.prefixWidth}px`:"",flexGrow:1,width:`${e.inputLength/(e.inputWidth-32)}%`,maxWidth:`${e.inputWidth-42}px`}),onFocus:t[2]||(t[2]=(...h)=>e.handleFocus&&e.handleFocus(...h)),onBlur:t[3]||(t[3]=(...h)=>e.handleBlur&&e.handleBlur(...h)),onKeyup:t[4]||(t[4]=(...h)=>e.managePlaceholder&&e.managePlaceholder(...h)),onKeydown:[t[5]||(t[5]=(...h)=>e.resetInputState&&e.resetInputState(...h)),t[6]||(t[6]=lt(He(h=>e.navigateOptions("next"),["prevent"]),["down"])),t[7]||(t[7]=lt(He(h=>e.navigateOptions("prev"),["prevent"]),["up"])),t[8]||(t[8]=lt(He(h=>e.visible=!1,["stop","prevent"]),["esc"])),t[9]||(t[9]=lt(He((...h)=>e.selectOption&&e.selectOption(...h),["stop","prevent"]),["enter"])),t[10]||(t[10]=lt((...h)=>e.deletePrevTag&&e.deletePrevTag(...h),["delete"])),t[11]||(t[11]=lt(h=>e.visible=!1,["tab"]))],onCompositionstart:t[12]||(t[12]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onCompositionupdate:t[13]||(t[13]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onCompositionend:t[14]||(t[14]=(...h)=>e.handleComposition&&e.handleComposition(...h)),onInput:t[15]||(t[15]=(...h)=>e.debouncedQueryChange&&e.debouncedQueryChange(...h))},null,46,QB)),[[Pu,e.query]]):G("v-if",!0)],6)):G("v-if",!0),U(c,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[16]||(t[16]=h=>e.selectedLabel=h),type:"text",placeholder:e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:S([e.nsSelect.is("focus",e.visible)]),tabindex:e.multiple&&e.filterable?-1:void 0,onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onCompositionstart:e.handleComposition,onCompositionupdate:e.handleComposition,onCompositionend:e.handleComposition,onKeydown:[t[17]||(t[17]=lt(He(h=>e.navigateOptions("next"),["stop","prevent"]),["down"])),t[18]||(t[18]=lt(He(h=>e.navigateOptions("prev"),["stop","prevent"]),["up"])),lt(He(e.selectOption,["stop","prevent"]),["enter"]),t[19]||(t[19]=lt(He(h=>e.visible=!1,["stop","prevent"]),["esc"])),t[20]||(t[20]=lt(h=>e.visible=!1,["tab"]))],onMouseenter:t[21]||(t[21]=h=>e.inputHovering=!0),onMouseleave:t[22]||(t[22]=h=>e.inputHovering=!1)},dr({suffix:K(()=>[e.iconComponent?Ue((w(),Q(s,{key:0,class:S([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])),[[ft,!e.showClose]]):G("v-if",!0),e.showClose&&e.clearIcon?(w(),Q(s,{key:1,class:S([e.nsSelect.e("caret"),e.nsSelect.e("icon")]),onClick:e.handleClearClick},{default:K(()=>[(w(),Q(pt(e.clearIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0)]),_:2},[e.$slots.prefix?{name:"prefix",fn:K(()=>[R("div",ej,[ue(e.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])])]),content:K(()=>[U(p,null,{default:K(()=>[Ue(U(u,{ref:"scrollbar",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:S([e.nsSelect.is("empty",!e.allowCreate&&Boolean(e.query)&&e.filteredOptionsCount===0)])},{default:K(()=>[e.showNewOption?(w(),Q(d,{key:0,value:e.query,created:!0},null,8,["value"])):G("v-if",!0),ue(e.$slots,"default")]),_:3},8,["wrap-class","view-class","class"]),[[ft,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&e.options.size===0)?(w(),I(Fe,{key:0},[e.$slots.empty?ue(e.$slots,"empty",{key:0}):(w(),I("p",{key:1,class:S(e.nsSelect.be("dropdown","empty"))},ve(e.emptyText),3))],2112)):G("v-if",!0)]),_:3})]),_:3},8,["visible","teleported","popper-class","effect","transition","persistent","onShow"])],2)),[[f,e.handleClose,e.popperPaneRef]])}var nj=_e(ZB,[["render",tj],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const oj=ee({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},setup(e){const t=ke("select"),n=A(!0),o=nt(),r=A([]);ot(__,vt(he({},Gt(e))));const a=Ie(gc);et(()=>{r.value=i(o.subTree)});const i=s=>{const c=[];return Array.isArray(s.children)&&s.children.forEach(d=>{var u;d.type&&d.type.name==="ElOption"&&d.component&&d.component.proxy?c.push(d.component.proxy):(u=d.children)!=null&&u.length&&c.push(...i(d))}),c},{groupQueryChange:l}=kt(a);return ge(l,()=>{n.value=r.value.some(s=>s.visible===!0)}),{visible:n,ns:t}}});function rj(e,t,n,o,r,a){return Ue((w(),I("ul",{class:S(e.ns.be("group","wrap"))},[R("li",{class:S(e.ns.be("group","title"))},ve(e.label),3),R("li",null,[R("ul",{class:S(e.ns.b("group"))},[ue(e.$slots,"default")],2)])],2)),[[ft,e.visible]])}var w_=_e(oj,[["render",rj],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const qr=rt(nj,{Option:Fp,OptionGroup:w_}),zs=Dt(Fp),aj=Dt(w_),Dp=()=>Ie(py,{}),ij=Le({pageSize:{type:Number,required:!0},pageSizes:{type:Te(Array),default:()=>Ft([10,20,30,40,50,100])},popperClass:{type:String,default:""},disabled:Boolean,size:{type:String,default:"default"}}),lj=ee({name:"ElPaginationSizes",components:{ElSelect:qr,ElOption:zs},props:ij,emits:["page-size-change"],setup(e,{emit:t}){const{t:n}=Tt(),o=ke("pagination"),r=Dp(),a=A(e.pageSize);ge(()=>e.pageSizes,(s,c)=>{if(!En(s,c)&&Array.isArray(s)){const d=s.includes(e.pageSize)?e.pageSize:e.pageSizes[0];t("page-size-change",d)}}),ge(()=>e.pageSize,s=>{a.value=s});const i=C(()=>e.pageSizes);function l(s){var c;s!==a.value&&(a.value=s,(c=r.handleSizeChange)==null||c.call(r,Number(s)))}return{ns:o,innerPagesizes:i,innerPageSize:a,t:n,handleChange:l}}});function sj(e,t,n,o,r,a){const i=le("el-option"),l=le("el-select");return w(),I("span",{class:S(e.ns.e("sizes"))},[U(l,{"model-value":e.innerPageSize,disabled:e.disabled,"popper-class":e.popperClass,size:e.size,onChange:e.handleChange},{default:K(()=>[(w(!0),I(Fe,null,st(e.innerPagesizes,s=>(w(),Q(i,{key:s,value:s,label:s+e.t("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","onChange"])],2)}var cj=_e(lj,[["render",sj],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const dj=ee({name:"ElPaginationJumper",components:{ElInput:Gn},setup(){const{t:e}=Tt(),t=ke("pagination"),{pageCount:n,disabled:o,currentPage:r,changeEvent:a}=Dp(),i=A(),l=C(()=>{var d;return(d=i.value)!=null?d:r==null?void 0:r.value});function s(d){i.value=+d}function c(d){d=Math.trunc(+d),a==null||a(+d),i.value=void 0}return{ns:t,pageCount:n,disabled:o,innerValue:l,t:e,handleInput:s,handleChange:c}}}),uj=["disabled"];function pj(e,t,n,o,r,a){const i=le("el-input");return w(),I("span",{class:S(e.ns.e("jump")),disabled:e.disabled},[ct(ve(e.t("el.pagination.goto"))+" ",1),U(i,{size:"small",class:S([e.ns.e("editor"),e.ns.is("in-pagination")]),min:1,max:e.pageCount,disabled:e.disabled,"model-value":e.innerValue,type:"number","onUpdate:modelValue":e.handleInput,onChange:e.handleChange},null,8,["class","max","disabled","model-value","onUpdate:modelValue","onChange"]),ct(" "+ve(e.t("el.pagination.pageClassifier")),1)],10,uj)}var fj=_e(dj,[["render",pj],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const hj={total:{type:Number,default:1e3}},mj=ee({name:"ElPaginationTotal",props:hj,setup(){const{t:e}=Tt(),t=ke("pagination"),{disabled:n}=Dp();return{t:e,ns:t,disabled:n}}}),gj=["disabled"];function bj(e,t,n,o,r,a){return w(),I("span",{class:S(e.ns.e("total")),disabled:e.disabled},ve(e.t("el.pagination.total",{total:e.total})),11,gj)}var vj=_e(mj,[["render",bj],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const yj={currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean},_j=ee({name:"ElPaginationPager",components:{DArrowLeft:oc,DArrowRight:rc,MoreFilled:WE},props:yj,emits:["change"],setup(e,{emit:t}){const n=ke("pager"),o=ke("icon"),r=A(!1),a=A(!1),i=A(!1),l=A(!1),s=C(()=>{const p=e.pagerCount,f=(p-1)/2,h=Number(e.currentPage),b=Number(e.pageCount);let m=!1,g=!1;b>p&&(h>p-f&&(m=!0),h{const p=(e.pagerCount-1)/2;r.value=!1,a.value=!1,e.pageCount>e.pagerCount&&(e.currentPage>e.pagerCount-p&&(r.value=!0),e.currentPageb&&(h=b)),h!==m&&t("change",h)}return{showPrevMore:r,showNextMore:a,quickPrevHover:i,quickNextHover:l,pagers:s,nsPager:n,nsIcon:o,onMouseenter:c,onPagerClick:u,onEnter:d}}}),wj=["aria-current"],xj=["aria-current"],kj=["aria-current"];function Tj(e,t,n,o,r,a){const i=le("d-arrow-left"),l=le("more-filled"),s=le("d-arrow-right");return w(),I("ul",{class:S(e.nsPager.b()),onClick:t[4]||(t[4]=(...c)=>e.onPagerClick&&e.onPagerClick(...c)),onKeyup:t[5]||(t[5]=lt((...c)=>e.onEnter&&e.onEnter(...c),["enter"]))},[e.pageCount>0?(w(),I("li",{key:0,class:S([[e.nsPager.is("active",e.currentPage===1),e.nsPager.is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===1,tabindex:"0"}," 1 ",10,wj)):G("v-if",!0),e.showPrevMore?(w(),I("li",{key:1,class:S(["more","btn-quickprev",e.nsIcon.b(),e.nsPager.is("disabled",e.disabled)]),onMouseenter:t[0]||(t[0]=c=>e.onMouseenter("left")),onMouseleave:t[1]||(t[1]=c=>e.quickPrevHover=!1)},[e.quickPrevHover?(w(),Q(i,{key:0})):(w(),Q(l,{key:1}))],34)):G("v-if",!0),(w(!0),I(Fe,null,st(e.pagers,c=>(w(),I("li",{key:c,class:S([[e.nsPager.is("active",e.currentPage===c),e.nsPager.is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===c,tabindex:"0"},ve(c),11,xj))),128)),e.showNextMore?(w(),I("li",{key:2,class:S(["more","btn-quicknext",e.nsIcon.b(),e.nsPager.is("disabled",e.disabled)]),onMouseenter:t[2]||(t[2]=c=>e.onMouseenter("right")),onMouseleave:t[3]||(t[3]=c=>e.quickNextHover=!1)},[e.quickNextHover?(w(),Q(s,{key:0})):(w(),Q(l,{key:1}))],34)):G("v-if",!0),e.pageCount>1?(w(),I("li",{key:3,class:S([[e.nsPager.is("active",e.currentPage===e.pageCount),e.nsPager.is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===e.pageCount,tabindex:"0"},ve(e.pageCount),11,kj)):G("v-if",!0)],34)}var Cj=_e(_j,[["render",Tj],["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const sn=e=>typeof e!="number",Sj=Le({total:Number,pageSize:Number,defaultPageSize:Number,currentPage:Number,defaultCurrentPage:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>typeof e=="number"&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:Te(Array),default:()=>Ft([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},nextText:{type:String,default:""},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),$j={"update:current-page":e=>typeof e=="number","update:page-size":e=>typeof e=="number","size-change":e=>typeof e=="number","current-change":e=>typeof e=="number","prev-click":e=>typeof e=="number","next-click":e=>typeof e=="number"},ag="ElPagination";var Aj=ee({name:ag,props:Sj,emits:$j,setup(e,{emit:t,slots:n}){const{t:o}=Tt(),r=ke("pagination"),a=nt().vnode.props||{},i="onUpdate:currentPage"in a||"onUpdate:current-page"in a||"onCurrentChange"in a,l="onUpdate:pageSize"in a||"onUpdate:page-size"in a||"onSizeChange"in a,s=C(()=>{if(sn(e.total)&&sn(e.pageCount)||!sn(e.currentPage)&&!i)return!1;if(e.layout.includes("sizes")){if(sn(e.pageCount)){if(!sn(e.total)&&!sn(e.pageSize)&&!l)return!1}else if(!l)return!1}return!0}),c=A(sn(e.defaultPageSize)?10:e.defaultPageSize),d=A(sn(e.defaultCurrentPage)?1:e.defaultCurrentPage),u=C({get(){return sn(e.pageSize)?c.value:e.pageSize},set(y){sn(e.pageSize)&&(c.value=y),l&&(t("update:page-size",y),t("size-change",y))}}),p=C(()=>{let y=0;return sn(e.pageCount)?sn(e.total)||(y=Math.max(1,Math.ceil(e.total/u.value))):y=e.pageCount,y}),f=C({get(){return sn(e.currentPage)?d.value:e.currentPage},set(y){let T=y;y<1?T=1:y>p.value&&(T=p.value),sn(e.currentPage)&&(d.value=T),i&&(t("update:current-page",T),t("current-change",T))}});ge(p,y=>{f.value>y&&(f.value=y)});function h(y){f.value=y}function b(y){u.value=y;const T=p.value;f.value>T&&(f.value=T)}function m(){e.disabled||(f.value-=1,t("prev-click",f.value))}function g(){e.disabled||(f.value+=1,t("next-click",f.value))}function v(y,T){y&&(y.props||(y.props={}),y.props.class=[y.props.class,T].join(" "))}return ot(py,{pageCount:p,disabled:C(()=>e.disabled),currentPage:f,changeEvent:h,handleSizeChange:b}),()=>{var y,T;if(!s.value)return o("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&p.value<=1)return null;const x=[],k=[],$=Re("div",{class:r.e("rightwrapper")},k),z={prev:Re(OB,{disabled:e.disabled,currentPage:f.value,prevText:e.prevText,onClick:m}),jumper:Re(fj),pager:Re(Cj,{currentPage:f.value,pageCount:p.value,pagerCount:e.pagerCount,onChange:h,disabled:e.disabled}),next:Re(jB,{disabled:e.disabled,currentPage:f.value,pageCount:p.value,nextText:e.nextText,onClick:g}),sizes:Re(cj,{pageSize:u.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,size:e.small?"small":"default"}),slot:(T=(y=n==null?void 0:n.default)==null?void 0:y.call(n))!=null?T:null,total:Re(vj,{total:sn(e.total)?0:e.total})},P=e.layout.split(",").map(D=>D.trim());let O=!1;return P.forEach(D=>{if(D==="->"){O=!0;return}O?k.push(z[D]):x.push(z[D])}),v(x[0],r.is("first")),v(x[x.length-1],r.is("last")),O&&k.length>0&&(v(k[0],r.is("first")),v(k[k.length-1],r.is("last")),x.push($)),Re("div",{role:"pagination","aria-label":"pagination",class:[r.b(),r.is("background",e.background),{[r.m("small")]:e.small}]},x)}}});const Ej=rt(Aj),zj=Le({title:{type:String},confirmButtonText:{type:String},cancelButtonText:{type:String},confirmButtonType:{type:String,values:Pd,default:"primary"},cancelButtonType:{type:String,values:Pd,default:"text"},icon:{type:an,default:m5},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},onConfirm:{type:Te(Function)},onCancel:{type:Te(Function)},teleported:tn.teleported,persistent:tn.persistent}),ig="ElPopconfirm",Ij=ee({name:ig,components:{ElButton:Vn,ElTooltip:vn,ElIcon:qe},props:zj,setup(e){const{compatTeleported:t}=Wa(ig,"appendToBody"),{t:n}=Tt(),o=ke("popconfirm"),r=A(),a=()=>{var u,p;(p=(u=_(r))==null?void 0:u.onClose)==null||p.call(u)},i=()=>{a()},l=u=>{var p;(p=e.onConfirm)==null||p.call(e,u),i()},s=u=>{var p;(p=e.onCancel)==null||p.call(e,u),i()},c=C(()=>e.confirmButtonText||n("el.popconfirm.confirmButtonText")),d=C(()=>e.cancelButtonText||n("el.popconfirm.cancelButtonText"));return{finalConfirmButtonText:c,finalCancelButtonText:d,tooltipRef:r,ns:o,compatTeleported:t,confirm:l,cancel:s}}});function Nj(e,t,n,o,r,a){const i=le("el-icon"),l=le("el-button"),s=le("el-tooltip");return w(),Q(s,St({ref:"tooltipRef"},e.$attrs,{trigger:"click",effect:"light","popper-class":`${e.ns.namespace.value}-popover`,teleported:e.compatTeleported,"fallback-placements":["bottom","top","right","left"],"hide-after":e.hideAfter,persistent:e.persistent}),{content:K(()=>[R("div",{class:S(e.ns.b())},[R("div",{class:S(e.ns.e("main"))},[!e.hideIcon&&e.icon?(w(),Q(i,{key:0,class:S(e.ns.e("icon")),style:Oe({color:e.iconColor})},{default:K(()=>[(w(),Q(pt(e.icon)))]),_:1},8,["class","style"])):G("v-if",!0),ct(" "+ve(e.title),1)],2),R("div",{class:S(e.ns.e("action"))},[U(l,{size:"small",type:e.cancelButtonType,onClick:e.cancel},{default:K(()=>[ct(ve(e.finalCancelButtonText),1)]),_:1},8,["type","onClick"]),U(l,{size:"small",type:e.confirmButtonType,onClick:e.confirm},{default:K(()=>[ct(ve(e.finalConfirmButtonText),1)]),_:1},8,["type","onClick"])],2)],2)]),default:K(()=>[e.$slots.reference?ue(e.$slots,"reference",{key:0}):G("v-if",!0)]),_:3},16,["popper-class","teleported","hide-after","persistent"])}var Mj=_e(Ij,[["render",Nj],["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const Rj=rt(Mj),Pj=Le({trigger:Ki.trigger,placement:Ql.placement,disabled:Ki.disabled,visible:tn.visible,transition:tn.transition,popperOptions:Ql.popperOptions,tabindex:Ql.tabindex,appendToBody:{type:Boolean,default:void 0},content:tn.content,popperStyle:tn.popperStyle,popperClass:tn.popperClass,enterable:ze(he({},tn.enterable),{default:!0}),effect:ze(he({},tn.effect),{default:"light"}),teleported:tn.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0}}),Oj=["update:visible","before-enter","before-leave","after-enter","after-leave"],lg="ElPopover",Fj=ee({name:lg,components:{ElTooltip:vn},props:Pj,emits:Oj,setup(e,{emit:t}){const n=ke("popover"),o=A(null),r=C(()=>{var b;return(b=_(o))==null?void 0:b.popperRef}),a=C(()=>Qe(e.width)?e.width:`${e.width}px`),i=C(()=>[{width:a.value},e.popperStyle]),l=C(()=>[n.b(),e.popperClass,{[n.m("plain")]:!!e.content}]),s=C(()=>e.transition==="el-fade-in-linear"),{compatTeleported:c}=Wa(lg,"appendToBody");return{compatTeleported:c,ns:n,kls:l,gpuAcceleration:s,style:i,tooltipRef:o,popperRef:r,hide:()=>{var b;(b=o.value)==null||b.hide()},beforeEnter:()=>{t("before-enter")},beforeLeave:()=>{t("before-leave")},afterEnter:()=>{t("after-enter")},afterLeave:()=>{t("update:visible",!1),t("after-leave")}}}});function Dj(e,t,n,o,r,a){const i=le("el-tooltip");return w(),Q(i,St({ref:"tooltipRef"},e.$attrs,{trigger:e.trigger,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,"append-to-body":e.appendToBody,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":e.kls,"popper-style":e.style,teleported:e.compatTeleported,persistent:e.persistent,"gpu-acceleration":e.gpuAcceleration,onBeforeShow:e.beforeEnter,onBeforeHide:e.beforeLeave,onShow:e.afterEnter,onHide:e.afterLeave}),{content:K(()=>[e.title?(w(),I("div",{key:0,class:S(e.ns.e("title")),role:"title"},ve(e.title),3)):G("v-if",!0),ue(e.$slots,"default",{},()=>[ct(ve(e.content),1)])]),default:K(()=>[e.$slots.reference?ue(e.$slots,"reference",{key:0}):G("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","append-to-body","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onBeforeShow","onBeforeHide","onShow","onHide"])}var ki=_e(Fj,[["render",Dj],["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/index.vue"]]);const sg=(e,t)=>{const n=t.arg||t.value,o=n==null?void 0:n.popperRef;o&&(o.triggerRef=e)};var tu={mounted(e,t){sg(e,t)},updated(e,t){sg(e,t)}};const Lj="popover";ki.install=e=>{e.component(ki.name,ki)};tu.install=e=>{e.directive(Lj,tu)};const x_=tu;ki.directive=x_;const Vj=ki,Bj=Vj,jj=x_,Hj=Le({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:Te(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:Te([String,Array,Function]),default:""},format:{type:Te(Function),default:e=>`${e}%`}}),qj=ee({name:"ElProgress",components:{ElIcon:qe,CircleCheck:Ss,CircleClose:Oo,Check:Ca,Close:Hn,WarningFilled:ji},props:Hj,setup(e){const t=ke("progress"),n=C(()=>({width:`${e.percentage}%`,animationDuration:`${e.duration}s`,backgroundColor:b(e.percentage)})),o=C(()=>(e.strokeWidth/e.width*100).toFixed(1)),r=C(()=>e.type==="circle"||e.type==="dashboard"?Number.parseInt(`${50-Number.parseFloat(o.value)/2}`,10):0),a=C(()=>{const g=r.value,v=e.type==="dashboard";return` M 50 50 m 0 ${v?"":"-"}${g} a ${g} ${g} 0 1 1 0 ${v?"-":""}${g*2} a ${g} ${g} 0 1 1 0 ${v?"":"-"}${g*2} - `}),i=C(()=>2*Math.PI*r.value),l=C(()=>e.type==="dashboard"?.75:1),s=C(()=>`${-1*i.value*(1-l.value)/2}px`),c=C(()=>({strokeDasharray:`${i.value*l.value}px, ${i.value}px`,strokeDashoffset:s.value})),d=C(()=>({strokeDasharray:`${i.value*l.value*(e.percentage/100)}px, ${i.value}px`,strokeDashoffset:s.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"})),u=C(()=>{let g;if(e.color)g=b(e.percentage);else switch(e.status){case"success":g="#13ce66";break;case"exception":g="#ff4949";break;case"warning":g="#e6a23c";break;default:g="#20a0ff"}return g}),p=C(()=>e.status==="warning"?ji:e.type==="line"?e.status==="success"?Ss:Oo:e.status==="success"?Ca:Hn),f=C(()=>e.type==="line"?12+e.strokeWidth*.4:e.width*.111111+2),h=C(()=>e.format(e.percentage)),b=g=>{var v;const{color:y}=e;if(typeof y=="function")return y(g);if(typeof y=="string")return y;{const T=100/y.length,k=y.map(($,z)=>typeof $=="string"?{color:$,percentage:(z+1)*T}:$).sort(($,z)=>$.percentage-z.percentage);for(const $ of k)if($.percentage>g)return $.color;return(v=k[k.length-1])==null?void 0:v.color}},m=C(()=>({percentage:e.percentage}));return{ns:t,barStyle:n,relativeStrokeWidth:o,radius:r,trackPath:a,perimeter:i,rate:l,strokeDashoffset:s,trailPathStyle:c,circlePathStyle:d,stroke:u,statusIcon:p,progressTextSize:f,content:h,slotData:m}}}),Zj=["aria-valuenow"],Jj={viewBox:"0 0 100 100"},Qj=["d","stroke-width"],eH=["d","stroke","stroke-linecap","stroke-width"],tH={key:0};function nH(e,t,n,o,r,a){const i=le("el-icon");return w(),I("div",{class:S([e.ns.b(),e.ns.m(e.type),e.ns.is(e.status),{[e.ns.m("without-text")]:!e.showText,[e.ns.m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(w(),I("div",{key:0,class:S(e.ns.b("bar"))},[M("div",{class:S(e.ns.be("bar","outer")),style:Oe({height:`${e.strokeWidth}px`})},[M("div",{class:S([e.ns.be("bar","inner"),{[e.ns.bem("bar","inner","indeterminate")]:e.indeterminate}]),style:Oe(e.barStyle)},[(e.showText||e.$slots.default)&&e.textInside?(w(),I("div",{key:0,class:S(e.ns.be("bar","innerText"))},[ue(e.$slots,"default",eo(ur(e.slotData)),()=>[M("span",null,ve(e.content),1)])],2)):G("v-if",!0)],6)],6)],2)):(w(),I("div",{key:1,class:S(e.ns.b("circle")),style:Oe({height:`${e.width}px`,width:`${e.width}px`})},[(w(),I("svg",Jj,[M("path",{class:S(e.ns.be("circle","track")),d:e.trackPath,stroke:"var(--el-fill-color-light, #e5e9f2)","stroke-width":e.relativeStrokeWidth,fill:"none",style:Oe(e.trailPathStyle)},null,14,Qj),M("path",{class:S(e.ns.be("circle","path")),d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0,style:Oe(e.circlePathStyle)},null,14,eH)]))],6)),(e.showText||e.$slots.default)&&!e.textInside?(w(),I("div",{key:2,class:S(e.ns.e("text")),style:Oe({fontSize:`${e.progressTextSize}px`})},[ue(e.$slots,"default",eo(ur(e.slotData)),()=>[e.status?(w(),Q(i,{key:1},{default:K(()=>[(w(),Q(pt(e.statusIcon)))]),_:1})):(w(),I("span",tH,ve(e.content),1))])],6)):G("v-if",!0)],10,Zj)}var oH=_e(Xj,[["render",nH],["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const k_=rt(oH),rH=Le({modelValue:{type:Number,default:0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:Te([Array,Object]),default:()=>Ft(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:Te([Array,Object]),default:()=>[Tl,Tl,Tl]},voidIcon:{type:an,default:()=>nz},disabledVoidIcon:{type:an,default:()=>Tl},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},showText:{type:Boolean,default:!1},showScore:{type:Boolean,default:!1},textColor:{type:String,default:""},texts:{type:Te(Array),default:()=>Ft(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:{type:String,validator:Nn}}),aH={change:e=>typeof e=="number",[tt]:e=>typeof e=="number"},iH=["aria-valuenow","aria-valuetext","aria-valuemax"],lH=["onMousemove","onClick"],sH={name:"ElRate"},cH=ee(ze(he({},sH),{props:rH,emits:aH,setup(e,{expose:t,emit:n}){const o=e;function r(F,V){const q=N=>ut(N),R=Object.keys(V).map(N=>+N).filter(N=>{const W=V[N];return(q(W)?W.excluded:!1)?FN-W),E=V[R[0]];return q(E)&&E.value||E}const a=Ie(Mn,void 0),i=Ut(),l=ke("rate"),s=A(o.modelValue),c=A(-1),d=A(!0),u=C(()=>[l.b(),l.m(i.value)]),p=C(()=>o.disabled||(a==null?void 0:a.disabled)),f=C(()=>({"--el-rate-void-color":o.voidColor,"--el-rate-disabled-void-color":o.disabledVoidColor,"--el-rate-fill-color":g.value})),h=C(()=>{let F="";return o.showScore?F=o.scoreTemplate.replace(/\{\s*value\s*\}/,p.value?`${o.modelValue}`:`${s.value}`):o.showText&&(F=o.texts[Math.ceil(s.value)-1]),F}),b=C(()=>o.modelValue*100-Math.floor(o.modelValue)*100),m=C(()=>Ye(o.colors)?{[o.lowThreshold]:o.colors[0],[o.highThreshold]:{value:o.colors[1],excluded:!0},[o.max]:o.colors[2]}:o.colors),g=C(()=>{const F=r(s.value,m.value);return ut(F)?"":F}),v=C(()=>{let F="";return p.value?F=`${b.value}%`:o.allowHalf&&(F="50%"),{color:g.value,width:F}}),y=C(()=>Ye(o.icons)?{[o.lowThreshold]:o.icons[0],[o.highThreshold]:{value:o.icons[1],excluded:!0},[o.max]:o.icons[2]}:o.icons),T=C(()=>r(o.modelValue,y.value)),x=C(()=>p.value?o.disabledVoidIcon:o.voidIcon),k=C(()=>r(s.value,y.value)),$=C(()=>{const F=Array.from({length:o.max}),V=s.value;return F.fill(k.value,0,V),F.fill(x.value,V,o.max),F});function z(F){const V=p.value&&b.value>0&&F-1o.modelValue,q=o.allowHalf&&d.value&&F-.5<=s.value&&F>s.value;return V||q}function P(F){p.value||(o.allowHalf&&d.value?(n(tt,s.value),o.modelValue!==s.value&&n("change",s.value)):(n(tt,F),o.modelValue!==F&&n("change",F)))}function O(F){if(p.value)return;let V=s.value;const q=F.code;return q===Pe.up||q===Pe.right?(o.allowHalf?V+=.5:V+=1,F.stopPropagation(),F.preventDefault()):(q===Pe.left||q===Pe.down)&&(o.allowHalf?V-=.5:V-=1,F.stopPropagation(),F.preventDefault()),V=V<0?0:V,V=V>o.max?o.max:V,n(tt,V),n("change",V),V}function D(F,V){if(!p.value){if(o.allowHalf){let q=V.target;oo(q,l.e("item"))&&(q=q.querySelector(`.${l.e("icon")}`)),(q.clientWidth===0||oo(q,l.e("decimal")))&&(q=q.parentNode),d.value=V.offsetX*2<=q.clientWidth,s.value=d.value?F-.5:F}else s.value=F;c.value=F}}function L(){p.value||(o.allowHalf&&(d.value=o.modelValue!==Math.floor(o.modelValue)),s.value=o.modelValue,c.value=-1)}return ge(()=>o.modelValue,F=>{s.value=F,d.value=o.modelValue!==Math.floor(o.modelValue)}),o.modelValue||n(tt,0),t({setCurrentValue:D,resetCurrentValue:L}),(F,V)=>(w(),I("div",{class:S([_(u),_(l).is("disabled",_(p))]),role:"slider","aria-valuenow":s.value,"aria-valuetext":_(h),"aria-valuemin":"0","aria-valuemax":F.max,tabindex:"0",style:Oe(_(f)),onKeydown:O},[(w(!0),I(Fe,null,ct(F.max,(q,R)=>(w(),I("span",{key:R,class:S(_(l).e("item")),onMousemove:E=>D(q,E),onMouseleave:L,onClick:E=>P(q)},[U(_(qe),{class:S([_(l).e("icon"),{hover:c.value===q},_(l).is("active",q<=s.value)])},{default:K(()=>[z(q)?G("v-if",!0):(w(),Q(pt(_($)[q-1]),{key:0})),z(q)?(w(),Q(_(qe),{key:1,style:Oe(_(v)),class:S([_(l).e("icon"),_(l).e("decimal")])},{default:K(()=>[(w(),Q(pt(_(T))))]),_:1},8,["style","class"])):G("v-if",!0)]),_:2},1032,["class"])],42,lH))),128)),F.showText||F.showScore?(w(),I("span",{key:0,class:S(_(l).e("text"))},ve(_(h)),3)):G("v-if",!0)],46,iH))}}));var dH=_e(cH,[["__file","/home/runner/work/element-plus/element-plus/packages/components/rate/src/rate.vue"]]);const uH=rt(dH),ca={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},dg={[ca.success]:_A,[ca.warning]:ji,[ca.error]:ip,[ca.info]:lp},pH=Le({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{values:["success","warning","info","error"],default:"info"}}),ug="ElResult",fH=ee({name:ug,props:pH,setup(e,{slots:t}){const n=ke("result");il({scope:ug,type:"Slot",from:"subTitle",replacement:"sub-title",version:"2.1.3",ref:"https://github.com/element-plus/element-plus/pull/6636/"},C(()=>!!t.subTitle));const o=C(()=>{const r=e.icon,a=r&&ca[r]?ca[r]:"icon-info",i=dg[a]||dg["icon-info"];return{class:a,component:i}});return{ns:n,resultIcon:o}}});function hH(e,t,n,o,r,a){return w(),I("div",{class:S(e.ns.b())},[M("div",{class:S(e.ns.e("icon"))},[ue(e.$slots,"icon",{},()=>[e.resultIcon.component?(w(),Q(pt(e.resultIcon.component),{key:0,class:S(e.resultIcon.class)},null,8,["class"])):G("v-if",!0)])],2),e.title||e.$slots.title?(w(),I("div",{key:0,class:S(e.ns.e("title"))},[ue(e.$slots,"title",{},()=>[M("p",null,ve(e.title),1)])],2)):G("v-if",!0),e.subTitle||e.$slots["sub-title"]?(w(),I("div",{key:1,class:S(e.ns.e("subtitle"))},[ue(e.$slots,"sub-title",{},()=>[M("p",null,ve(e.subTitle),1)])],2)):G("v-if",!0),e.$slots.extra?(w(),I("div",{key:2,class:S(e.ns.e("extra"))},[ue(e.$slots,"extra")],2)):G("v-if",!0)],2)}var mH=_e(fH,[["render",hH],["__file","/home/runner/work/element-plus/element-plus/packages/components/result/src/result.vue"]]);const gH=rt(mH),bH=Le({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:["start","center","end","space-around","space-between","space-evenly"],default:"start"},align:{type:String,values:["top","middle","bottom"],default:"top"}}),vH=ee({name:"ElRow",props:bH,setup(e,{slots:t}){const n=ke("row"),o=C(()=>e.gutter);ot(hy,{gutter:o});const r=C(()=>{const a={marginLeft:"",marginRight:""};return e.gutter&&(a.marginLeft=`-${e.gutter/2}px`,a.marginRight=a.marginLeft),a});return()=>U(e.tag,{class:[n.b(),n.is(`justify-${e.justify}`,e.justify!=="start"),n.is(`align-${e.align}`,e.align!=="top")],style:r.value},{default:()=>{var a;return[(a=t.default)==null?void 0:a.call(t)]}})}}),yH=rt(vH);var pg=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function _H(e,t){return!!(e===t||pg(e)&&pg(t))}function wH(e,t){if(e.length!==t.length)return!1;for(var n=0;n{const t=nt().proxy.$props;return C(()=>{const n=(o,r,a)=>({});return t.perfMode?ec(n):xH(n)})},TH=50,fg="item-rendered",hg="scroll",T_="forward",C_="backward",Yi="auto",S_="smart",$_="start",Is="center",A_="end",Ma="horizontal",Vp="vertical",CH="ltr",ts="rtl",E_="negative",SH="positive-ascending",z_="positive-descending",$H={[Ma]:"left",[Vp]:"top"},AH=20,EH={[Ma]:"deltaX",[Vp]:"deltaY"},zH=({atEndEdge:e,atStartEdge:t,layout:n},o)=>{let r,a=0;const i=s=>s<0&&t.value||s>0&&e.value;return{hasReachedEdge:i,onWheel:s=>{ay(r);const c=s[EH[n.value]];i(a)&&i(a+c)||(a+=c,cp()||s.preventDefault(),r=ry(()=>{o(a),a=0}))}}},ou=uo({type:Te([Number,Function]),required:!0}),ru=uo({type:Number}),au=uo({type:Number,default:2}),IH=uo({type:String,values:["ltr","rtl"],default:"ltr"}),iu=uo({type:Number,default:0}),Ns=uo({type:Number,required:!0}),I_=uo({type:String,values:["horizontal","vertical"],default:Vp}),N_=Le({className:{type:String,default:""},containerElement:{type:Te([String,Object]),default:"div"},data:{type:Te(Array),default:()=>Ft([])},direction:IH,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:Te([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),NH=Le(he({cache:au,estimatedItemSize:ru,layout:I_,initScrollOffset:iu,total:Ns,itemSize:ou},N_));Le(he({columnCache:au,columnWidth:ou,estimatedColumnWidth:ru,estimatedRowHeight:ru,initScrollLeft:iu,initScrollTop:iu,rowCache:au,rowHeight:ou,totalColumn:Ns,totalRow:Ns},N_));const MH=Le({layout:I_,total:Ns,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},visible:Boolean}),Jc=(e,t)=>ee===CH||e===ts||e===Ma;let oa=null;function mg(e=!1){if(oa===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const o=document.createElement("div"),r=o.style;return r.width="100px",r.height="100px",t.appendChild(o),document.body.appendChild(t),t.scrollLeft>0?oa=z_:(t.scrollLeft=1,t.scrollLeft===0?oa=E_:oa=SH),document.body.removeChild(t),oa}return oa}function RH({move:e,size:t,bar:n},o){const r={},a=`translate${n.axis}(${e}px)`;return r[n.size]=t,r.transform=a,r.msTransform=a,r.webkitTransform=a,o==="horizontal"?r.height="100%":r.width="100%",r}const PH=ee({name:"ElVirtualScrollBar",props:MH,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const o=A(),r=A();let a=null,i=null;const l=vt({isDragging:!1,traveled:0}),s=C(()=>Oy[e.layout]),c=C(()=>e.clientSize-4),d=C(()=>({position:"absolute",width:Ma===e.layout?`${c.value}px`:"6px",height:Ma===e.layout?"6px":`${c.value}px`,[$H[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),u=C(()=>{const x=e.ratio,k=e.clientSize;if(x>=100)return Number.POSITIVE_INFINITY;if(x>=50)return x*k/100;const $=k/3;return Math.floor(Math.min(Math.max(x*k,AH),$))}),p=C(()=>{if(!Number.isFinite(u.value))return{display:"none"};const x=`${u.value}px`;return RH({bar:s.value,size:x,move:l.traveled},e.layout)}),f=C(()=>Math.floor(e.clientSize-u.value-4)),h=()=>{At(window,"mousemove",v),At(window,"mouseup",g);const x=_(r);!x||(i=document.onselectstart,document.onselectstart=()=>!1,At(x,"touchmove",v),At(x,"touchend",g))},b=()=>{Bt(window,"mousemove",v),Bt(window,"mouseup",g),document.onselectstart=i,i=null;const x=_(r);!x||(Bt(x,"touchmove",v),Bt(x,"touchend",g))},m=x=>{x.stopImmediatePropagation(),!(x.ctrlKey||[1,2].includes(x.button))&&(l.isDragging=!0,l[s.value.axis]=x.currentTarget[s.value.offset]-(x[s.value.client]-x.currentTarget.getBoundingClientRect()[s.value.direction]),t("start-move"),h())},g=()=>{l.isDragging=!1,l[s.value.axis]=0,t("stop-move"),b()},v=x=>{const{isDragging:k}=l;if(!k||!r.value||!o.value)return;const $=l[s.value.axis];if(!$)return;ay(a);const z=(o.value.getBoundingClientRect()[s.value.direction]-x[s.value.client])*-1,P=r.value[s.value.offset]-$,O=z-P;a=ry(()=>{l.traveled=Math.max(0,Math.min(O,f.value)),t("scroll",O,f.value)})},y=x=>{const k=Math.abs(x.target.getBoundingClientRect()[s.value.direction]-x[s.value.client]),$=r.value[s.value.offset]/2,z=k-$;l.traveled=Math.max(0,Math.min(z,f.value)),t("scroll",z,f.value)},T=x=>x.preventDefault();return ge(()=>e.scrollFrom,x=>{l.isDragging||(l.traveled=Math.ceil(x*f.value))}),et(()=>{!dt||(At(o.value,"touchstart",T),At(r.value,"touchstart",m))}),$t(()=>{Bt(o.value,"touchstart",T),b()}),()=>Re("div",{role:"presentation",ref:o,class:"el-virtual-scrollbar",style:d.value,onMousedown:He(y,["stop","prevent"])},Re("div",{ref:r,class:"el-scrollbar__thumb",style:p.value,onMousedown:m},[]))}}),M_=({name:e,getOffset:t,getItemSize:n,getItemOffset:o,getEstimatedTotalSize:r,getStartIndexForOffset:a,getStopIndexForStartIndex:i,initCache:l,clearCache:s,validateProps:c})=>ee({name:e!=null?e:"ElVirtualList",props:NH,emits:[fg,hg],setup(d,{emit:u,expose:p}){c(d);const f=nt(),h=A(l(d,f)),b=kH(),m=A(),g=A(),v=A(),y=A({isScrolling:!1,scrollDir:"forward",scrollOffset:mt(d.initScrollOffset)?d.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:d.scrollbarAlwaysOn}),T=C(()=>{const{total:Z,cache:se}=d,{isScrolling:Se,scrollDir:oe,scrollOffset:H}=_(y);if(Z===0)return[0,0,0,0];const ne=a(d,H,_(h)),ie=i(d,ne,H,_(h)),be=!Se||oe===C_?Math.max(1,se):1,$e=!Se||oe===T_?Math.max(1,se):1;return[Math.max(0,ne-be),Math.max(0,Math.min(Z-1,ie+$e)),ne,ie]}),x=C(()=>r(d,_(h))),k=C(()=>Gi(d.layout)),$=C(()=>[{position:"relative",[`overflow-${k.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:d.direction,height:mt(d.height)?`${d.height}px`:d.height,width:mt(d.width)?`${d.width}px`:d.width},d.style]),z=C(()=>{const Z=_(x),se=_(k);return{height:se?"100%":`${Z}px`,pointerEvents:_(y).isScrolling?"none":void 0,width:se?`${Z}px`:"100%"}}),P=C(()=>k.value?d.width:d.height),{onWheel:O}=zH({atStartEdge:C(()=>y.value.scrollOffset<=0),atEndEdge:C(()=>y.value.scrollOffset>=x.value),layout:C(()=>d.layout)},Z=>{var se,Se;(Se=(se=v.value).onMouseUp)==null||Se.call(se),R(Math.min(y.value.scrollOffset+Z,x.value-P.value))}),D=()=>{const{total:Z}=d;if(Z>0){const[H,ne,ie,be]=_(T);u(fg,H,ne,ie,be)}const{scrollDir:se,scrollOffset:Se,updateRequested:oe}=_(y);u(hg,se,Se,oe)},L=Z=>{const{clientHeight:se,scrollHeight:Se,scrollTop:oe}=Z.currentTarget,H=_(y);if(H.scrollOffset===oe)return;const ne=Math.max(0,Math.min(oe,Se-se));y.value=ze(he({},H),{isScrolling:!0,scrollDir:Jc(H.scrollOffset,ne),scrollOffset:ne,updateRequested:!1}),je(W)},F=Z=>{const{clientWidth:se,scrollLeft:Se,scrollWidth:oe}=Z.currentTarget,H=_(y);if(H.scrollOffset===Se)return;const{direction:ne}=d;let ie=Se;if(ne===ts)switch(mg()){case E_:{ie=-Se;break}case z_:{ie=oe-se-Se;break}}ie=Math.max(0,Math.min(ie,oe-se)),y.value=ze(he({},H),{isScrolling:!0,scrollDir:Jc(H.scrollOffset,ie),scrollOffset:ie,updateRequested:!1}),je(W)},V=Z=>{_(k)?F(Z):L(Z),D()},q=(Z,se)=>{const Se=(x.value-P.value)/se*Z;R(Math.min(x.value-P.value,Se))},R=Z=>{Z=Math.max(Z,0),Z!==_(y).scrollOffset&&(y.value=ze(he({},_(y)),{scrollOffset:Z,scrollDir:Jc(_(y).scrollOffset,Z),updateRequested:!0}),je(W))},E=(Z,se=Yi)=>{const{scrollOffset:Se}=_(y);Z=Math.max(0,Math.min(Z,d.total-1)),R(t(d,Z,se,Se,_(h)))},N=Z=>{const{direction:se,itemSize:Se,layout:oe}=d,H=b.value(s&&Se,s&&oe,s&&se);let ne;if(lt(H,String(Z)))ne=H[Z];else{const ie=o(d,Z,_(h)),be=n(d,Z,_(h)),$e=_(k),Ne=se===ts,Me=$e?ie:0;H[Z]=ne={position:"absolute",left:Ne?void 0:`${Me}px`,right:Ne?`${Me}px`:void 0,top:$e?0:`${ie}px`,height:$e?"100%":`${be}px`,width:$e?`${be}px`:"100%"}}return ne},W=()=>{y.value.isScrolling=!1,je(()=>{b.value(-1,null,null)})},Y=()=>{const Z=m.value;Z&&(Z.scrollTop=0)};et(()=>{if(!dt)return;const{initScrollOffset:Z}=d,se=_(m);mt(Z)&&se&&(_(k)?se.scrollLeft=Z:se.scrollTop=Z),D()}),Un(()=>{const{direction:Z,layout:se}=d,{scrollOffset:Se,updateRequested:oe}=_(y),H=_(m);if(oe&&H)if(se===Ma)if(Z===ts)switch(mg()){case"negative":{H.scrollLeft=-Se;break}case"positive-ascending":{H.scrollLeft=Se;break}default:{const{clientWidth:ne,scrollWidth:ie}=H;H.scrollLeft=ie-ne-Se;break}}else H.scrollLeft=Se;else H.scrollTop=Se});const J={clientSize:P,estimatedTotalSize:x,windowStyle:$,windowRef:m,innerRef:g,innerStyle:z,itemsToRender:T,scrollbarRef:v,states:y,getItemStyle:N,onScroll:V,onScrollbarScroll:q,onWheel:O,scrollTo:R,scrollToItem:E,resetScrollTop:Y};return p({windowRef:m,innerRef:g,getItemStyleCache:b,scrollTo:R,scrollToItem:E,resetScrollTop:Y,states:y}),J},render(d){var u;const{$slots:p,className:f,clientSize:h,containerElement:b,data:m,getItemStyle:g,innerElement:v,itemsToRender:y,innerStyle:T,layout:x,total:k,onScroll:$,onScrollbarScroll:z,onWheel:P,states:O,useIsScrolling:D,windowStyle:L}=d,[F,V]=y,q=pt(b),R=pt(v),E=[];if(k>0)for(let J=F;J<=V;J++)E.push((u=p.default)==null?void 0:u.call(p,{data:m,key:J,index:J,isScrolling:D?O.isScrolling:void 0,style:g(J)}));const N=[Re(R,{style:T,ref:"innerRef"},Qe(R)?E:{default:()=>E})],W=Re(PH,{ref:"scrollbarRef",clientSize:h,layout:x,onScroll:z,ratio:h*100/this.estimatedTotalSize,scrollFrom:O.scrollOffset/(this.estimatedTotalSize-h),total:k}),Y=Re(q,{class:["el-vl__window",f],style:L,onScroll:$,onWheel:P,ref:"windowRef",key:0},Qe(q)?[N]:{default:()=>[N]});return Re("div",{key:0,class:["el-vl__wrapper",O.scrollbarAlwaysOn?"always-on":""]},[Y,W])}}),R_=M_({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:o,width:r},a,i,l)=>{const s=Gi(o)?r:e,c=Math.max(0,t*n-s),d=Math.min(c,a*n),u=Math.max(0,(a+1)*n-s);switch(i===S_&&(l>=u-s&&l<=d+s?i=Yi:i=Is),i){case $_:return d;case A_:return u;case Is:{const p=Math.round(u+(d-u)/2);return pc+Math.floor(s/2)?c:p}case Yi:default:return l>=u&&l<=d?l:lMath.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:o,width:r},a,i)=>{const l=a*n,s=Gi(o)?r:e,c=Math.ceil((s+i-l)/n);return Math.max(0,Math.min(t-1,a+c-1))},initCache(){},clearCache:!0,validateProps(){}}),da=(e,t,n)=>{const{itemSize:o}=e,{items:r,lastVisitedIndex:a}=n;if(t>a){let i=0;if(a>=0){const l=r[a];i=l.offset+l.size}for(let l=a+1;l<=t;l++){const s=o(l);r[l]={offset:i,size:s},i+=s}n.lastVisitedIndex=t}return r[t]},OH=(e,t,n)=>{const{items:o,lastVisitedIndex:r}=t;return(r>0?o[r].offset:0)>=n?P_(e,t,0,r,n):FH(e,t,Math.max(0,r),n)},P_=(e,t,n,o,r)=>{for(;n<=o;){const a=n+Math.floor((o-n)/2),i=da(e,a,t).offset;if(i===r)return a;ir&&(o=a-1)}return Math.max(0,n-1)},FH=(e,t,n,o)=>{const{total:r}=e;let a=1;for(;n{let r=0;if(o>=e&&(o=e-1),o>=0){const l=t[o];r=l.offset+l.size}const i=(e-o-1)*n;return r+i},DH=M_({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>da(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:gg,getOffset:(e,t,n,o,r)=>{const{height:a,layout:i,width:l}=e,s=Gi(i)?l:a,c=da(e,t,r),d=gg(e,r),u=Math.max(0,Math.min(d-s,c.offset)),p=Math.max(0,c.offset-s+c.size);switch(n===S_&&(o>=p-s&&o<=u+s?n=Yi:n=Is),n){case $_:return u;case A_:return p;case Is:return Math.round(p+(u-p)/2);case Yi:default:return o>=p&&o<=u?o:oOH(e,n,t),getStopIndexForStartIndex:(e,t,n,o)=>{const{height:r,total:a,layout:i,width:l}=e,s=Gi(i)?l:r,c=da(e,t,o),d=n+s;let u=c.offset+c.size,p=t;for(;p{var a,i;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,o-1),(a=t.exposed)==null||a.getItemStyleCache(-1),r&&((i=t.proxy)==null||i.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{}}),LH=ee({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:ke("select")}}});function VH(e,t,n,o,r,a){return e.item.isTitle?(w(),I("div",{key:0,class:S(e.ns.be("group","title")),style:Oe([e.style,{lineHeight:`${e.height}px`}])},ve(e.item.label),7)):(w(),I("div",{key:1,class:S(e.ns.be("group","split")),style:Oe(e.style)},[M("span",{class:S(e.ns.be("group","split-dash")),style:Oe({top:`${e.height/2}px`})},null,6)],6))}var BH=_e(LH,[["render",VH],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/group-item.vue"]]);function jH(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const HH={allowCreate:Boolean,autocomplete:{type:String,default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:[String,Object],default:Oo},effect:{type:String,default:"light"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:170},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,label:String,modelValue:[Array,String,Number,Boolean,Object],multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:Array,required:!0},placeholder:{type:String},popperAppendToBody:{type:Boolean,default:void 0},teleported:tn.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,size:{type:String,validator:Nn},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:{type:Boolean,default:!1}},qH={data:Array,disabled:Boolean,hovering:Boolean,item:Object,index:Number,style:Object,selected:Boolean,created:Boolean},KH=ee({props:qH,emits:["select","hover"],setup(e,{emit:t}){const n=ke("select"),{hoverItem:o,selectOptionClick:r}=jH(e,{emit:t});return{ns:n,hoverItem:o,selectOptionClick:r}}}),WH=["aria-selected"];function UH(e,t,n,o,r,a){return w(),I("li",{"aria-selected":e.selected,style:Oe(e.style),class:S([e.ns.be("dropdown","option-item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),{hover:e.hovering}]),onMouseenter:t[0]||(t[0]=(...i)=>e.hoverItem&&e.hoverItem(...i)),onClick:t[1]||(t[1]=He((...i)=>e.selectOptionClick&&e.selectOptionClick(...i),["stop"]))},[ue(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[M("span",null,ve(e.item.label),1)])],46,WH)}var YH=_e(KH,[["render",UH],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/option-item.vue"]]);const O_="ElSelectV2Injection",GH=ee({name:"ElSelectDropdown",props:{data:Array,hoveringIndex:Number,width:Number},setup(e){const t=Ie(O_),n=ke("select"),o=A([]),r=A(null),a=C(()=>Cn(t.props.estimatedOptionHeight)),i=C(()=>a.value?{itemSize:t.props.itemHeight}:{estimatedSize:t.props.estimatedOptionHeight,itemSize:h=>o.value[h]}),l=(h=[],b)=>{const{props:{valueKey:m}}=t;return ut(b)?h&&h.some(g=>Pt(g,m)===Pt(b,m)):h.includes(b)},s=(h,b)=>{if(ut(b)){const{valueKey:m}=t.props;return Pt(h,m)===Pt(b,m)}else return h===b};return{ns:n,select:t,listProps:i,listRef:r,isSized:a,isItemDisabled:(h,b)=>{const{disabled:m,multiple:g,multipleLimit:v}=t.props;return m||!b&&(g?v>0&&h.length>=v:!1)},isItemHovering:h=>e.hoveringIndex===h,isItemSelected:(h,b)=>{const{valueKey:m}=t.props;return t.props.multiple?l(h,Pt(b,m)):s(h,Pt(b,m))},scrollToItem:h=>{const b=r.value;b&&b.scrollToItem(h)},resetScrollTop:()=>{const h=r.value;h&&h.resetScrollTop()}}},render(e,t){var n;const{$slots:o,data:r,listProps:a,select:i,isSized:l,width:s,ns:c,isItemDisabled:d,isItemHovering:u,isItemSelected:p}=e,f=l?R_:DH,{props:h,onSelect:b,onHover:m,onKeyboardNavigate:g,onKeyboardSelect:v}=i,{height:y,modelValue:T,multiple:x}=h;if(r.length===0)return Re("div",{class:c.b("dropdown"),style:{width:`${s}px`}},(n=o.empty)==null?void 0:n.call(o));const k=K(z=>{const{index:P,data:O}=z,D=O[P];if(O[P].type==="Group")return Re(BH,{item:D,style:z.style,height:l?a.itemSize:a.estimatedSize});const L=p(T,D),F=d(T,L);return Re(YH,ze(he({},z),{selected:L,disabled:D.disabled||F,created:!!D.created,hovering:u(P),item:D,onSelect:b,onHover:m}),{default:K(V=>ue(o,"default",V,()=>[Re("span",D.label)]))})}),$=Re(f,he({ref:"listRef",className:c.be("dropdown","list"),data:r,height:y,width:s,total:r.length,scrollbarAlwaysOn:h.scrollbarAlwaysOn,onKeydown:[t[1]||(t[1]=st(He(()=>g("forward"),["stop","prevent"]),["down"])),t[2]||(t[2]=st(He(()=>g("backward"),["stop","prevent"]),["up"])),t[3]||(t[3]=st(He(v,["stop","prevent"]),["enter"])),t[4]||(t[4]=st(He(()=>i.expanded=!1,["stop","prevent"]),["esc"])),t[5]||(t[5]=st(()=>i.expanded=!1,["tab"]))]},a),{default:k});return Re("div",{class:[c.b("dropdown"),c.is("multiple",x)]},[$])}});var XH=_e(GH,[["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select-dropdown.vue"]]);function ZH(e,t){const n=A(0),o=A(null),r=C(()=>e.allowCreate&&e.filterable);function a(d){const u=p=>p.value===d;return e.options&&e.options.some(u)||t.createdOptions.some(u)}function i(d){!r.value||(e.multiple&&d.created?n.value++:o.value=d)}function l(d){if(r.value)if(d&&d.length>0&&!a(d)){const u={value:d,label:d,created:!0,disabled:!1};t.createdOptions.length>=n.value?t.createdOptions[n.value]=u:t.createdOptions.push(u)}else if(e.multiple)t.createdOptions.length=n.value;else{const u=o.value;t.createdOptions.length=0,u&&u.created&&t.createdOptions.push(u)}}function s(d){if(!r.value||!d||!d.created||d.created&&e.reserveKeyword&&t.inputValue===d.label)return;const u=t.createdOptions.findIndex(p=>p.value===d.value);~u&&(t.createdOptions.splice(u,1),n.value--)}function c(){r.value&&(t.createdOptions.length=0,n.value=0)}return{createNewOption:l,removeNewOption:s,selectNewOption:i,clearAllNewOption:c}}const JH=e=>{const t=[];return e.forEach(n=>{Ye(n.options)?(t.push({label:n.label,isTitle:!0,type:"Group"}),n.options.forEach(o=>{t.push(o)}),t.push({type:"Group"})):t.push(n)}),t};function QH(e){const t=A(!1);return{handleCompositionStart:()=>{t.value=!0},handleCompositionUpdate:a=>{const i=a.target.value,l=i[i.length-1]||"";t.value=!lc(l)},handleCompositionEnd:a=>{t.value&&(t.value=!1,Je(e)&&e(a))}}}const bg="",vg=11,eq={larget:51,default:42,small:33},tq="ElSelectV2",nq=(e,t)=>{const{t:n}=Tt(),o=ke("select-v2"),r=ke("input"),{form:a,formItem:i}=Ka(),{compatTeleported:l}=Wa(tq,"popperAppendToBody"),s=vt({inputValue:bg,displayInputValue:bg,calculatedWidth:0,cachedPlaceholder:"",cachedOptions:[],createdOptions:[],createdLabel:"",createdSelected:!1,currentPlaceholder:"",hoveringIndex:-1,comboBoxHovering:!1,isOnComposition:!1,isSilentBlur:!1,isComposing:!1,inputLength:20,selectWidth:200,initialInputHeight:0,previousQuery:null,previousValue:"",query:"",selectedLabel:"",softFocus:!1,tagInMultiLine:!1}),c=A(-1),d=A(-1),u=A(null),p=A(null),f=A(null),h=A(null),b=A(null),m=A(null),g=A(null),v=A(!1),y=C(()=>e.disabled||(a==null?void 0:a.disabled)),T=C(()=>{const Ce=F.value.length*34;return Ce>e.height?e.height:Ce}),x=C(()=>e.modelValue!==void 0&&e.modelValue!==null&&e.modelValue!==""),k=C(()=>{const Ce=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:x.value;return e.clearable&&!y.value&&s.comboBoxHovering&&Ce}),$=C(()=>e.remote&&e.filterable?"":rl),z=C(()=>$.value&&o.is("reverse",v.value)),P=C(()=>(i==null?void 0:i.validateState)||""),O=C(()=>Qv[P.value]),D=C(()=>e.remote?300:0),L=C(()=>{const Ce=F.value;return e.loading?e.loadingText||n("el.select.loading"):e.remote&&s.inputValue===""&&Ce.length===0?!1:e.filterable&&s.inputValue&&Ce.length>0?e.noMatchText||n("el.select.noMatch"):Ce.length===0?e.noDataText||n("el.select.noData"):null}),F=C(()=>{const Ce=Ke=>{const bt=s.inputValue;return bt?Ke.label.includes(bt):!0};return e.loading?[]:JH(e.options.concat(s.createdOptions).map(Ke=>{if(Ye(Ke.options)){const bt=Ke.options.filter(Ce);if(bt.length>0)return ze(he({},Ke),{options:bt})}else if(e.remote||Ce(Ke))return Ke;return null}).filter(Ke=>Ke!==null))}),V=C(()=>F.value.every(Ce=>Ce.disabled)),q=Ut(),R=C(()=>q.value==="small"?"small":"default"),E=C(()=>{const Ce=m.value,Ke=R.value||"default",bt=Ce?Number.parseInt(getComputedStyle(Ce).paddingLeft):0,zt=Ce?Number.parseInt(getComputedStyle(Ce).paddingRight):0;return s.selectWidth-zt-bt-eq[Ke]}),N=()=>{var Ce,Ke,bt;d.value=((bt=(Ke=(Ce=b.value)==null?void 0:Ce.getBoundingClientRect)==null?void 0:Ke.call(Ce))==null?void 0:bt.width)||200},W=C(()=>({width:`${s.calculatedWidth===0?vg:Math.ceil(s.calculatedWidth)+vg}px`})),Y=C(()=>Ye(e.modelValue)?e.modelValue.length===0&&!s.displayInputValue:e.filterable?s.displayInputValue.length===0:!0),J=C(()=>{const Ce=e.placeholder||n("el.select.placeholder");return e.multiple?Ce:s.selectedLabel||Ce}),Z=C(()=>{var Ce,Ke;return(Ke=(Ce=h.value)==null?void 0:Ce.popperRef)==null?void 0:Ke.contentRef}),se=C(()=>{if(e.multiple){const Ce=e.modelValue.length;if(e.modelValue.length>0)return F.value.findIndex(Ke=>Ke.value===e.modelValue[Ce-1])}else if(e.modelValue)return F.value.findIndex(Ce=>Ce.value===e.modelValue);return-1}),Se=C(()=>v.value&&L.value!==!1),{createNewOption:oe,removeNewOption:H,selectNewOption:ne,clearAllNewOption:ie}=ZH(e,s),{handleCompositionStart:be,handleCompositionUpdate:$e,handleCompositionEnd:Ne}=QH(Ce=>Rn(Ce)),Me=()=>{var Ce,Ke,bt;(Ke=(Ce=p.value).focus)==null||Ke.call(Ce),(bt=h.value)==null||bt.updatePopper()},j=()=>{if(!e.automaticDropdown&&!y.value)return s.isComposing&&(s.softFocus=!0),je(()=>{var Ce,Ke;v.value=!v.value,(Ke=(Ce=p.value)==null?void 0:Ce.focus)==null||Ke.call(Ce)})},X=()=>(e.filterable&&s.inputValue!==s.selectedLabel&&(s.query=s.selectedLabel),xe(s.inputValue),je(()=>{oe(s.inputValue)})),de=bn(X,D.value),xe=Ce=>{s.previousQuery!==Ce&&(s.previousQuery=Ce,e.filterable&&Je(e.filterMethod)?e.filterMethod(Ce):e.filterable&&e.remote&&Je(e.remoteMethod)&&e.remoteMethod(Ce))},we=Ce=>{En(e.modelValue,Ce)||t(Xt,Ce)},Ae=Ce=>{t(tt,Ce),we(Ce),s.previousValue=Ce.toString()},ce=(Ce=[],Ke)=>{if(!ut(Ke))return Ce.indexOf(Ke);const bt=e.valueKey;let zt=-1;return Ce.some((ko,fo)=>Pt(ko,bt)===Pt(Ke,bt)?(zt=fo,!0):!1),zt},ae=Ce=>ut(Ce)?Pt(Ce,e.valueKey):Ce,te=Ce=>ut(Ce)?Ce.label:Ce,pe=()=>{if(!(e.collapseTags&&!e.filterable))return je(()=>{var Ce,Ke;if(!p.value)return;const bt=m.value;b.value.height=bt.offsetHeight,v.value&&L.value!==!1&&((Ke=(Ce=h.value)==null?void 0:Ce.updatePopper)==null||Ke.call(Ce))})},De=()=>{var Ce,Ke;if(B(),N(),(Ke=(Ce=h.value)==null?void 0:Ce.updatePopper)==null||Ke.call(Ce),e.multiple)return pe()},B=()=>{const Ce=m.value;Ce&&(s.selectWidth=Ce.getBoundingClientRect().width)},me=(Ce,Ke,bt=!0)=>{var zt,ko;if(e.multiple){let fo=e.modelValue.slice();const ul=ce(fo,ae(Ce));ul>-1?(fo=[...fo.slice(0,ul),...fo.slice(ul+1)],s.cachedOptions.splice(ul,1),H(Ce)):(e.multipleLimit<=0||fo.length{const{valueKey:bt}=e,zt=e.modelValue.indexOf(Pt(Ke,bt));if(zt>-1&&!y.value){const ko=[...e.modelValue.slice(0,zt),...e.modelValue.slice(zt+1)];return s.cachedOptions.splice(zt,1),Ae(ko),t("remove-tag",Pt(Ke,bt)),s.softFocus=!0,H(Ke),je(Me)}Ce.stopPropagation()},Ze=Ce=>{const Ke=s.isComposing;s.isComposing=!0,s.softFocus?s.softFocus=!1:Ke||t("focus",Ce)},Ve=()=>(s.softFocus=!1,je(()=>{var Ce,Ke;(Ke=(Ce=p.value)==null?void 0:Ce.blur)==null||Ke.call(Ce),g.value&&(s.calculatedWidth=g.value.getBoundingClientRect().width),s.isSilentBlur?s.isSilentBlur=!1:s.isComposing&&t("blur"),s.isComposing=!1})),re=()=>{s.displayInputValue.length>0?Ee(""):v.value=!1},ye=Ce=>{if(s.displayInputValue.length===0){Ce.preventDefault();const Ke=e.modelValue.slice();Ke.pop(),H(s.cachedOptions.pop()),Ae(Ke)}},fe=()=>{let Ce;return Ye(e.modelValue)?Ce=[]:Ce="",s.softFocus=!0,e.multiple?s.cachedOptions=[]:s.selectedLabel="",v.value=!1,Ae(Ce),t("clear"),ie(),je(Me)},Ee=Ce=>{s.displayInputValue=Ce,s.inputValue=Ce},We=(Ce,Ke=void 0)=>{const bt=F.value;if(!["forward","backward"].includes(Ce)||y.value||bt.length<=0||V.value)return;if(!v.value)return j();Ke===void 0&&(Ke=s.hoveringIndex);let zt=-1;Ce==="forward"?(zt=Ke+1,zt>=bt.length&&(zt=0)):Ce==="backward"&&(zt=Ke-1,zt<0&&(zt=bt.length-1));const ko=bt[zt];if(ko.disabled||ko.type==="Group")return We(Ce,zt);Ct(zt),gr(zt)},gt=()=>{if(v.value)~s.hoveringIndex&&F.value[s.hoveringIndex]&&me(F.value[s.hoveringIndex],s.hoveringIndex,!1);else return j()},Ct=Ce=>{s.hoveringIndex=Ce},_t=()=>{s.hoveringIndex=-1},Et=()=>{var Ce;const Ke=p.value;Ke&&((Ce=Ke.focus)==null||Ce.call(Ke))},Rn=Ce=>{const Ke=Ce.target.value;if(Ee(Ke),s.displayInputValue.length>0&&!v.value&&(v.value=!0),s.calculatedWidth=g.value.getBoundingClientRect().width,e.multiple&&pe(),e.remote)de();else return X()},un=()=>(v.value=!1,Ve()),yn=()=>(s.inputValue=s.displayInputValue,je(()=>{~se.value&&(Ct(se.value),gr(s.hoveringIndex))})),gr=Ce=>{f.value.scrollToItem(Ce)},Ga=()=>{if(_t(),e.multiple)if(e.modelValue.length>0){let Ce=!1;s.cachedOptions.length=0,s.previousValue=e.modelValue.toString(),e.modelValue.forEach(Ke=>{const bt=F.value.findIndex(zt=>ae(zt)===Ke);~bt&&(s.cachedOptions.push(F.value[bt]),Ce||Ct(bt),Ce=!0)})}else s.cachedOptions=[],s.previousValue="";else if(x.value){s.previousValue=e.modelValue;const Ce=F.value,Ke=Ce.findIndex(bt=>ae(bt)===ae(e.modelValue));~Ke?(s.selectedLabel=Ce[Ke].label,Ct(Ke)):s.selectedLabel=`${e.modelValue}`}else s.selectedLabel="",s.previousValue="";N()};return ge(v,Ce=>{var Ke,bt;t("visible-change",Ce),Ce?(bt=(Ke=h.value).update)==null||bt.call(Ke):(s.displayInputValue="",oe(""))}),ge(()=>e.modelValue,(Ce,Ke)=>{var bt;(!Ce||Ce.toString()!==s.previousValue)&&Ga(),En(Ce,Ke)||(bt=i==null?void 0:i.validate)==null||bt.call(i,"change").catch(zt=>void 0)},{deep:!0}),ge(()=>e.options,()=>{const Ce=p.value;(!Ce||Ce&&document.activeElement!==Ce)&&Ga()},{deep:!0}),ge(F,()=>je(f.value.resetScrollTop)),et(()=>{Ga(),ja(b.value,De)}),Ji(()=>{Ha(b.value,De)}),{collapseTagSize:R,currentPlaceholder:J,expanded:v,emptyText:L,popupHeight:T,debounce:D,filteredOptions:F,iconComponent:$,iconReverse:z,inputWrapperStyle:W,popperSize:d,dropdownMenuVisible:Se,hasModelValue:x,shouldShowPlaceholder:Y,selectDisabled:y,selectSize:q,showClearBtn:k,states:s,tagMaxWidth:E,nsSelectV2:o,nsInput:r,calculatorRef:g,controlRef:u,inputRef:p,menuRef:f,popper:h,selectRef:b,selectionRef:m,popperRef:Z,validateState:P,validateIcon:O,compatTeleported:l,debouncedOnInputChange:de,deleteTag:Be,getLabel:te,getValueKey:ae,handleBlur:Ve,handleClear:fe,handleClickOutside:un,handleDel:ye,handleEsc:re,handleFocus:Ze,handleMenuEnter:yn,handleResize:De,toggleMenu:j,scrollTo:gr,onInput:Rn,onKeyboardNavigate:We,onKeyboardSelect:gt,onSelect:me,onHover:Ct,onUpdateInputValue:Ee,handleCompositionStart:be,handleCompositionEnd:Ne,handleCompositionUpdate:$e}},oq=ee({name:"ElSelectV2",components:{ElSelectMenu:XH,ElTag:mc,ElTooltip:vn,ElIcon:qe},directives:{ClickOutside:Jr,ModelText:Ou},props:HH,emits:[tt,Xt,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const n=nq(e,t);return ot(O_,{props:vt(ze(he({},Gt(e)),{height:n.popupHeight})),onSelect:n.onSelect,onHover:n.onHover,onKeyboardNavigate:n.onKeyboardNavigate,onKeyboardSelect:n.onKeyboardSelect}),n}}),rq={key:0},aq=["id","autocomplete","aria-expanded","aria-labelledby","disabled","readonly","name","unselectable"],iq=["textContent"],lq=["id","aria-labelledby","aria-expanded","autocomplete","disabled","name","readonly","unselectable"],sq=["textContent"];function cq(e,t,n,o,r,a){const i=le("el-tag"),l=le("el-tooltip"),s=le("el-icon"),c=le("el-select-menu"),d=In("model-text"),u=In("click-outside");return Ue((w(),I("div",{ref:"selectRef",class:S([e.nsSelectV2.b(),e.nsSelectV2.m(e.selectSize)]),onClick:t[24]||(t[24]=He((...p)=>e.toggleMenu&&e.toggleMenu(...p),["stop"])),onMouseenter:t[25]||(t[25]=p=>e.states.comboBoxHovering=!0),onMouseleave:t[26]||(t[26]=p=>e.states.comboBoxHovering=!1)},[U(l,{ref:"popper",visible:e.dropdownMenuVisible,"onUpdate:visible":t[22]||(t[22]=p=>e.dropdownMenuVisible=p),teleported:e.compatTeleported,"popper-class":[e.nsSelectV2.e("popper"),e.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:e.effect,placement:"bottom-start",pure:"",transition:`${e.nsSelectV2.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,onBeforeShow:e.handleMenuEnter,onHide:t[23]||(t[23]=p=>e.states.inputValue=e.states.displayInputValue)},{default:K(()=>{var p;return[M("div",{ref:"selectionRef",class:S([e.nsSelectV2.e("wrapper"),e.nsSelectV2.is("focused",e.states.isComposing),e.nsSelectV2.is("hovering",e.states.comboBoxHovering),e.nsSelectV2.is("filterable",e.filterable),e.nsSelectV2.is("disabled",e.selectDisabled)])},[e.$slots.prefix?(w(),I("div",rq,[ue(e.$slots,"prefix")])):G("v-if",!0),e.multiple?(w(),I("div",{key:1,class:S(e.nsSelectV2.e("selection"))},[e.collapseTags&&e.modelValue.length>0?(w(),I("div",{key:0,class:S(e.nsSelectV2.e("selected-item"))},[U(i,{closable:!e.selectDisabled&&!((p=e.states.cachedOptions[0])!=null&&p.disable),size:e.collapseTagSize,type:"info","disable-transitions":"",onClose:t[0]||(t[0]=f=>e.deleteTag(f,e.states.cachedOptions[0]))},{default:K(()=>{var f;return[M("span",{class:S(e.nsSelectV2.e("tags-text")),style:Oe({maxWidth:`${e.tagMaxWidth}px`})},ve((f=e.states.cachedOptions[0])==null?void 0:f.label),7)]}),_:1},8,["closable","size"]),e.modelValue.length>1?(w(),Q(i,{key:0,closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""},{default:K(()=>[e.collapseTagsTooltip?(w(),Q(l,{key:0,disabled:e.dropdownMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:!1},{default:K(()=>[M("span",{class:S(e.nsSelectV2.e("tags-text")),style:Oe({maxWidth:`${e.tagMaxWidth}px`})},"+ "+ve(e.modelValue.length-1),7)]),content:K(()=>[M("div",{class:S(e.nsSelectV2.e("selection"))},[(w(!0),I(Fe,null,ct(e.states.cachedOptions,(f,h)=>(w(),I("div",{key:h,class:S(e.nsSelectV2.e("selected-item"))},[(w(),Q(i,{key:e.getValueKey(f),closable:!e.selectDisabled&&!f.disabled,size:e.collapseTagSize,class:"in-tooltip",type:"info","disable-transitions":"",onClose:b=>e.deleteTag(b,f)},{default:K(()=>[M("span",{class:S(e.nsSelectV2.e("tags-text")),style:Oe({maxWidth:`${e.tagMaxWidth}px`})},ve(e.getLabel(f)),7)]),_:2},1032,["closable","size","onClose"]))],2))),128))],2)]),_:1},8,["disabled","effect"])):(w(),I("span",{key:1,class:S(e.nsSelectV2.e("tags-text")),style:Oe({maxWidth:`${e.tagMaxWidth}px`})},"+ "+ve(e.modelValue.length-1),7))]),_:1},8,["size"])):G("v-if",!0)],2)):(w(!0),I(Fe,{key:1},ct(e.states.cachedOptions,(f,h)=>(w(),I("div",{key:h,class:S(e.nsSelectV2.e("selected-item"))},[(w(),Q(i,{key:e.getValueKey(f),closable:!e.selectDisabled&&!f.disabled,size:e.collapseTagSize,type:"info","disable-transitions":"",onClose:b=>e.deleteTag(b,f)},{default:K(()=>[M("span",{class:S(e.nsSelectV2.e("tags-text")),style:Oe({maxWidth:`${e.tagMaxWidth}px`})},ve(e.getLabel(f)),7)]),_:2},1032,["closable","size","onClose"]))],2))),128)),M("div",{class:S([e.nsSelectV2.e("selected-item"),e.nsSelectV2.e("input-wrapper")]),style:Oe(e.inputWrapperStyle)},[Ue(M("input",{id:e.id,ref:"inputRef",autocomplete:e.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-labelledby":e.label,class:S([e.nsSelectV2.is(e.selectSize),e.nsSelectV2.e("combobox-input")]),disabled:e.disabled,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,unselectable:e.expanded?"on":void 0,"onUpdate:modelValue":t[1]||(t[1]=(...f)=>e.onUpdateInputValue&&e.onUpdateInputValue(...f)),onFocus:t[2]||(t[2]=(...f)=>e.handleFocus&&e.handleFocus(...f)),onInput:t[3]||(t[3]=(...f)=>e.onInput&&e.onInput(...f)),onCompositionstart:t[4]||(t[4]=(...f)=>e.handleCompositionStart&&e.handleCompositionStart(...f)),onCompositionupdate:t[5]||(t[5]=(...f)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...f)),onCompositionend:t[6]||(t[6]=(...f)=>e.handleCompositionEnd&&e.handleCompositionEnd(...f)),onKeydown:[t[7]||(t[7]=st(He(f=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[8]||(t[8]=st(He(f=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[9]||(t[9]=st(He((...f)=>e.onKeyboardSelect&&e.onKeyboardSelect(...f),["stop","prevent"]),["enter"])),t[10]||(t[10]=st(He((...f)=>e.handleEsc&&e.handleEsc(...f),["stop","prevent"]),["esc"])),t[11]||(t[11]=st(He((...f)=>e.handleDel&&e.handleDel(...f),["stop"]),["delete"]))]},null,42,aq),[[d,e.states.displayInputValue]]),e.filterable?(w(),I("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:S(e.nsSelectV2.e("input-calculator")),textContent:ve(e.states.displayInputValue)},null,10,iq)):G("v-if",!0)],6)],2)):(w(),I(Fe,{key:2},[M("div",{class:S([e.nsSelectV2.e("selected-item"),e.nsSelectV2.e("input-wrapper")])},[Ue(M("input",{id:e.id,ref:"inputRef","aria-autocomplete":"list","aria-haspopup":"listbox","aria-labelledby":e.label,"aria-expanded":e.expanded,autocapitalize:"off",autocomplete:e.autocomplete,class:S(e.nsSelectV2.e("combobox-input")),disabled:e.disabled,name:e.name,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",unselectable:e.expanded?"on":void 0,onCompositionstart:t[12]||(t[12]=(...f)=>e.handleCompositionStart&&e.handleCompositionStart(...f)),onCompositionupdate:t[13]||(t[13]=(...f)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...f)),onCompositionend:t[14]||(t[14]=(...f)=>e.handleCompositionEnd&&e.handleCompositionEnd(...f)),onFocus:t[15]||(t[15]=(...f)=>e.handleFocus&&e.handleFocus(...f)),onInput:t[16]||(t[16]=(...f)=>e.onInput&&e.onInput(...f)),onKeydown:[t[17]||(t[17]=st(He(f=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[18]||(t[18]=st(He(f=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[19]||(t[19]=st(He((...f)=>e.onKeyboardSelect&&e.onKeyboardSelect(...f),["stop","prevent"]),["enter"])),t[20]||(t[20]=st(He((...f)=>e.handleEsc&&e.handleEsc(...f),["stop","prevent"]),["esc"]))],"onUpdate:modelValue":t[21]||(t[21]=(...f)=>e.onUpdateInputValue&&e.onUpdateInputValue(...f))},null,42,lq),[[d,e.states.displayInputValue]])],2),e.filterable?(w(),I("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:S([e.nsSelectV2.e("selected-item"),e.nsSelectV2.e("input-calculator")]),textContent:ve(e.states.displayInputValue)},null,10,sq)):G("v-if",!0)],64)),e.shouldShowPlaceholder?(w(),I("span",{key:3,class:S([e.nsSelectV2.e("placeholder"),e.nsSelectV2.is("transparent",e.states.isComposing||(e.placeholder&&e.multiple?e.modelValue.length===0:!e.hasModelValue))])},ve(e.currentPlaceholder),3)):G("v-if",!0),M("span",{class:S(e.nsSelectV2.e("suffix"))},[e.iconComponent?Ue((w(),Q(s,{key:0,class:S([e.nsSelectV2.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])),[[ft,!e.showClearBtn]]):G("v-if",!0),e.showClearBtn&&e.clearIcon?(w(),Q(s,{key:1,class:S([e.nsSelectV2.e("caret"),e.nsInput.e("icon")]),onClick:He(e.handleClear,["prevent","stop"])},{default:K(()=>[(w(),Q(pt(e.clearIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0),e.validateState&&e.validateIcon?(w(),Q(s,{key:2,class:S([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:K(()=>[(w(),Q(pt(e.validateIcon)))]),_:1},8,["class"])):G("v-if",!0)],2)],2)]}),content:K(()=>[U(c,{ref:"menuRef",data:e.filteredOptions,width:e.popperSize,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn},{default:K(p=>[ue(e.$slots,"default",eo(ur(p)))]),empty:K(()=>[ue(e.$slots,"empty",{},()=>[M("p",{class:S(e.nsSelectV2.e("empty"))},ve(e.emptyText?e.emptyText:""),3)])]),_:3},8,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","effect","transition","persistent","onBeforeShow"])],34)),[[u,e.handleClickOutside,e.popperRef]])}var ns=_e(oq,[["render",cq],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select.vue"]]);ns.install=e=>{e.component(ns.name,ns)};const dq=ns,uq=dq,pq=Le({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),fq=Le({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),hq={name:"ElSkeletonItem"},mq=ee(ze(he({},hq),{props:fq,setup(e){const t=ke("skeleton");return(n,o)=>(w(),I("div",{class:S([_(t).e("item"),_(t).e(n.variant)])},[n.variant==="image"?(w(),Q(_(d5),{key:0})):G("v-if",!0)],2))}}));var Ms=_e(mq,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const gq={name:"ElSkeleton"},bq=ee(ze(he({},gq),{props:pq,setup(e,{expose:t}){const n=e,o=ke("skeleton"),r=Jz(Yt(n,"loading"),n.throttle);return t({uiLoading:r}),(a,i)=>_(r)?(w(),I("div",St({key:0,class:[_(o).b(),_(o).is("animated",a.animated)]},a.$attrs),[(w(!0),I(Fe,null,ct(a.count,l=>(w(),I(Fe,{key:l},[a.loading?ue(a.$slots,"template",{key:l},()=>[U(Ms,{class:S(_(o).is("first")),variant:"p"},null,8,["class"]),(w(!0),I(Fe,null,ct(a.rows,s=>(w(),Q(Ms,{key:s,class:S([_(o).e("paragraph"),_(o).is("last",s===a.rows&&a.rows>1)]),variant:"p"},null,8,["class"]))),128))]):G("v-if",!0)],64))),128))],16)):ue(a.$slots,"default",eo(St({key:1},a.$attrs)))}}));var vq=_e(bq,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const yq=rt(vq,{SkeletonItem:Ms}),_q=Dt(Ms),wq=(e,t,n)=>{const o=A(null),r=A(!1),a=C(()=>t.value instanceof Function),i=C(()=>a.value&&t.value(e.modelValue)||e.modelValue),l=bn(()=>{n.value&&(r.value=!0)},50),s=bn(()=>{n.value&&(r.value=!1)},50);return{tooltip:o,tooltipVisible:r,formatValue:i,displayTooltip:l,hideTooltip:s}},xq=(e,t,n)=>{const{disabled:o,min:r,max:a,step:i,showTooltip:l,precision:s,sliderSize:c,formatTooltip:d,emitChange:u,resetSize:p,updateDragging:f}=Ie("SliderProvider"),{tooltip:h,tooltipVisible:b,formatValue:m,displayTooltip:g,hideTooltip:v}=wq(e,d,l),y=C(()=>`${(e.modelValue-r.value)/(a.value-r.value)*100}%`),T=C(()=>e.vertical?{bottom:y.value}:{left:y.value}),x=()=>{t.hovering=!0,g()},k=()=>{t.hovering=!1,t.dragging||v()},$=q=>{o.value||(q.preventDefault(),D(q),At(window,"mousemove",L),At(window,"touchmove",L),At(window,"mouseup",F),At(window,"touchend",F),At(window,"contextmenu",F))},z=()=>{o.value||(t.newPosition=Number.parseFloat(y.value)-i.value/(a.value-r.value)*100,V(t.newPosition),u())},P=()=>{o.value||(t.newPosition=Number.parseFloat(y.value)+i.value/(a.value-r.value)*100,V(t.newPosition),u())},O=q=>{let R,E;return q.type.startsWith("touch")?(E=q.touches[0].clientY,R=q.touches[0].clientX):(E=q.clientY,R=q.clientX),{clientX:R,clientY:E}},D=q=>{t.dragging=!0,t.isClick=!0;const{clientX:R,clientY:E}=O(q);e.vertical?t.startY=E:t.startX=R,t.startPosition=Number.parseFloat(y.value),t.newPosition=t.startPosition},L=q=>{if(t.dragging){t.isClick=!1,g(),p();let R;const{clientX:E,clientY:N}=O(q);e.vertical?(t.currentY=N,R=(t.startY-t.currentY)/c.value*100):(t.currentX=E,R=(t.currentX-t.startX)/c.value*100),t.newPosition=t.startPosition+R,V(t.newPosition)}},F=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||v(),t.isClick||(V(t.newPosition),u())},0),Bt(window,"mousemove",L),Bt(window,"touchmove",L),Bt(window,"mouseup",F),Bt(window,"touchend",F),Bt(window,"contextmenu",F))},V=async q=>{if(q===null||Number.isNaN(+q))return;q<0?q=0:q>100&&(q=100);const R=100/((a.value-r.value)/i.value);let N=Math.round(q/R)*R*(a.value-r.value)*.01+r.value;N=Number.parseFloat(N.toFixed(s.value)),n(tt,N),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await je(),t.dragging&&g(),h.value.updatePopper()};return ge(()=>t.dragging,q=>{f(q)}),{tooltip:h,tooltipVisible:b,showTooltip:l,wrapperStyle:T,formatValue:m,handleMouseEnter:x,handleMouseLeave:k,onButtonDown:$,onLeftKeyDown:z,onRightKeyDown:P,setPosition:V}},kq=ee({name:"ElSliderButton",components:{ElTooltip:vn},props:{modelValue:{type:Number,default:0},vertical:{type:Boolean,default:!1},tooltipClass:{type:String,default:""}},emits:[tt],setup(e,{emit:t}){const n=ke("slider"),o=vt({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:e.modelValue}),{tooltip:r,showTooltip:a,tooltipVisible:i,wrapperStyle:l,formatValue:s,handleMouseEnter:c,handleMouseLeave:d,onButtonDown:u,onLeftKeyDown:p,onRightKeyDown:f,setPosition:h}=xq(e,o,t),{hovering:b,dragging:m}=Gt(o);return{ns:n,tooltip:r,tooltipVisible:i,showTooltip:a,wrapperStyle:l,formatValue:s,handleMouseEnter:c,handleMouseLeave:d,onButtonDown:u,onLeftKeyDown:p,onRightKeyDown:f,setPosition:h,hovering:b,dragging:m}}});function Tq(e,t,n,o,r,a){const i=le("el-tooltip");return w(),I("div",{ref:"button",class:S([e.ns.e("button-wrapper"),{hover:e.hovering,dragging:e.dragging}]),style:Oe(e.wrapperStyle),tabindex:"0",onMouseenter:t[1]||(t[1]=(...l)=>e.handleMouseEnter&&e.handleMouseEnter(...l)),onMouseleave:t[2]||(t[2]=(...l)=>e.handleMouseLeave&&e.handleMouseLeave(...l)),onMousedown:t[3]||(t[3]=(...l)=>e.onButtonDown&&e.onButtonDown(...l)),onTouchstart:t[4]||(t[4]=(...l)=>e.onButtonDown&&e.onButtonDown(...l)),onFocus:t[5]||(t[5]=(...l)=>e.handleMouseEnter&&e.handleMouseEnter(...l)),onBlur:t[6]||(t[6]=(...l)=>e.handleMouseLeave&&e.handleMouseLeave(...l)),onKeydown:[t[7]||(t[7]=st((...l)=>e.onLeftKeyDown&&e.onLeftKeyDown(...l),["left"])),t[8]||(t[8]=st((...l)=>e.onRightKeyDown&&e.onRightKeyDown(...l),["right"])),t[9]||(t[9]=st(He((...l)=>e.onLeftKeyDown&&e.onLeftKeyDown(...l),["prevent"]),["down"])),t[10]||(t[10]=st(He((...l)=>e.onRightKeyDown&&e.onRightKeyDown(...l),["prevent"]),["up"]))]},[U(i,{ref:"tooltip",visible:e.tooltipVisible,"onUpdate:visible":t[0]||(t[0]=l=>e.tooltipVisible=l),placement:"top","stop-popper-mouse-event":!1,"popper-class":e.tooltipClass,disabled:!e.showTooltip,persistent:""},{content:K(()=>[M("span",null,ve(e.formatValue),1)]),default:K(()=>[M("div",{class:S([e.ns.e("button"),{hover:e.hovering,dragging:e.dragging}])},null,2)]),_:1},8,["visible","popper-class","disabled"])],38)}var Cq=_e(kq,[["render",Tq],["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const Sq=ee({name:"ElMarker",props:{mark:{type:[String,Object],default:()=>{}}},setup(e){const t=ke("slider"),n=C(()=>typeof e.mark=="string"?e.mark:e.mark.label);return{ns:t,label:n}},render(){var e;return Re("div",{class:this.ns.e("marks-text"),style:(e=this.mark)==null?void 0:e.style},this.label)}});var $q=_e(Sq,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/marker.vue"]]);const Aq=e=>C(()=>e.marks?Object.keys(e.marks).map(parseFloat).sort((n,o)=>n-o).filter(n=>n<=e.max&&n>=e.min).map(n=>({point:n,position:(n-e.min)*100/(e.max-e.min),mark:e.marks[n]})):[]),Eq=(e,t,n)=>{const o=Ie(Mn,{}),r=Ie(qn,{}),a=Kt(null),i=A(null),l=A(null),s={firstButton:i,secondButton:l},c=C(()=>e.disabled||o.disabled||!1),d=C(()=>Math.min(t.firstValue,t.secondValue)),u=C(()=>Math.max(t.firstValue,t.secondValue)),p=C(()=>e.range?`${100*(u.value-d.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),f=C(()=>e.range?`${100*(d.value-e.min)/(e.max-e.min)}%`:"0%"),h=C(()=>e.vertical?{height:e.height}:{}),b=C(()=>e.vertical?{height:p.value,bottom:f.value}:{width:p.value,left:f.value}),m=()=>{a.value&&(t.sliderSize=a.value[`client${e.vertical?"Height":"Width"}`])},g=$=>{const z=e.min+$*(e.max-e.min)/100;if(!e.range){i.value.setPosition($);return}let P;Math.abs(d.value-z)t.secondValue?"firstButton":"secondButton",s[P].value.setPosition($)},v=$=>{t.firstValue=$,T(e.range?[d.value,u.value]:$)},y=$=>{t.secondValue=$,e.range&&T([d.value,u.value])},T=$=>{n(tt,$),n(pr,$)},x=async()=>{await je(),n(Xt,e.range?[d.value,u.value]:e.modelValue)};return{elFormItem:r,slider:a,firstButton:i,secondButton:l,sliderDisabled:c,minValue:d,maxValue:u,runwayStyle:h,barStyle:b,resetSize:m,setPosition:g,emitChange:x,onSliderClick:$=>{if(!(c.value||t.dragging)){if(m(),e.vertical){const z=a.value.getBoundingClientRect().bottom;g((z-$.clientY)/t.sliderSize*100)}else{const z=a.value.getBoundingClientRect().left;g(($.clientX-z)/t.sliderSize*100)}x()}},setFirstValue:v,setSecondValue:y}},zq=(e,t,n,o)=>({stops:C(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const i=(e.max-e.min)/e.step,l=100*e.step/(e.max-e.min),s=Array.from({length:i-1}).map((c,d)=>(d+1)*l);return e.range?s.filter(c=>c<100*(n.value-e.min)/(e.max-e.min)||c>100*(o.value-e.min)/(e.max-e.min)):s.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:i=>e.vertical?{bottom:`${i}%`}:{left:`${i}%`}}),Iq=ee({name:"ElSlider",components:{ElInputNumber:m_,SliderButton:Cq,SliderMarker:$q},props:{modelValue:{type:[Number,Array],default:0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:{type:Boolean,default:!1},showInputControls:{type:Boolean,default:!0},size:{type:String,validator:Nn},inputSize:{type:String,validator:Nn},showStops:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!0},formatTooltip:{type:Function,default:void 0},disabled:{type:Boolean,default:!1},range:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},height:{type:String,default:""},debounce:{type:Number,default:300},label:{type:String,default:void 0},tooltipClass:{type:String,default:void 0},marks:Object},emits:[tt,Xt,pr],setup(e,{emit:t}){const n=ke("slider"),o=vt({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:r,slider:a,firstButton:i,secondButton:l,sliderDisabled:s,minValue:c,maxValue:d,runwayStyle:u,barStyle:p,resetSize:f,emitChange:h,onSliderClick:b,setFirstValue:m,setSecondValue:g}=Eq(e,o,t),{stops:v,getStopStyle:y}=zq(e,o,c,d),T=Ut(),x=C(()=>e.inputSize||T.value),k=C(()=>[n.b(),n.m(T.value),n.is("vertical",e.vertical),{[n.m("with-input")]:e.showInput}]),$=Aq(e);Nq(e,o,c,d,t,r);const z=C(()=>{const R=[e.min,e.max,e.step].map(E=>{const N=`${E}`.split(".")[1];return N?N.length:0});return Math.max.apply(null,R)}),{sliderWrapper:P}=Mq(e,o,f),{firstValue:O,secondValue:D,oldValue:L,dragging:F,sliderSize:V}=Gt(o),q=R=>{o.dragging=R};return ot("SliderProvider",ze(he({},Gt(e)),{sliderSize:V,disabled:s,precision:z,emitChange:h,resetSize:f,updateDragging:q})),{ns:n,firstValue:O,secondValue:D,oldValue:L,dragging:F,sliderSize:V,slider:a,firstButton:i,secondButton:l,sliderDisabled:s,runwayStyle:u,barStyle:p,emitChange:h,onSliderClick:b,getStopStyle:y,setFirstValue:m,setSecondValue:g,stops:v,markList:$,sliderWrapper:P,sliderWrapperSize:T,sliderInputSize:x,sliderKls:k}}}),Nq=(e,t,n,o,r,a)=>{const i=c=>{r(tt,c),r(pr,c)},l=()=>e.range?![n.value,o.value].every((c,d)=>c===t.oldValue[d]):e.modelValue!==t.oldValue,s=()=>{var c,d;if(e.min>e.max){Wt("Slider","min should not be greater than max.");return}const u=e.modelValue;e.range&&Array.isArray(u)?u[1]e.max?i([e.max,e.max]):u[0]e.max?i([u[0],e.max]):(t.firstValue=u[0],t.secondValue=u[1],l()&&((c=a.validate)==null||c.call(a,"change").catch(p=>void 0),t.oldValue=u.slice())):!e.range&&typeof u=="number"&&!Number.isNaN(u)&&(ue.max?i(e.max):(t.firstValue=u,l()&&((d=a.validate)==null||d.call(a,"change").catch(p=>void 0),t.oldValue=u)))};s(),ge(()=>t.dragging,c=>{c||s()}),ge(()=>e.modelValue,(c,d)=>{t.dragging||Array.isArray(c)&&Array.isArray(d)&&c.every((u,p)=>u===d[p])&&t.firstValue===c[0]&&t.secondValue===c[1]||s()},{deep:!0}),ge(()=>[e.min,e.max],()=>{s()})},Mq=(e,t,n)=>{const o=A(null);return et(async()=>{let r;e.range?(Array.isArray(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue],r=`${t.firstValue}-${t.secondValue}`):(typeof e.modelValue!="number"||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue,r=t.firstValue),o.value.setAttribute("aria-valuetext",r),o.value.setAttribute("aria-label",e.label?e.label:`slider between ${e.min} and ${e.max}`),At(window,"resize",n),await je(),n()}),$t(()=>{Bt(window,"resize",n)}),{sliderWrapper:o}},Rq=["aria-valuemin","aria-valuemax","aria-orientation","aria-disabled"],Pq={key:1};function Oq(e,t,n,o,r,a){const i=le("slider-button"),l=le("slider-marker"),s=le("el-input-number");return w(),I("div",{ref:"sliderWrapper",class:S(e.sliderKls),role:"slider","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":e.sliderDisabled},[M("div",{ref:"slider",class:S([e.ns.e("runway"),{"show-input":e.showInput&&!e.range},e.ns.is("disabled",e.sliderDisabled)]),style:Oe(e.runwayStyle),onClick:t[0]||(t[0]=(...c)=>e.onSliderClick&&e.onSliderClick(...c))},[M("div",{class:S(e.ns.e("bar")),style:Oe(e.barStyle)},null,6),U(i,{ref:"firstButton","model-value":e.firstValue,vertical:e.vertical,"tooltip-class":e.tooltipClass,"onUpdate:modelValue":e.setFirstValue},null,8,["model-value","vertical","tooltip-class","onUpdate:modelValue"]),e.range?(w(),Q(i,{key:0,ref:"secondButton","model-value":e.secondValue,vertical:e.vertical,"tooltip-class":e.tooltipClass,"onUpdate:modelValue":e.setSecondValue},null,8,["model-value","vertical","tooltip-class","onUpdate:modelValue"])):G("v-if",!0),e.showStops?(w(),I("div",Pq,[(w(!0),I(Fe,null,ct(e.stops,(c,d)=>(w(),I("div",{key:d,class:S(e.ns.e("stop")),style:Oe(e.getStopStyle(c))},null,6))),128))])):G("v-if",!0),e.markList.length>0?(w(),I(Fe,{key:2},[M("div",null,[(w(!0),I(Fe,null,ct(e.markList,(c,d)=>(w(),I("div",{key:d,style:Oe(e.getStopStyle(c.position)),class:S([e.ns.e("stop"),e.ns.e("marks-stop")])},null,6))),128))]),M("div",{class:S(e.ns.e("marks"))},[(w(!0),I(Fe,null,ct(e.markList,(c,d)=>(w(),Q(l,{key:d,mark:c.mark,style:Oe(e.getStopStyle(c.position))},null,8,["mark","style"]))),128))],2)],64)):G("v-if",!0)],6),e.showInput&&!e.range?(w(),Q(s,{key:0,ref:"input","model-value":e.firstValue,class:S(e.ns.e("input")),step:e.step,disabled:e.sliderDisabled,controls:e.showInputControls,min:e.min,max:e.max,debounce:e.debounce,size:e.sliderInputSize,"onUpdate:modelValue":e.setFirstValue,onChange:e.emitChange},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):G("v-if",!0)],10,Rq)}var os=_e(Iq,[["render",Oq],["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/index.vue"]]);os.install=e=>{e.component(os.name,os)};const Fq=os,Dq=Fq,Lq=Le({prefixCls:{type:String,default:""}}),Vq=ee({props:Lq,setup(e){const t=ke("space");return{classes:C(()=>`${e.prefixCls||t.b()}__item`)}}});function Bq(e,t,n,o,r,a){return w(),I("div",{class:S(e.classes)},[ue(e.$slots,"default")],2)}var yg=_e(Vq,[["render",Bq],["__file","/home/runner/work/element-plus/element-plus/packages/components/space/src/item.vue"]]);const _g={small:8,default:12,large:16};function jq(e){const t=ke("space"),n=C(()=>[t.b(),t.m(e.direction),e.class]),o=A(0),r=A(0),a=C(()=>{const l=e.wrap||e.fill?{flexWrap:"wrap",marginBottom:`-${r.value}px`}:{},s={alignItems:e.alignment};return[l,s,e.style]}),i=C(()=>{const l={paddingBottom:`${r.value}px`,marginRight:`${o.value}px`},s=e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{};return[l,s]});return Dn(()=>{const{size:l="small",wrap:s,direction:c,fill:d}=e;if(Array.isArray(l)){const[u=0,p=0]=l;o.value=u,r.value=p}else{let u;mt(l)?u=l:u=_g[l]||_g.small,(s||d)&&c==="horizontal"?o.value=r.value=u:c==="horizontal"?(o.value=u,r.value=0):(r.value=u,o.value=0)}}),{classes:n,containerStyle:a,itemStyle:i}}const Hq=Le({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:Te([String,Object,Array]),default:""},style:{type:Te([String,Array,Object]),default:""},alignment:{type:Te(String),default:"center"},prefixCls:{type:String},spacer:{type:Te([Object,String,Number,Array]),default:null,validator:e=>jt(e)||mt(e)||Qe(e)},wrap:{type:Boolean,default:!1},fill:{type:Boolean,default:!1},fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:wo,validator:e=>mt(e)||Ye(e)&&e.length===2&&e.every(t=>mt(t))}});var qq=ee({name:"ElSpace",props:Hq,setup(e,{slots:t}){const{classes:n,containerStyle:o,itemStyle:r}=jq(e);return()=>{var a;const{spacer:i,prefixCls:l,direction:s}=e,c=ue(t,"default",{key:0},()=>[]);if(((a=c.children)!=null?a:[]).length===0)return null;if(Ye(c.children)){let d=[];if(c.children.forEach((u,p)=>{oy(u)?Ye(u.children)&&u.children.forEach((f,h)=>{d.push(U(yg,{style:r.value,prefixCls:l,key:`nested-${h}`},{default:()=>[f]},On.PROPS|On.STYLE,["style","prefixCls"]))}):Pz(u)&&d.push(U(yg,{style:r.value,prefixCls:l,key:`LoopKey${p}`},{default:()=>[u]},On.PROPS|On.STYLE,["style","prefixCls"]))}),i){const u=d.length-1;d=d.reduce((p,f,h)=>{const b=[...p,f];return h!==u&&b.push(U("span",{style:[r.value,s==="vertical"?"width: 100%":null],key:h},[jt(i)?i:it(i,On.TEXT)],On.STYLE)),b},[])}return U("div",{class:n.value,style:o.value},d,On.STYLE|On.CLASS)}return c.children}}});const Kq=rt(qq),Wq=ee({name:"ElSteps",props:{space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},alignCenter:{type:Boolean,default:!1},simple:{type:Boolean,default:!1},finishStatus:{type:String,default:"finish",validator:e=>["wait","process","finish","error","success"].includes(e)},processStatus:{type:String,default:"process",validator:e=>["wait","process","finish","error","success"].includes(e)}},emits:[Xt],setup(e,{emit:t}){const n=ke("steps"),o=A([]);return ge(o,()=>{o.value.forEach((r,a)=>{r.setIndex(a)})}),ot("ElSteps",{props:e,steps:o}),ge(()=>e.active,(r,a)=>{t(Xt,r,a)}),{steps:o,ns:n}}});function Uq(e,t,n,o,r,a){return w(),I("div",{class:S([e.ns.b(),e.ns.m(e.simple?"simple":e.direction)])},[ue(e.$slots,"default")],2)}var Yq=_e(Wq,[["render",Uq],["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/index.vue"]]);const Gq=ee({name:"ElStep",components:{ElIcon:qe,Close:Hn,Check:Ca},props:{title:{type:String,default:""},icon:{type:[String,Object],default:""},description:{type:String,default:""},status:{type:String,default:"",validator:e=>["","wait","process","finish","error","success"].includes(e)}},setup(e){const t=ke("step"),n=A(-1),o=A({}),r=A(""),a=Ie("ElSteps"),i=nt();et(()=>{ge([()=>a.props.active,()=>a.props.processStatus,()=>a.props.finishStatus],([T])=>{v(T)},{immediate:!0})}),$t(()=>{a.steps.value=a.steps.value.filter(T=>T.uid!==i.uid)});const l=C(()=>e.status||r.value),s=C(()=>{const T=a.steps.value[n.value-1];return T?T.currentStatus:"wait"}),c=C(()=>a.props.alignCenter),d=C(()=>a.props.direction==="vertical"),u=C(()=>a.props.simple),p=C(()=>a.steps.value.length),f=C(()=>{var T;return((T=a.steps.value[p.value-1])==null?void 0:T.uid)===i.uid}),h=C(()=>u.value?"":a.props.space),b=C(()=>{const T={flexBasis:typeof h.value=="number"?`${h.value}px`:h.value?h.value:`${100/(p.value-(c.value?0:1))}%`};return d.value||f.value&&(T.maxWidth=`${100/p.value}%`),T}),m=T=>{n.value=T},g=T=>{let x=100;const k={};k.transitionDelay=`${150*n.value}ms`,T===a.props.processStatus?x=0:T==="wait"&&(x=0,k.transitionDelay=`${-150*n.value}ms`),k.borderWidth=x&&!u.value?"1px":0,k[a.props.direction==="vertical"?"height":"width"]=`${x}%`,o.value=k},v=T=>{T>n.value?r.value=a.props.finishStatus:T===n.value&&s.value!=="error"?r.value=a.props.processStatus:r.value="wait";const x=a.steps.value[p.value-1];x&&x.calcProgress(r.value)},y=vt({uid:C(()=>i.uid),currentStatus:l,setIndex:m,calcProgress:g});return a.steps.value=[...a.steps.value,y],{ns:t,index:n,lineStyle:o,currentStatus:l,isCenter:c,isVertical:d,isSimple:u,isLast:f,space:h,style:b,parent:a,setIndex:m,calcProgress:g,updateStatus:v}}});function Xq(e,t,n,o,r,a){const i=le("el-icon"),l=le("check"),s=le("close");return w(),I("div",{style:Oe(e.style),class:S([e.ns.b(),e.ns.is(e.isSimple?"simple":e.parent.props.direction),e.ns.is("flex",e.isLast&&!e.space&&!e.isCenter),e.ns.is("center",e.isCenter&&!e.isVertical&&!e.isSimple)])},[G(" icon & line "),M("div",{class:S([e.ns.e("head"),e.ns.is(e.currentStatus)])},[e.isSimple?G("v-if",!0):(w(),I("div",{key:0,class:S(e.ns.e("line"))},[M("i",{class:S(e.ns.e("line-inner")),style:Oe(e.lineStyle)},null,6)],2)),M("div",{class:S([e.ns.e("icon"),e.ns.is(e.icon?"icon":"text")])},[e.currentStatus!=="success"&&e.currentStatus!=="error"?ue(e.$slots,"icon",{key:0},()=>[e.icon?(w(),Q(i,{key:0,class:S(e.ns.e("icon-inner"))},{default:K(()=>[(w(),Q(pt(e.icon)))]),_:1},8,["class"])):G("v-if",!0),!e.icon&&!e.isSimple?(w(),I("div",{key:1,class:S(e.ns.e("icon-inner"))},ve(e.index+1),3)):G("v-if",!0)]):(w(),Q(i,{key:1,class:S([e.ns.e("icon-inner"),e.ns.is("status")])},{default:K(()=>[e.currentStatus==="success"?(w(),Q(l,{key:0})):(w(),Q(s,{key:1}))]),_:1},8,["class"]))],2)],2),G(" title & description "),M("div",{class:S(e.ns.e("main"))},[M("div",{class:S([e.ns.e("title"),e.ns.is(e.currentStatus)])},[ue(e.$slots,"title",{},()=>[it(ve(e.title),1)])],2),e.isSimple?(w(),I("div",{key:0,class:S(e.ns.e("arrow"))},null,2)):(w(),I("div",{key:1,class:S([e.ns.e("description"),e.ns.is(e.currentStatus)])},[ue(e.$slots,"description",{},()=>[it(ve(e.description),1)])],2))],2)],6)}var F_=_e(Gq,[["render",Xq],["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);const Zq=rt(Yq,{Step:F_}),Jq=Dt(F_),Qq=Le({modelValue:{type:[Boolean,String,Number],default:!1},value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:Number,default:40},inlinePrompt:{type:Boolean,default:!1},activeIcon:{type:an,default:""},inactiveIcon:{type:an,default:""},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String,loading:{type:Boolean,default:!1},beforeChange:{type:Te(Function)},size:{type:String,validator:Nn}}),eK={[tt]:e=>on(e)||Qe(e)||mt(e),[Xt]:e=>on(e)||Qe(e)||mt(e),[pr]:e=>on(e)||Qe(e)||mt(e)},wg="ElSwitch",tK=ee({name:wg,components:{ElIcon:qe,Loading:hr},props:Qq,emits:eK,setup(e,{emit:t}){const{formItem:n}=Ka(),o=Zr(C(()=>e.loading)),r=ke("switch"),a=Ut(),i=A(e.modelValue!==!1),l=A(),s=A(),c=C(()=>[r.b(),r.m(a.value),r.is("disabled",o.value),r.is("checked",u.value)]);ge(()=>e.modelValue,()=>{i.value=!0}),ge(()=>e.value,()=>{i.value=!1});const d=C(()=>i.value?e.modelValue:e.value),u=C(()=>d.value===e.activeValue);[e.activeValue,e.inactiveValue].includes(d.value)||(t(tt,e.inactiveValue),t(Xt,e.inactiveValue),t(pr,e.inactiveValue)),ge(u,()=>{var m;l.value.checked=u.value,(e.activeColor||e.inactiveColor)&&h(),e.validateEvent&&((m=n==null?void 0:n.validate)==null||m.call(n,"change").catch(g=>void 0))});const p=()=>{const m=u.value?e.inactiveValue:e.activeValue;t(tt,m),t(Xt,m),t(pr,m),je(()=>{l.value.checked=u.value})},f=()=>{if(o.value)return;const{beforeChange:m}=e;if(!m){p();return}const g=m();[Vr(g),on(g)].some(y=>y)||Wt(wg,"beforeChange must return type `Promise` or `boolean`"),Vr(g)?g.then(y=>{y&&p()}).catch(y=>{}):g&&p()},h=()=>{const m=u.value?e.activeColor:e.inactiveColor,g=s.value;e.borderColor?g.style.borderColor=e.borderColor:e.borderColor||(g.style.borderColor=m),g.style.backgroundColor=m,g.children[0].style.color=m},b=()=>{var m,g;(g=(m=l.value)==null?void 0:m.focus)==null||g.call(m)};return et(()=>{(e.activeColor||e.inactiveColor||e.borderColor)&&h(),l.value.checked=u.value}),{ns:r,input:l,core:s,switchDisabled:o,checked:u,switchKls:c,handleChange:p,switchValue:f,focus:b}}}),nK=["aria-checked","aria-disabled"],oK=["id","name","true-value","false-value","disabled"],rK=["aria-hidden"],aK=["aria-hidden"],iK=["aria-hidden"],lK=["aria-hidden"];function sK(e,t,n,o,r,a){const i=le("el-icon"),l=le("loading");return w(),I("div",{class:S(e.switchKls),role:"switch","aria-checked":e.checked,"aria-disabled":e.switchDisabled,onClick:t[2]||(t[2]=He((...s)=>e.switchValue&&e.switchValue(...s),["prevent"]))},[M("input",{id:e.id,ref:"input",class:S(e.ns.e("input")),type:"checkbox",name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:e.switchDisabled,onChange:t[0]||(t[0]=(...s)=>e.handleChange&&e.handleChange(...s)),onKeydown:t[1]||(t[1]=st((...s)=>e.switchValue&&e.switchValue(...s),["enter"]))},null,42,oK),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText)?(w(),I("span",{key:0,class:S([e.ns.e("label"),e.ns.em("label","left"),e.ns.is("active",!e.checked)])},[e.inactiveIcon?(w(),Q(i,{key:0},{default:K(()=>[(w(),Q(pt(e.inactiveIcon)))]),_:1})):G("v-if",!0),!e.inactiveIcon&&e.inactiveText?(w(),I("span",{key:1,"aria-hidden":e.checked},ve(e.inactiveText),9,rK)):G("v-if",!0)],2)):G("v-if",!0),M("span",{ref:"core",class:S(e.ns.e("core")),style:Oe({width:(e.width||40)+"px"})},[e.inlinePrompt?(w(),I("div",{key:0,class:S(e.ns.e("inner"))},[e.activeIcon||e.inactiveIcon?(w(),I(Fe,{key:0},[e.activeIcon?(w(),Q(i,{key:0,class:S([e.ns.is("icon"),e.checked?e.ns.is("show"):e.ns.is("hide")])},{default:K(()=>[(w(),Q(pt(e.activeIcon)))]),_:1},8,["class"])):G("v-if",!0),e.inactiveIcon?(w(),Q(i,{key:1,class:S([e.ns.is("icon"),e.checked?e.ns.is("hide"):e.ns.is("show")])},{default:K(()=>[(w(),Q(pt(e.inactiveIcon)))]),_:1},8,["class"])):G("v-if",!0)],64)):e.activeText||e.inactiveIcon?(w(),I(Fe,{key:1},[e.activeText?(w(),I("span",{key:0,class:S([e.ns.is("text"),e.checked?e.ns.is("show"):e.ns.is("hide")]),"aria-hidden":!e.checked},ve(e.activeText.substring(0,3)),11,aK)):G("v-if",!0),e.inactiveText?(w(),I("span",{key:1,class:S([e.ns.is("text"),e.checked?e.ns.is("hide"):e.ns.is("show")]),"aria-hidden":e.checked},ve(e.inactiveText.substring(0,3)),11,iK)):G("v-if",!0)],64)):G("v-if",!0)],2)):G("v-if",!0),M("div",{class:S(e.ns.e("action"))},[e.loading?(w(),Q(i,{key:0,class:S(e.ns.is("loading"))},{default:K(()=>[U(l)]),_:1},8,["class"])):G("v-if",!0)],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText)?(w(),I("span",{key:1,class:S([e.ns.e("label"),e.ns.em("label","right"),e.ns.is("active",e.checked)])},[e.activeIcon?(w(),Q(i,{key:0},{default:K(()=>[(w(),Q(pt(e.activeIcon)))]),_:1})):G("v-if",!0),!e.activeIcon&&e.activeText?(w(),I("span",{key:1,"aria-hidden":!e.checked},ve(e.activeText),9,lK)):G("v-if",!0)],2)):G("v-if",!0)],10,nK)}var cK=_e(tK,[["render",sK],["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const dK=rt(cK);/*! + `}),i=C(()=>2*Math.PI*r.value),l=C(()=>e.type==="dashboard"?.75:1),s=C(()=>`${-1*i.value*(1-l.value)/2}px`),c=C(()=>({strokeDasharray:`${i.value*l.value}px, ${i.value}px`,strokeDashoffset:s.value})),d=C(()=>({strokeDasharray:`${i.value*l.value*(e.percentage/100)}px, ${i.value}px`,strokeDashoffset:s.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"})),u=C(()=>{let g;if(e.color)g=b(e.percentage);else switch(e.status){case"success":g="#13ce66";break;case"exception":g="#ff4949";break;case"warning":g="#e6a23c";break;default:g="#20a0ff"}return g}),p=C(()=>e.status==="warning"?ji:e.type==="line"?e.status==="success"?Ss:Oo:e.status==="success"?Ca:Hn),f=C(()=>e.type==="line"?12+e.strokeWidth*.4:e.width*.111111+2),h=C(()=>e.format(e.percentage)),b=g=>{var v;const{color:y}=e;if(typeof y=="function")return y(g);if(typeof y=="string")return y;{const T=100/y.length,k=y.map(($,z)=>typeof $=="string"?{color:$,percentage:(z+1)*T}:$).sort(($,z)=>$.percentage-z.percentage);for(const $ of k)if($.percentage>g)return $.color;return(v=k[k.length-1])==null?void 0:v.color}},m=C(()=>({percentage:e.percentage}));return{ns:t,barStyle:n,relativeStrokeWidth:o,radius:r,trackPath:a,perimeter:i,rate:l,strokeDashoffset:s,trailPathStyle:c,circlePathStyle:d,stroke:u,statusIcon:p,progressTextSize:f,content:h,slotData:m}}}),Kj=["aria-valuenow"],Wj={viewBox:"0 0 100 100"},Uj=["d","stroke-width"],Yj=["d","stroke","stroke-linecap","stroke-width"],Gj={key:0};function Xj(e,t,n,o,r,a){const i=le("el-icon");return w(),I("div",{class:S([e.ns.b(),e.ns.m(e.type),e.ns.is(e.status),{[e.ns.m("without-text")]:!e.showText,[e.ns.m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(w(),I("div",{key:0,class:S(e.ns.b("bar"))},[R("div",{class:S(e.ns.be("bar","outer")),style:Oe({height:`${e.strokeWidth}px`})},[R("div",{class:S([e.ns.be("bar","inner"),{[e.ns.bem("bar","inner","indeterminate")]:e.indeterminate}]),style:Oe(e.barStyle)},[(e.showText||e.$slots.default)&&e.textInside?(w(),I("div",{key:0,class:S(e.ns.be("bar","innerText"))},[ue(e.$slots,"default",eo(ur(e.slotData)),()=>[R("span",null,ve(e.content),1)])],2)):G("v-if",!0)],6)],6)],2)):(w(),I("div",{key:1,class:S(e.ns.b("circle")),style:Oe({height:`${e.width}px`,width:`${e.width}px`})},[(w(),I("svg",Wj,[R("path",{class:S(e.ns.be("circle","track")),d:e.trackPath,stroke:"var(--el-fill-color-light, #e5e9f2)","stroke-width":e.relativeStrokeWidth,fill:"none",style:Oe(e.trailPathStyle)},null,14,Uj),R("path",{class:S(e.ns.be("circle","path")),d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0,style:Oe(e.circlePathStyle)},null,14,Yj)]))],6)),(e.showText||e.$slots.default)&&!e.textInside?(w(),I("div",{key:2,class:S(e.ns.e("text")),style:Oe({fontSize:`${e.progressTextSize}px`})},[ue(e.$slots,"default",eo(ur(e.slotData)),()=>[e.status?(w(),Q(i,{key:1},{default:K(()=>[(w(),Q(pt(e.statusIcon)))]),_:1})):(w(),I("span",Gj,ve(e.content),1))])],6)):G("v-if",!0)],10,Kj)}var Zj=_e(qj,[["render",Xj],["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const k_=rt(Zj),Jj=Le({modelValue:{type:Number,default:0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:Te([Array,Object]),default:()=>Ft(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:Te([Array,Object]),default:()=>[Tl,Tl,Tl]},voidIcon:{type:an,default:()=>X5},disabledVoidIcon:{type:an,default:()=>Tl},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},showText:{type:Boolean,default:!1},showScore:{type:Boolean,default:!1},textColor:{type:String,default:""},texts:{type:Te(Array),default:()=>Ft(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:{type:String,validator:Nn}}),Qj={change:e=>typeof e=="number",[tt]:e=>typeof e=="number"},eH=["aria-valuenow","aria-valuetext","aria-valuemax"],tH=["onMousemove","onClick"],nH={name:"ElRate"},oH=ee(ze(he({},nH),{props:Jj,emits:Qj,setup(e,{expose:t,emit:n}){const o=e;function r(F,V){const q=N=>ut(N),M=Object.keys(V).map(N=>+N).filter(N=>{const W=V[N];return(q(W)?W.excluded:!1)?FN-W),E=V[M[0]];return q(E)&&E.value||E}const a=Ie(Mn,void 0),i=Ut(),l=ke("rate"),s=A(o.modelValue),c=A(-1),d=A(!0),u=C(()=>[l.b(),l.m(i.value)]),p=C(()=>o.disabled||(a==null?void 0:a.disabled)),f=C(()=>({"--el-rate-void-color":o.voidColor,"--el-rate-disabled-void-color":o.disabledVoidColor,"--el-rate-fill-color":g.value})),h=C(()=>{let F="";return o.showScore?F=o.scoreTemplate.replace(/\{\s*value\s*\}/,p.value?`${o.modelValue}`:`${s.value}`):o.showText&&(F=o.texts[Math.ceil(s.value)-1]),F}),b=C(()=>o.modelValue*100-Math.floor(o.modelValue)*100),m=C(()=>Ye(o.colors)?{[o.lowThreshold]:o.colors[0],[o.highThreshold]:{value:o.colors[1],excluded:!0},[o.max]:o.colors[2]}:o.colors),g=C(()=>{const F=r(s.value,m.value);return ut(F)?"":F}),v=C(()=>{let F="";return p.value?F=`${b.value}%`:o.allowHalf&&(F="50%"),{color:g.value,width:F}}),y=C(()=>Ye(o.icons)?{[o.lowThreshold]:o.icons[0],[o.highThreshold]:{value:o.icons[1],excluded:!0},[o.max]:o.icons[2]}:o.icons),T=C(()=>r(o.modelValue,y.value)),x=C(()=>p.value?o.disabledVoidIcon:o.voidIcon),k=C(()=>r(s.value,y.value)),$=C(()=>{const F=Array.from({length:o.max}),V=s.value;return F.fill(k.value,0,V),F.fill(x.value,V,o.max),F});function z(F){const V=p.value&&b.value>0&&F-1o.modelValue,q=o.allowHalf&&d.value&&F-.5<=s.value&&F>s.value;return V||q}function P(F){p.value||(o.allowHalf&&d.value?(n(tt,s.value),o.modelValue!==s.value&&n("change",s.value)):(n(tt,F),o.modelValue!==F&&n("change",F)))}function O(F){if(p.value)return;let V=s.value;const q=F.code;return q===Pe.up||q===Pe.right?(o.allowHalf?V+=.5:V+=1,F.stopPropagation(),F.preventDefault()):(q===Pe.left||q===Pe.down)&&(o.allowHalf?V-=.5:V-=1,F.stopPropagation(),F.preventDefault()),V=V<0?0:V,V=V>o.max?o.max:V,n(tt,V),n("change",V),V}function D(F,V){if(!p.value){if(o.allowHalf){let q=V.target;oo(q,l.e("item"))&&(q=q.querySelector(`.${l.e("icon")}`)),(q.clientWidth===0||oo(q,l.e("decimal")))&&(q=q.parentNode),d.value=V.offsetX*2<=q.clientWidth,s.value=d.value?F-.5:F}else s.value=F;c.value=F}}function L(){p.value||(o.allowHalf&&(d.value=o.modelValue!==Math.floor(o.modelValue)),s.value=o.modelValue,c.value=-1)}return ge(()=>o.modelValue,F=>{s.value=F,d.value=o.modelValue!==Math.floor(o.modelValue)}),o.modelValue||n(tt,0),t({setCurrentValue:D,resetCurrentValue:L}),(F,V)=>(w(),I("div",{class:S([_(u),_(l).is("disabled",_(p))]),role:"slider","aria-valuenow":s.value,"aria-valuetext":_(h),"aria-valuemin":"0","aria-valuemax":F.max,tabindex:"0",style:Oe(_(f)),onKeydown:O},[(w(!0),I(Fe,null,st(F.max,(q,M)=>(w(),I("span",{key:M,class:S(_(l).e("item")),onMousemove:E=>D(q,E),onMouseleave:L,onClick:E=>P(q)},[U(_(qe),{class:S([_(l).e("icon"),{hover:c.value===q},_(l).is("active",q<=s.value)])},{default:K(()=>[z(q)?G("v-if",!0):(w(),Q(pt(_($)[q-1]),{key:0})),z(q)?(w(),Q(_(qe),{key:1,style:Oe(_(v)),class:S([_(l).e("icon"),_(l).e("decimal")])},{default:K(()=>[(w(),Q(pt(_(T))))]),_:1},8,["style","class"])):G("v-if",!0)]),_:2},1032,["class"])],42,tH))),128)),F.showText||F.showScore?(w(),I("span",{key:0,class:S(_(l).e("text"))},ve(_(h)),3)):G("v-if",!0)],46,eH))}}));var rH=_e(oH,[["__file","/home/runner/work/element-plus/element-plus/packages/components/rate/src/rate.vue"]]);const aH=rt(rH),ca={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},cg={[ca.success]:hA,[ca.warning]:ji,[ca.error]:ap,[ca.info]:ip},iH=Le({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{values:["success","warning","info","error"],default:"info"}}),dg="ElResult",lH=ee({name:dg,props:iH,setup(e,{slots:t}){const n=ke("result");il({scope:dg,type:"Slot",from:"subTitle",replacement:"sub-title",version:"2.1.3",ref:"https://github.com/element-plus/element-plus/pull/6636/"},C(()=>!!t.subTitle));const o=C(()=>{const r=e.icon,a=r&&ca[r]?ca[r]:"icon-info",i=cg[a]||cg["icon-info"];return{class:a,component:i}});return{ns:n,resultIcon:o}}});function sH(e,t,n,o,r,a){return w(),I("div",{class:S(e.ns.b())},[R("div",{class:S(e.ns.e("icon"))},[ue(e.$slots,"icon",{},()=>[e.resultIcon.component?(w(),Q(pt(e.resultIcon.component),{key:0,class:S(e.resultIcon.class)},null,8,["class"])):G("v-if",!0)])],2),e.title||e.$slots.title?(w(),I("div",{key:0,class:S(e.ns.e("title"))},[ue(e.$slots,"title",{},()=>[R("p",null,ve(e.title),1)])],2)):G("v-if",!0),e.subTitle||e.$slots["sub-title"]?(w(),I("div",{key:1,class:S(e.ns.e("subtitle"))},[ue(e.$slots,"sub-title",{},()=>[R("p",null,ve(e.subTitle),1)])],2)):G("v-if",!0),e.$slots.extra?(w(),I("div",{key:2,class:S(e.ns.e("extra"))},[ue(e.$slots,"extra")],2)):G("v-if",!0)],2)}var cH=_e(lH,[["render",sH],["__file","/home/runner/work/element-plus/element-plus/packages/components/result/src/result.vue"]]);const dH=rt(cH),uH=Le({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:["start","center","end","space-around","space-between","space-evenly"],default:"start"},align:{type:String,values:["top","middle","bottom"],default:"top"}}),pH=ee({name:"ElRow",props:uH,setup(e,{slots:t}){const n=ke("row"),o=C(()=>e.gutter);ot(hy,{gutter:o});const r=C(()=>{const a={marginLeft:"",marginRight:""};return e.gutter&&(a.marginLeft=`-${e.gutter/2}px`,a.marginRight=a.marginLeft),a});return()=>U(e.tag,{class:[n.b(),n.is(`justify-${e.justify}`,e.justify!=="start"),n.is(`align-${e.align}`,e.align!=="top")],style:r.value},{default:()=>{var a;return[(a=t.default)==null?void 0:a.call(t)]}})}}),fH=rt(pH);var ug=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function hH(e,t){return!!(e===t||ug(e)&&ug(t))}function mH(e,t){if(e.length!==t.length)return!1;for(var n=0;n{const t=nt().proxy.$props;return C(()=>{const n=(o,r,a)=>({});return t.perfMode?Qs(n):gH(n)})},vH=50,pg="item-rendered",fg="scroll",T_="forward",C_="backward",Yi="auto",S_="smart",$_="start",Is="center",A_="end",Ma="horizontal",Lp="vertical",yH="ltr",ts="rtl",E_="negative",_H="positive-ascending",z_="positive-descending",wH={[Ma]:"left",[Lp]:"top"},xH=20,kH={[Ma]:"deltaX",[Lp]:"deltaY"},TH=({atEndEdge:e,atStartEdge:t,layout:n},o)=>{let r,a=0;const i=s=>s<0&&t.value||s>0&&e.value;return{hasReachedEdge:i,onWheel:s=>{ay(r);const c=s[kH[n.value]];i(a)&&i(a+c)||(a+=c,sp()||s.preventDefault(),r=ry(()=>{o(a),a=0}))}}},nu=uo({type:Te([Number,Function]),required:!0}),ou=uo({type:Number}),ru=uo({type:Number,default:2}),CH=uo({type:String,values:["ltr","rtl"],default:"ltr"}),au=uo({type:Number,default:0}),Ns=uo({type:Number,required:!0}),I_=uo({type:String,values:["horizontal","vertical"],default:Lp}),N_=Le({className:{type:String,default:""},containerElement:{type:Te([String,Object]),default:"div"},data:{type:Te(Array),default:()=>Ft([])},direction:CH,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:Te([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),SH=Le(he({cache:ru,estimatedItemSize:ou,layout:I_,initScrollOffset:au,total:Ns,itemSize:nu},N_));Le(he({columnCache:ru,columnWidth:nu,estimatedColumnWidth:ou,estimatedRowHeight:ou,initScrollLeft:au,initScrollTop:au,rowCache:ru,rowHeight:nu,totalColumn:Ns,totalRow:Ns},N_));const $H=Le({layout:I_,total:Ns,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},visible:Boolean}),Zc=(e,t)=>ee===yH||e===ts||e===Ma;let oa=null;function hg(e=!1){if(oa===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const o=document.createElement("div"),r=o.style;return r.width="100px",r.height="100px",t.appendChild(o),document.body.appendChild(t),t.scrollLeft>0?oa=z_:(t.scrollLeft=1,t.scrollLeft===0?oa=E_:oa=_H),document.body.removeChild(t),oa}return oa}function AH({move:e,size:t,bar:n},o){const r={},a=`translate${n.axis}(${e}px)`;return r[n.size]=t,r.transform=a,r.msTransform=a,r.webkitTransform=a,o==="horizontal"?r.height="100%":r.width="100%",r}const EH=ee({name:"ElVirtualScrollBar",props:$H,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const o=A(),r=A();let a=null,i=null;const l=vt({isDragging:!1,traveled:0}),s=C(()=>Oy[e.layout]),c=C(()=>e.clientSize-4),d=C(()=>({position:"absolute",width:Ma===e.layout?`${c.value}px`:"6px",height:Ma===e.layout?"6px":`${c.value}px`,[wH[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),u=C(()=>{const x=e.ratio,k=e.clientSize;if(x>=100)return Number.POSITIVE_INFINITY;if(x>=50)return x*k/100;const $=k/3;return Math.floor(Math.min(Math.max(x*k,xH),$))}),p=C(()=>{if(!Number.isFinite(u.value))return{display:"none"};const x=`${u.value}px`;return AH({bar:s.value,size:x,move:l.traveled},e.layout)}),f=C(()=>Math.floor(e.clientSize-u.value-4)),h=()=>{At(window,"mousemove",v),At(window,"mouseup",g);const x=_(r);!x||(i=document.onselectstart,document.onselectstart=()=>!1,At(x,"touchmove",v),At(x,"touchend",g))},b=()=>{Bt(window,"mousemove",v),Bt(window,"mouseup",g),document.onselectstart=i,i=null;const x=_(r);!x||(Bt(x,"touchmove",v),Bt(x,"touchend",g))},m=x=>{x.stopImmediatePropagation(),!(x.ctrlKey||[1,2].includes(x.button))&&(l.isDragging=!0,l[s.value.axis]=x.currentTarget[s.value.offset]-(x[s.value.client]-x.currentTarget.getBoundingClientRect()[s.value.direction]),t("start-move"),h())},g=()=>{l.isDragging=!1,l[s.value.axis]=0,t("stop-move"),b()},v=x=>{const{isDragging:k}=l;if(!k||!r.value||!o.value)return;const $=l[s.value.axis];if(!$)return;ay(a);const z=(o.value.getBoundingClientRect()[s.value.direction]-x[s.value.client])*-1,P=r.value[s.value.offset]-$,O=z-P;a=ry(()=>{l.traveled=Math.max(0,Math.min(O,f.value)),t("scroll",O,f.value)})},y=x=>{const k=Math.abs(x.target.getBoundingClientRect()[s.value.direction]-x[s.value.client]),$=r.value[s.value.offset]/2,z=k-$;l.traveled=Math.max(0,Math.min(z,f.value)),t("scroll",z,f.value)},T=x=>x.preventDefault();return ge(()=>e.scrollFrom,x=>{l.isDragging||(l.traveled=Math.ceil(x*f.value))}),et(()=>{!dt||(At(o.value,"touchstart",T),At(r.value,"touchstart",m))}),$t(()=>{Bt(o.value,"touchstart",T),b()}),()=>Re("div",{role:"presentation",ref:o,class:"el-virtual-scrollbar",style:d.value,onMousedown:He(y,["stop","prevent"])},Re("div",{ref:r,class:"el-scrollbar__thumb",style:p.value,onMousedown:m},[]))}}),M_=({name:e,getOffset:t,getItemSize:n,getItemOffset:o,getEstimatedTotalSize:r,getStartIndexForOffset:a,getStopIndexForStartIndex:i,initCache:l,clearCache:s,validateProps:c})=>ee({name:e!=null?e:"ElVirtualList",props:SH,emits:[pg,fg],setup(d,{emit:u,expose:p}){c(d);const f=nt(),h=A(l(d,f)),b=bH(),m=A(),g=A(),v=A(),y=A({isScrolling:!1,scrollDir:"forward",scrollOffset:mt(d.initScrollOffset)?d.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:d.scrollbarAlwaysOn}),T=C(()=>{const{total:Z,cache:se}=d,{isScrolling:Se,scrollDir:oe,scrollOffset:H}=_(y);if(Z===0)return[0,0,0,0];const ne=a(d,H,_(h)),ie=i(d,ne,H,_(h)),be=!Se||oe===C_?Math.max(1,se):1,$e=!Se||oe===T_?Math.max(1,se):1;return[Math.max(0,ne-be),Math.max(0,Math.min(Z-1,ie+$e)),ne,ie]}),x=C(()=>r(d,_(h))),k=C(()=>Gi(d.layout)),$=C(()=>[{position:"relative",[`overflow-${k.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:d.direction,height:mt(d.height)?`${d.height}px`:d.height,width:mt(d.width)?`${d.width}px`:d.width},d.style]),z=C(()=>{const Z=_(x),se=_(k);return{height:se?"100%":`${Z}px`,pointerEvents:_(y).isScrolling?"none":void 0,width:se?`${Z}px`:"100%"}}),P=C(()=>k.value?d.width:d.height),{onWheel:O}=TH({atStartEdge:C(()=>y.value.scrollOffset<=0),atEndEdge:C(()=>y.value.scrollOffset>=x.value),layout:C(()=>d.layout)},Z=>{var se,Se;(Se=(se=v.value).onMouseUp)==null||Se.call(se),M(Math.min(y.value.scrollOffset+Z,x.value-P.value))}),D=()=>{const{total:Z}=d;if(Z>0){const[H,ne,ie,be]=_(T);u(pg,H,ne,ie,be)}const{scrollDir:se,scrollOffset:Se,updateRequested:oe}=_(y);u(fg,se,Se,oe)},L=Z=>{const{clientHeight:se,scrollHeight:Se,scrollTop:oe}=Z.currentTarget,H=_(y);if(H.scrollOffset===oe)return;const ne=Math.max(0,Math.min(oe,Se-se));y.value=ze(he({},H),{isScrolling:!0,scrollDir:Zc(H.scrollOffset,ne),scrollOffset:ne,updateRequested:!1}),je(W)},F=Z=>{const{clientWidth:se,scrollLeft:Se,scrollWidth:oe}=Z.currentTarget,H=_(y);if(H.scrollOffset===Se)return;const{direction:ne}=d;let ie=Se;if(ne===ts)switch(hg()){case E_:{ie=-Se;break}case z_:{ie=oe-se-Se;break}}ie=Math.max(0,Math.min(ie,oe-se)),y.value=ze(he({},H),{isScrolling:!0,scrollDir:Zc(H.scrollOffset,ie),scrollOffset:ie,updateRequested:!1}),je(W)},V=Z=>{_(k)?F(Z):L(Z),D()},q=(Z,se)=>{const Se=(x.value-P.value)/se*Z;M(Math.min(x.value-P.value,Se))},M=Z=>{Z=Math.max(Z,0),Z!==_(y).scrollOffset&&(y.value=ze(he({},_(y)),{scrollOffset:Z,scrollDir:Zc(_(y).scrollOffset,Z),updateRequested:!0}),je(W))},E=(Z,se=Yi)=>{const{scrollOffset:Se}=_(y);Z=Math.max(0,Math.min(Z,d.total-1)),M(t(d,Z,se,Se,_(h)))},N=Z=>{const{direction:se,itemSize:Se,layout:oe}=d,H=b.value(s&&Se,s&&oe,s&&se);let ne;if(it(H,String(Z)))ne=H[Z];else{const ie=o(d,Z,_(h)),be=n(d,Z,_(h)),$e=_(k),Ne=se===ts,Me=$e?ie:0;H[Z]=ne={position:"absolute",left:Ne?void 0:`${Me}px`,right:Ne?`${Me}px`:void 0,top:$e?0:`${ie}px`,height:$e?"100%":`${be}px`,width:$e?`${be}px`:"100%"}}return ne},W=()=>{y.value.isScrolling=!1,je(()=>{b.value(-1,null,null)})},Y=()=>{const Z=m.value;Z&&(Z.scrollTop=0)};et(()=>{if(!dt)return;const{initScrollOffset:Z}=d,se=_(m);mt(Z)&&se&&(_(k)?se.scrollLeft=Z:se.scrollTop=Z),D()}),Un(()=>{const{direction:Z,layout:se}=d,{scrollOffset:Se,updateRequested:oe}=_(y),H=_(m);if(oe&&H)if(se===Ma)if(Z===ts)switch(hg()){case"negative":{H.scrollLeft=-Se;break}case"positive-ascending":{H.scrollLeft=Se;break}default:{const{clientWidth:ne,scrollWidth:ie}=H;H.scrollLeft=ie-ne-Se;break}}else H.scrollLeft=Se;else H.scrollTop=Se});const J={clientSize:P,estimatedTotalSize:x,windowStyle:$,windowRef:m,innerRef:g,innerStyle:z,itemsToRender:T,scrollbarRef:v,states:y,getItemStyle:N,onScroll:V,onScrollbarScroll:q,onWheel:O,scrollTo:M,scrollToItem:E,resetScrollTop:Y};return p({windowRef:m,innerRef:g,getItemStyleCache:b,scrollTo:M,scrollToItem:E,resetScrollTop:Y,states:y}),J},render(d){var u;const{$slots:p,className:f,clientSize:h,containerElement:b,data:m,getItemStyle:g,innerElement:v,itemsToRender:y,innerStyle:T,layout:x,total:k,onScroll:$,onScrollbarScroll:z,onWheel:P,states:O,useIsScrolling:D,windowStyle:L}=d,[F,V]=y,q=pt(b),M=pt(v),E=[];if(k>0)for(let J=F;J<=V;J++)E.push((u=p.default)==null?void 0:u.call(p,{data:m,key:J,index:J,isScrolling:D?O.isScrolling:void 0,style:g(J)}));const N=[Re(M,{style:T,ref:"innerRef"},Qe(M)?E:{default:()=>E})],W=Re(EH,{ref:"scrollbarRef",clientSize:h,layout:x,onScroll:z,ratio:h*100/this.estimatedTotalSize,scrollFrom:O.scrollOffset/(this.estimatedTotalSize-h),total:k}),Y=Re(q,{class:["el-vl__window",f],style:L,onScroll:$,onWheel:P,ref:"windowRef",key:0},Qe(q)?[N]:{default:()=>[N]});return Re("div",{key:0,class:["el-vl__wrapper",O.scrollbarAlwaysOn?"always-on":""]},[Y,W])}}),R_=M_({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:o,width:r},a,i,l)=>{const s=Gi(o)?r:e,c=Math.max(0,t*n-s),d=Math.min(c,a*n),u=Math.max(0,(a+1)*n-s);switch(i===S_&&(l>=u-s&&l<=d+s?i=Yi:i=Is),i){case $_:return d;case A_:return u;case Is:{const p=Math.round(u+(d-u)/2);return pc+Math.floor(s/2)?c:p}case Yi:default:return l>=u&&l<=d?l:lMath.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:o,width:r},a,i)=>{const l=a*n,s=Gi(o)?r:e,c=Math.ceil((s+i-l)/n);return Math.max(0,Math.min(t-1,a+c-1))},initCache(){},clearCache:!0,validateProps(){}}),da=(e,t,n)=>{const{itemSize:o}=e,{items:r,lastVisitedIndex:a}=n;if(t>a){let i=0;if(a>=0){const l=r[a];i=l.offset+l.size}for(let l=a+1;l<=t;l++){const s=o(l);r[l]={offset:i,size:s},i+=s}n.lastVisitedIndex=t}return r[t]},zH=(e,t,n)=>{const{items:o,lastVisitedIndex:r}=t;return(r>0?o[r].offset:0)>=n?P_(e,t,0,r,n):IH(e,t,Math.max(0,r),n)},P_=(e,t,n,o,r)=>{for(;n<=o;){const a=n+Math.floor((o-n)/2),i=da(e,a,t).offset;if(i===r)return a;ir&&(o=a-1)}return Math.max(0,n-1)},IH=(e,t,n,o)=>{const{total:r}=e;let a=1;for(;n{let r=0;if(o>=e&&(o=e-1),o>=0){const l=t[o];r=l.offset+l.size}const i=(e-o-1)*n;return r+i},NH=M_({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>da(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:mg,getOffset:(e,t,n,o,r)=>{const{height:a,layout:i,width:l}=e,s=Gi(i)?l:a,c=da(e,t,r),d=mg(e,r),u=Math.max(0,Math.min(d-s,c.offset)),p=Math.max(0,c.offset-s+c.size);switch(n===S_&&(o>=p-s&&o<=u+s?n=Yi:n=Is),n){case $_:return u;case A_:return p;case Is:return Math.round(p+(u-p)/2);case Yi:default:return o>=p&&o<=u?o:ozH(e,n,t),getStopIndexForStartIndex:(e,t,n,o)=>{const{height:r,total:a,layout:i,width:l}=e,s=Gi(i)?l:r,c=da(e,t,o),d=n+s;let u=c.offset+c.size,p=t;for(;p{var a,i;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,o-1),(a=t.exposed)==null||a.getItemStyleCache(-1),r&&((i=t.proxy)==null||i.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{}}),MH=ee({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:ke("select")}}});function RH(e,t,n,o,r,a){return e.item.isTitle?(w(),I("div",{key:0,class:S(e.ns.be("group","title")),style:Oe([e.style,{lineHeight:`${e.height}px`}])},ve(e.item.label),7)):(w(),I("div",{key:1,class:S(e.ns.be("group","split")),style:Oe(e.style)},[R("span",{class:S(e.ns.be("group","split-dash")),style:Oe({top:`${e.height/2}px`})},null,6)],6))}var PH=_e(MH,[["render",RH],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/group-item.vue"]]);function OH(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const FH={allowCreate:Boolean,autocomplete:{type:String,default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:[String,Object],default:Oo},effect:{type:String,default:"light"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:170},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,label:String,modelValue:[Array,String,Number,Boolean,Object],multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:Array,required:!0},placeholder:{type:String},popperAppendToBody:{type:Boolean,default:void 0},teleported:tn.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,size:{type:String,validator:Nn},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:{type:Boolean,default:!1}},DH={data:Array,disabled:Boolean,hovering:Boolean,item:Object,index:Number,style:Object,selected:Boolean,created:Boolean},LH=ee({props:DH,emits:["select","hover"],setup(e,{emit:t}){const n=ke("select"),{hoverItem:o,selectOptionClick:r}=OH(e,{emit:t});return{ns:n,hoverItem:o,selectOptionClick:r}}}),VH=["aria-selected"];function BH(e,t,n,o,r,a){return w(),I("li",{"aria-selected":e.selected,style:Oe(e.style),class:S([e.ns.be("dropdown","option-item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),{hover:e.hovering}]),onMouseenter:t[0]||(t[0]=(...i)=>e.hoverItem&&e.hoverItem(...i)),onClick:t[1]||(t[1]=He((...i)=>e.selectOptionClick&&e.selectOptionClick(...i),["stop"]))},[ue(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[R("span",null,ve(e.item.label),1)])],46,VH)}var jH=_e(LH,[["render",BH],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/option-item.vue"]]);const O_="ElSelectV2Injection",HH=ee({name:"ElSelectDropdown",props:{data:Array,hoveringIndex:Number,width:Number},setup(e){const t=Ie(O_),n=ke("select"),o=A([]),r=A(null),a=C(()=>Cn(t.props.estimatedOptionHeight)),i=C(()=>a.value?{itemSize:t.props.itemHeight}:{estimatedSize:t.props.estimatedOptionHeight,itemSize:h=>o.value[h]}),l=(h=[],b)=>{const{props:{valueKey:m}}=t;return ut(b)?h&&h.some(g=>Pt(g,m)===Pt(b,m)):h.includes(b)},s=(h,b)=>{if(ut(b)){const{valueKey:m}=t.props;return Pt(h,m)===Pt(b,m)}else return h===b};return{ns:n,select:t,listProps:i,listRef:r,isSized:a,isItemDisabled:(h,b)=>{const{disabled:m,multiple:g,multipleLimit:v}=t.props;return m||!b&&(g?v>0&&h.length>=v:!1)},isItemHovering:h=>e.hoveringIndex===h,isItemSelected:(h,b)=>{const{valueKey:m}=t.props;return t.props.multiple?l(h,Pt(b,m)):s(h,Pt(b,m))},scrollToItem:h=>{const b=r.value;b&&b.scrollToItem(h)},resetScrollTop:()=>{const h=r.value;h&&h.resetScrollTop()}}},render(e,t){var n;const{$slots:o,data:r,listProps:a,select:i,isSized:l,width:s,ns:c,isItemDisabled:d,isItemHovering:u,isItemSelected:p}=e,f=l?R_:NH,{props:h,onSelect:b,onHover:m,onKeyboardNavigate:g,onKeyboardSelect:v}=i,{height:y,modelValue:T,multiple:x}=h;if(r.length===0)return Re("div",{class:c.b("dropdown"),style:{width:`${s}px`}},(n=o.empty)==null?void 0:n.call(o));const k=K(z=>{const{index:P,data:O}=z,D=O[P];if(O[P].type==="Group")return Re(PH,{item:D,style:z.style,height:l?a.itemSize:a.estimatedSize});const L=p(T,D),F=d(T,L);return Re(jH,ze(he({},z),{selected:L,disabled:D.disabled||F,created:!!D.created,hovering:u(P),item:D,onSelect:b,onHover:m}),{default:K(V=>ue(o,"default",V,()=>[Re("span",D.label)]))})}),$=Re(f,he({ref:"listRef",className:c.be("dropdown","list"),data:r,height:y,width:s,total:r.length,scrollbarAlwaysOn:h.scrollbarAlwaysOn,onKeydown:[t[1]||(t[1]=lt(He(()=>g("forward"),["stop","prevent"]),["down"])),t[2]||(t[2]=lt(He(()=>g("backward"),["stop","prevent"]),["up"])),t[3]||(t[3]=lt(He(v,["stop","prevent"]),["enter"])),t[4]||(t[4]=lt(He(()=>i.expanded=!1,["stop","prevent"]),["esc"])),t[5]||(t[5]=lt(()=>i.expanded=!1,["tab"]))]},a),{default:k});return Re("div",{class:[c.b("dropdown"),c.is("multiple",x)]},[$])}});var qH=_e(HH,[["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select-dropdown.vue"]]);function KH(e,t){const n=A(0),o=A(null),r=C(()=>e.allowCreate&&e.filterable);function a(d){const u=p=>p.value===d;return e.options&&e.options.some(u)||t.createdOptions.some(u)}function i(d){!r.value||(e.multiple&&d.created?n.value++:o.value=d)}function l(d){if(r.value)if(d&&d.length>0&&!a(d)){const u={value:d,label:d,created:!0,disabled:!1};t.createdOptions.length>=n.value?t.createdOptions[n.value]=u:t.createdOptions.push(u)}else if(e.multiple)t.createdOptions.length=n.value;else{const u=o.value;t.createdOptions.length=0,u&&u.created&&t.createdOptions.push(u)}}function s(d){if(!r.value||!d||!d.created||d.created&&e.reserveKeyword&&t.inputValue===d.label)return;const u=t.createdOptions.findIndex(p=>p.value===d.value);~u&&(t.createdOptions.splice(u,1),n.value--)}function c(){r.value&&(t.createdOptions.length=0,n.value=0)}return{createNewOption:l,removeNewOption:s,selectNewOption:i,clearAllNewOption:c}}const WH=e=>{const t=[];return e.forEach(n=>{Ye(n.options)?(t.push({label:n.label,isTitle:!0,type:"Group"}),n.options.forEach(o=>{t.push(o)}),t.push({type:"Group"})):t.push(n)}),t};function UH(e){const t=A(!1);return{handleCompositionStart:()=>{t.value=!0},handleCompositionUpdate:a=>{const i=a.target.value,l=i[i.length-1]||"";t.value=!ic(l)},handleCompositionEnd:a=>{t.value&&(t.value=!1,Je(e)&&e(a))}}}const gg="",bg=11,YH={larget:51,default:42,small:33},GH="ElSelectV2",XH=(e,t)=>{const{t:n}=Tt(),o=ke("select-v2"),r=ke("input"),{form:a,formItem:i}=Ka(),{compatTeleported:l}=Wa(GH,"popperAppendToBody"),s=vt({inputValue:gg,displayInputValue:gg,calculatedWidth:0,cachedPlaceholder:"",cachedOptions:[],createdOptions:[],createdLabel:"",createdSelected:!1,currentPlaceholder:"",hoveringIndex:-1,comboBoxHovering:!1,isOnComposition:!1,isSilentBlur:!1,isComposing:!1,inputLength:20,selectWidth:200,initialInputHeight:0,previousQuery:null,previousValue:"",query:"",selectedLabel:"",softFocus:!1,tagInMultiLine:!1}),c=A(-1),d=A(-1),u=A(null),p=A(null),f=A(null),h=A(null),b=A(null),m=A(null),g=A(null),v=A(!1),y=C(()=>e.disabled||(a==null?void 0:a.disabled)),T=C(()=>{const Ce=F.value.length*34;return Ce>e.height?e.height:Ce}),x=C(()=>e.modelValue!==void 0&&e.modelValue!==null&&e.modelValue!==""),k=C(()=>{const Ce=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:x.value;return e.clearable&&!y.value&&s.comboBoxHovering&&Ce}),$=C(()=>e.remote&&e.filterable?"":rl),z=C(()=>$.value&&o.is("reverse",v.value)),P=C(()=>(i==null?void 0:i.validateState)||""),O=C(()=>Qv[P.value]),D=C(()=>e.remote?300:0),L=C(()=>{const Ce=F.value;return e.loading?e.loadingText||n("el.select.loading"):e.remote&&s.inputValue===""&&Ce.length===0?!1:e.filterable&&s.inputValue&&Ce.length>0?e.noMatchText||n("el.select.noMatch"):Ce.length===0?e.noDataText||n("el.select.noData"):null}),F=C(()=>{const Ce=Ke=>{const bt=s.inputValue;return bt?Ke.label.includes(bt):!0};return e.loading?[]:WH(e.options.concat(s.createdOptions).map(Ke=>{if(Ye(Ke.options)){const bt=Ke.options.filter(Ce);if(bt.length>0)return ze(he({},Ke),{options:bt})}else if(e.remote||Ce(Ke))return Ke;return null}).filter(Ke=>Ke!==null))}),V=C(()=>F.value.every(Ce=>Ce.disabled)),q=Ut(),M=C(()=>q.value==="small"?"small":"default"),E=C(()=>{const Ce=m.value,Ke=M.value||"default",bt=Ce?Number.parseInt(getComputedStyle(Ce).paddingLeft):0,zt=Ce?Number.parseInt(getComputedStyle(Ce).paddingRight):0;return s.selectWidth-zt-bt-YH[Ke]}),N=()=>{var Ce,Ke,bt;d.value=((bt=(Ke=(Ce=b.value)==null?void 0:Ce.getBoundingClientRect)==null?void 0:Ke.call(Ce))==null?void 0:bt.width)||200},W=C(()=>({width:`${s.calculatedWidth===0?bg:Math.ceil(s.calculatedWidth)+bg}px`})),Y=C(()=>Ye(e.modelValue)?e.modelValue.length===0&&!s.displayInputValue:e.filterable?s.displayInputValue.length===0:!0),J=C(()=>{const Ce=e.placeholder||n("el.select.placeholder");return e.multiple?Ce:s.selectedLabel||Ce}),Z=C(()=>{var Ce,Ke;return(Ke=(Ce=h.value)==null?void 0:Ce.popperRef)==null?void 0:Ke.contentRef}),se=C(()=>{if(e.multiple){const Ce=e.modelValue.length;if(e.modelValue.length>0)return F.value.findIndex(Ke=>Ke.value===e.modelValue[Ce-1])}else if(e.modelValue)return F.value.findIndex(Ce=>Ce.value===e.modelValue);return-1}),Se=C(()=>v.value&&L.value!==!1),{createNewOption:oe,removeNewOption:H,selectNewOption:ne,clearAllNewOption:ie}=KH(e,s),{handleCompositionStart:be,handleCompositionUpdate:$e,handleCompositionEnd:Ne}=UH(Ce=>Rn(Ce)),Me=()=>{var Ce,Ke,bt;(Ke=(Ce=p.value).focus)==null||Ke.call(Ce),(bt=h.value)==null||bt.updatePopper()},j=()=>{if(!e.automaticDropdown&&!y.value)return s.isComposing&&(s.softFocus=!0),je(()=>{var Ce,Ke;v.value=!v.value,(Ke=(Ce=p.value)==null?void 0:Ce.focus)==null||Ke.call(Ce)})},X=()=>(e.filterable&&s.inputValue!==s.selectedLabel&&(s.query=s.selectedLabel),xe(s.inputValue),je(()=>{oe(s.inputValue)})),de=bn(X,D.value),xe=Ce=>{s.previousQuery!==Ce&&(s.previousQuery=Ce,e.filterable&&Je(e.filterMethod)?e.filterMethod(Ce):e.filterable&&e.remote&&Je(e.remoteMethod)&&e.remoteMethod(Ce))},we=Ce=>{En(e.modelValue,Ce)||t(Xt,Ce)},Ae=Ce=>{t(tt,Ce),we(Ce),s.previousValue=Ce.toString()},ce=(Ce=[],Ke)=>{if(!ut(Ke))return Ce.indexOf(Ke);const bt=e.valueKey;let zt=-1;return Ce.some((ko,fo)=>Pt(ko,bt)===Pt(Ke,bt)?(zt=fo,!0):!1),zt},ae=Ce=>ut(Ce)?Pt(Ce,e.valueKey):Ce,te=Ce=>ut(Ce)?Ce.label:Ce,pe=()=>{if(!(e.collapseTags&&!e.filterable))return je(()=>{var Ce,Ke;if(!p.value)return;const bt=m.value;b.value.height=bt.offsetHeight,v.value&&L.value!==!1&&((Ke=(Ce=h.value)==null?void 0:Ce.updatePopper)==null||Ke.call(Ce))})},De=()=>{var Ce,Ke;if(B(),N(),(Ke=(Ce=h.value)==null?void 0:Ce.updatePopper)==null||Ke.call(Ce),e.multiple)return pe()},B=()=>{const Ce=m.value;Ce&&(s.selectWidth=Ce.getBoundingClientRect().width)},me=(Ce,Ke,bt=!0)=>{var zt,ko;if(e.multiple){let fo=e.modelValue.slice();const ul=ce(fo,ae(Ce));ul>-1?(fo=[...fo.slice(0,ul),...fo.slice(ul+1)],s.cachedOptions.splice(ul,1),H(Ce)):(e.multipleLimit<=0||fo.length{const{valueKey:bt}=e,zt=e.modelValue.indexOf(Pt(Ke,bt));if(zt>-1&&!y.value){const ko=[...e.modelValue.slice(0,zt),...e.modelValue.slice(zt+1)];return s.cachedOptions.splice(zt,1),Ae(ko),t("remove-tag",Pt(Ke,bt)),s.softFocus=!0,H(Ke),je(Me)}Ce.stopPropagation()},Ze=Ce=>{const Ke=s.isComposing;s.isComposing=!0,s.softFocus?s.softFocus=!1:Ke||t("focus",Ce)},Ve=()=>(s.softFocus=!1,je(()=>{var Ce,Ke;(Ke=(Ce=p.value)==null?void 0:Ce.blur)==null||Ke.call(Ce),g.value&&(s.calculatedWidth=g.value.getBoundingClientRect().width),s.isSilentBlur?s.isSilentBlur=!1:s.isComposing&&t("blur"),s.isComposing=!1})),re=()=>{s.displayInputValue.length>0?Ee(""):v.value=!1},ye=Ce=>{if(s.displayInputValue.length===0){Ce.preventDefault();const Ke=e.modelValue.slice();Ke.pop(),H(s.cachedOptions.pop()),Ae(Ke)}},fe=()=>{let Ce;return Ye(e.modelValue)?Ce=[]:Ce="",s.softFocus=!0,e.multiple?s.cachedOptions=[]:s.selectedLabel="",v.value=!1,Ae(Ce),t("clear"),ie(),je(Me)},Ee=Ce=>{s.displayInputValue=Ce,s.inputValue=Ce},We=(Ce,Ke=void 0)=>{const bt=F.value;if(!["forward","backward"].includes(Ce)||y.value||bt.length<=0||V.value)return;if(!v.value)return j();Ke===void 0&&(Ke=s.hoveringIndex);let zt=-1;Ce==="forward"?(zt=Ke+1,zt>=bt.length&&(zt=0)):Ce==="backward"&&(zt=Ke-1,zt<0&&(zt=bt.length-1));const ko=bt[zt];if(ko.disabled||ko.type==="Group")return We(Ce,zt);Ct(zt),gr(zt)},gt=()=>{if(v.value)~s.hoveringIndex&&F.value[s.hoveringIndex]&&me(F.value[s.hoveringIndex],s.hoveringIndex,!1);else return j()},Ct=Ce=>{s.hoveringIndex=Ce},_t=()=>{s.hoveringIndex=-1},Et=()=>{var Ce;const Ke=p.value;Ke&&((Ce=Ke.focus)==null||Ce.call(Ke))},Rn=Ce=>{const Ke=Ce.target.value;if(Ee(Ke),s.displayInputValue.length>0&&!v.value&&(v.value=!0),s.calculatedWidth=g.value.getBoundingClientRect().width,e.multiple&&pe(),e.remote)de();else return X()},un=()=>(v.value=!1,Ve()),yn=()=>(s.inputValue=s.displayInputValue,je(()=>{~se.value&&(Ct(se.value),gr(s.hoveringIndex))})),gr=Ce=>{f.value.scrollToItem(Ce)},Ga=()=>{if(_t(),e.multiple)if(e.modelValue.length>0){let Ce=!1;s.cachedOptions.length=0,s.previousValue=e.modelValue.toString(),e.modelValue.forEach(Ke=>{const bt=F.value.findIndex(zt=>ae(zt)===Ke);~bt&&(s.cachedOptions.push(F.value[bt]),Ce||Ct(bt),Ce=!0)})}else s.cachedOptions=[],s.previousValue="";else if(x.value){s.previousValue=e.modelValue;const Ce=F.value,Ke=Ce.findIndex(bt=>ae(bt)===ae(e.modelValue));~Ke?(s.selectedLabel=Ce[Ke].label,Ct(Ke)):s.selectedLabel=`${e.modelValue}`}else s.selectedLabel="",s.previousValue="";N()};return ge(v,Ce=>{var Ke,bt;t("visible-change",Ce),Ce?(bt=(Ke=h.value).update)==null||bt.call(Ke):(s.displayInputValue="",oe(""))}),ge(()=>e.modelValue,(Ce,Ke)=>{var bt;(!Ce||Ce.toString()!==s.previousValue)&&Ga(),En(Ce,Ke)||(bt=i==null?void 0:i.validate)==null||bt.call(i,"change").catch(zt=>void 0)},{deep:!0}),ge(()=>e.options,()=>{const Ce=p.value;(!Ce||Ce&&document.activeElement!==Ce)&&Ga()},{deep:!0}),ge(F,()=>je(f.value.resetScrollTop)),et(()=>{Ga(),ja(b.value,De)}),Ji(()=>{Ha(b.value,De)}),{collapseTagSize:M,currentPlaceholder:J,expanded:v,emptyText:L,popupHeight:T,debounce:D,filteredOptions:F,iconComponent:$,iconReverse:z,inputWrapperStyle:W,popperSize:d,dropdownMenuVisible:Se,hasModelValue:x,shouldShowPlaceholder:Y,selectDisabled:y,selectSize:q,showClearBtn:k,states:s,tagMaxWidth:E,nsSelectV2:o,nsInput:r,calculatorRef:g,controlRef:u,inputRef:p,menuRef:f,popper:h,selectRef:b,selectionRef:m,popperRef:Z,validateState:P,validateIcon:O,compatTeleported:l,debouncedOnInputChange:de,deleteTag:Be,getLabel:te,getValueKey:ae,handleBlur:Ve,handleClear:fe,handleClickOutside:un,handleDel:ye,handleEsc:re,handleFocus:Ze,handleMenuEnter:yn,handleResize:De,toggleMenu:j,scrollTo:gr,onInput:Rn,onKeyboardNavigate:We,onKeyboardSelect:gt,onSelect:me,onHover:Ct,onUpdateInputValue:Ee,handleCompositionStart:be,handleCompositionEnd:Ne,handleCompositionUpdate:$e}},ZH=ee({name:"ElSelectV2",components:{ElSelectMenu:qH,ElTag:hc,ElTooltip:vn,ElIcon:qe},directives:{ClickOutside:Jr,ModelText:Pu},props:FH,emits:[tt,Xt,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const n=XH(e,t);return ot(O_,{props:vt(ze(he({},Gt(e)),{height:n.popupHeight})),onSelect:n.onSelect,onHover:n.onHover,onKeyboardNavigate:n.onKeyboardNavigate,onKeyboardSelect:n.onKeyboardSelect}),n}}),JH={key:0},QH=["id","autocomplete","aria-expanded","aria-labelledby","disabled","readonly","name","unselectable"],eq=["textContent"],tq=["id","aria-labelledby","aria-expanded","autocomplete","disabled","name","readonly","unselectable"],nq=["textContent"];function oq(e,t,n,o,r,a){const i=le("el-tag"),l=le("el-tooltip"),s=le("el-icon"),c=le("el-select-menu"),d=In("model-text"),u=In("click-outside");return Ue((w(),I("div",{ref:"selectRef",class:S([e.nsSelectV2.b(),e.nsSelectV2.m(e.selectSize)]),onClick:t[24]||(t[24]=He((...p)=>e.toggleMenu&&e.toggleMenu(...p),["stop"])),onMouseenter:t[25]||(t[25]=p=>e.states.comboBoxHovering=!0),onMouseleave:t[26]||(t[26]=p=>e.states.comboBoxHovering=!1)},[U(l,{ref:"popper",visible:e.dropdownMenuVisible,"onUpdate:visible":t[22]||(t[22]=p=>e.dropdownMenuVisible=p),teleported:e.compatTeleported,"popper-class":[e.nsSelectV2.e("popper"),e.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:e.effect,placement:"bottom-start",pure:"",transition:`${e.nsSelectV2.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,onBeforeShow:e.handleMenuEnter,onHide:t[23]||(t[23]=p=>e.states.inputValue=e.states.displayInputValue)},{default:K(()=>{var p;return[R("div",{ref:"selectionRef",class:S([e.nsSelectV2.e("wrapper"),e.nsSelectV2.is("focused",e.states.isComposing),e.nsSelectV2.is("hovering",e.states.comboBoxHovering),e.nsSelectV2.is("filterable",e.filterable),e.nsSelectV2.is("disabled",e.selectDisabled)])},[e.$slots.prefix?(w(),I("div",JH,[ue(e.$slots,"prefix")])):G("v-if",!0),e.multiple?(w(),I("div",{key:1,class:S(e.nsSelectV2.e("selection"))},[e.collapseTags&&e.modelValue.length>0?(w(),I("div",{key:0,class:S(e.nsSelectV2.e("selected-item"))},[U(i,{closable:!e.selectDisabled&&!((p=e.states.cachedOptions[0])!=null&&p.disable),size:e.collapseTagSize,type:"info","disable-transitions":"",onClose:t[0]||(t[0]=f=>e.deleteTag(f,e.states.cachedOptions[0]))},{default:K(()=>{var f;return[R("span",{class:S(e.nsSelectV2.e("tags-text")),style:Oe({maxWidth:`${e.tagMaxWidth}px`})},ve((f=e.states.cachedOptions[0])==null?void 0:f.label),7)]}),_:1},8,["closable","size"]),e.modelValue.length>1?(w(),Q(i,{key:0,closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""},{default:K(()=>[e.collapseTagsTooltip?(w(),Q(l,{key:0,disabled:e.dropdownMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:!1},{default:K(()=>[R("span",{class:S(e.nsSelectV2.e("tags-text")),style:Oe({maxWidth:`${e.tagMaxWidth}px`})},"+ "+ve(e.modelValue.length-1),7)]),content:K(()=>[R("div",{class:S(e.nsSelectV2.e("selection"))},[(w(!0),I(Fe,null,st(e.states.cachedOptions,(f,h)=>(w(),I("div",{key:h,class:S(e.nsSelectV2.e("selected-item"))},[(w(),Q(i,{key:e.getValueKey(f),closable:!e.selectDisabled&&!f.disabled,size:e.collapseTagSize,class:"in-tooltip",type:"info","disable-transitions":"",onClose:b=>e.deleteTag(b,f)},{default:K(()=>[R("span",{class:S(e.nsSelectV2.e("tags-text")),style:Oe({maxWidth:`${e.tagMaxWidth}px`})},ve(e.getLabel(f)),7)]),_:2},1032,["closable","size","onClose"]))],2))),128))],2)]),_:1},8,["disabled","effect"])):(w(),I("span",{key:1,class:S(e.nsSelectV2.e("tags-text")),style:Oe({maxWidth:`${e.tagMaxWidth}px`})},"+ "+ve(e.modelValue.length-1),7))]),_:1},8,["size"])):G("v-if",!0)],2)):(w(!0),I(Fe,{key:1},st(e.states.cachedOptions,(f,h)=>(w(),I("div",{key:h,class:S(e.nsSelectV2.e("selected-item"))},[(w(),Q(i,{key:e.getValueKey(f),closable:!e.selectDisabled&&!f.disabled,size:e.collapseTagSize,type:"info","disable-transitions":"",onClose:b=>e.deleteTag(b,f)},{default:K(()=>[R("span",{class:S(e.nsSelectV2.e("tags-text")),style:Oe({maxWidth:`${e.tagMaxWidth}px`})},ve(e.getLabel(f)),7)]),_:2},1032,["closable","size","onClose"]))],2))),128)),R("div",{class:S([e.nsSelectV2.e("selected-item"),e.nsSelectV2.e("input-wrapper")]),style:Oe(e.inputWrapperStyle)},[Ue(R("input",{id:e.id,ref:"inputRef",autocomplete:e.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-labelledby":e.label,class:S([e.nsSelectV2.is(e.selectSize),e.nsSelectV2.e("combobox-input")]),disabled:e.disabled,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,unselectable:e.expanded?"on":void 0,"onUpdate:modelValue":t[1]||(t[1]=(...f)=>e.onUpdateInputValue&&e.onUpdateInputValue(...f)),onFocus:t[2]||(t[2]=(...f)=>e.handleFocus&&e.handleFocus(...f)),onInput:t[3]||(t[3]=(...f)=>e.onInput&&e.onInput(...f)),onCompositionstart:t[4]||(t[4]=(...f)=>e.handleCompositionStart&&e.handleCompositionStart(...f)),onCompositionupdate:t[5]||(t[5]=(...f)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...f)),onCompositionend:t[6]||(t[6]=(...f)=>e.handleCompositionEnd&&e.handleCompositionEnd(...f)),onKeydown:[t[7]||(t[7]=lt(He(f=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[8]||(t[8]=lt(He(f=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[9]||(t[9]=lt(He((...f)=>e.onKeyboardSelect&&e.onKeyboardSelect(...f),["stop","prevent"]),["enter"])),t[10]||(t[10]=lt(He((...f)=>e.handleEsc&&e.handleEsc(...f),["stop","prevent"]),["esc"])),t[11]||(t[11]=lt(He((...f)=>e.handleDel&&e.handleDel(...f),["stop"]),["delete"]))]},null,42,QH),[[d,e.states.displayInputValue]]),e.filterable?(w(),I("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:S(e.nsSelectV2.e("input-calculator")),textContent:ve(e.states.displayInputValue)},null,10,eq)):G("v-if",!0)],6)],2)):(w(),I(Fe,{key:2},[R("div",{class:S([e.nsSelectV2.e("selected-item"),e.nsSelectV2.e("input-wrapper")])},[Ue(R("input",{id:e.id,ref:"inputRef","aria-autocomplete":"list","aria-haspopup":"listbox","aria-labelledby":e.label,"aria-expanded":e.expanded,autocapitalize:"off",autocomplete:e.autocomplete,class:S(e.nsSelectV2.e("combobox-input")),disabled:e.disabled,name:e.name,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",unselectable:e.expanded?"on":void 0,onCompositionstart:t[12]||(t[12]=(...f)=>e.handleCompositionStart&&e.handleCompositionStart(...f)),onCompositionupdate:t[13]||(t[13]=(...f)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...f)),onCompositionend:t[14]||(t[14]=(...f)=>e.handleCompositionEnd&&e.handleCompositionEnd(...f)),onFocus:t[15]||(t[15]=(...f)=>e.handleFocus&&e.handleFocus(...f)),onInput:t[16]||(t[16]=(...f)=>e.onInput&&e.onInput(...f)),onKeydown:[t[17]||(t[17]=lt(He(f=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[18]||(t[18]=lt(He(f=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[19]||(t[19]=lt(He((...f)=>e.onKeyboardSelect&&e.onKeyboardSelect(...f),["stop","prevent"]),["enter"])),t[20]||(t[20]=lt(He((...f)=>e.handleEsc&&e.handleEsc(...f),["stop","prevent"]),["esc"]))],"onUpdate:modelValue":t[21]||(t[21]=(...f)=>e.onUpdateInputValue&&e.onUpdateInputValue(...f))},null,42,tq),[[d,e.states.displayInputValue]])],2),e.filterable?(w(),I("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:S([e.nsSelectV2.e("selected-item"),e.nsSelectV2.e("input-calculator")]),textContent:ve(e.states.displayInputValue)},null,10,nq)):G("v-if",!0)],64)),e.shouldShowPlaceholder?(w(),I("span",{key:3,class:S([e.nsSelectV2.e("placeholder"),e.nsSelectV2.is("transparent",e.states.isComposing||(e.placeholder&&e.multiple?e.modelValue.length===0:!e.hasModelValue))])},ve(e.currentPlaceholder),3)):G("v-if",!0),R("span",{class:S(e.nsSelectV2.e("suffix"))},[e.iconComponent?Ue((w(),Q(s,{key:0,class:S([e.nsSelectV2.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])),[[ft,!e.showClearBtn]]):G("v-if",!0),e.showClearBtn&&e.clearIcon?(w(),Q(s,{key:1,class:S([e.nsSelectV2.e("caret"),e.nsInput.e("icon")]),onClick:He(e.handleClear,["prevent","stop"])},{default:K(()=>[(w(),Q(pt(e.clearIcon)))]),_:1},8,["class","onClick"])):G("v-if",!0),e.validateState&&e.validateIcon?(w(),Q(s,{key:2,class:S([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:K(()=>[(w(),Q(pt(e.validateIcon)))]),_:1},8,["class"])):G("v-if",!0)],2)],2)]}),content:K(()=>[U(c,{ref:"menuRef",data:e.filteredOptions,width:e.popperSize,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn},{default:K(p=>[ue(e.$slots,"default",eo(ur(p)))]),empty:K(()=>[ue(e.$slots,"empty",{},()=>[R("p",{class:S(e.nsSelectV2.e("empty"))},ve(e.emptyText?e.emptyText:""),3)])]),_:3},8,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","effect","transition","persistent","onBeforeShow"])],34)),[[u,e.handleClickOutside,e.popperRef]])}var ns=_e(ZH,[["render",oq],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select.vue"]]);ns.install=e=>{e.component(ns.name,ns)};const rq=ns,aq=rq,iq=Le({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),lq=Le({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),sq={name:"ElSkeletonItem"},cq=ee(ze(he({},sq),{props:lq,setup(e){const t=ke("skeleton");return(n,o)=>(w(),I("div",{class:S([_(t).e("item"),_(t).e(n.variant)])},[n.variant==="image"?(w(),Q(_(r5),{key:0})):G("v-if",!0)],2))}}));var Ms=_e(cq,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const dq={name:"ElSkeleton"},uq=ee(ze(he({},dq),{props:iq,setup(e,{expose:t}){const n=e,o=ke("skeleton"),r=Wz(Yt(n,"loading"),n.throttle);return t({uiLoading:r}),(a,i)=>_(r)?(w(),I("div",St({key:0,class:[_(o).b(),_(o).is("animated",a.animated)]},a.$attrs),[(w(!0),I(Fe,null,st(a.count,l=>(w(),I(Fe,{key:l},[a.loading?ue(a.$slots,"template",{key:l},()=>[U(Ms,{class:S(_(o).is("first")),variant:"p"},null,8,["class"]),(w(!0),I(Fe,null,st(a.rows,s=>(w(),Q(Ms,{key:s,class:S([_(o).e("paragraph"),_(o).is("last",s===a.rows&&a.rows>1)]),variant:"p"},null,8,["class"]))),128))]):G("v-if",!0)],64))),128))],16)):ue(a.$slots,"default",eo(St({key:1},a.$attrs)))}}));var pq=_e(uq,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const fq=rt(pq,{SkeletonItem:Ms}),hq=Dt(Ms),mq=(e,t,n)=>{const o=A(null),r=A(!1),a=C(()=>t.value instanceof Function),i=C(()=>a.value&&t.value(e.modelValue)||e.modelValue),l=bn(()=>{n.value&&(r.value=!0)},50),s=bn(()=>{n.value&&(r.value=!1)},50);return{tooltip:o,tooltipVisible:r,formatValue:i,displayTooltip:l,hideTooltip:s}},gq=(e,t,n)=>{const{disabled:o,min:r,max:a,step:i,showTooltip:l,precision:s,sliderSize:c,formatTooltip:d,emitChange:u,resetSize:p,updateDragging:f}=Ie("SliderProvider"),{tooltip:h,tooltipVisible:b,formatValue:m,displayTooltip:g,hideTooltip:v}=mq(e,d,l),y=C(()=>`${(e.modelValue-r.value)/(a.value-r.value)*100}%`),T=C(()=>e.vertical?{bottom:y.value}:{left:y.value}),x=()=>{t.hovering=!0,g()},k=()=>{t.hovering=!1,t.dragging||v()},$=q=>{o.value||(q.preventDefault(),D(q),At(window,"mousemove",L),At(window,"touchmove",L),At(window,"mouseup",F),At(window,"touchend",F),At(window,"contextmenu",F))},z=()=>{o.value||(t.newPosition=Number.parseFloat(y.value)-i.value/(a.value-r.value)*100,V(t.newPosition),u())},P=()=>{o.value||(t.newPosition=Number.parseFloat(y.value)+i.value/(a.value-r.value)*100,V(t.newPosition),u())},O=q=>{let M,E;return q.type.startsWith("touch")?(E=q.touches[0].clientY,M=q.touches[0].clientX):(E=q.clientY,M=q.clientX),{clientX:M,clientY:E}},D=q=>{t.dragging=!0,t.isClick=!0;const{clientX:M,clientY:E}=O(q);e.vertical?t.startY=E:t.startX=M,t.startPosition=Number.parseFloat(y.value),t.newPosition=t.startPosition},L=q=>{if(t.dragging){t.isClick=!1,g(),p();let M;const{clientX:E,clientY:N}=O(q);e.vertical?(t.currentY=N,M=(t.startY-t.currentY)/c.value*100):(t.currentX=E,M=(t.currentX-t.startX)/c.value*100),t.newPosition=t.startPosition+M,V(t.newPosition)}},F=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||v(),t.isClick||(V(t.newPosition),u())},0),Bt(window,"mousemove",L),Bt(window,"touchmove",L),Bt(window,"mouseup",F),Bt(window,"touchend",F),Bt(window,"contextmenu",F))},V=async q=>{if(q===null||Number.isNaN(+q))return;q<0?q=0:q>100&&(q=100);const M=100/((a.value-r.value)/i.value);let N=Math.round(q/M)*M*(a.value-r.value)*.01+r.value;N=Number.parseFloat(N.toFixed(s.value)),n(tt,N),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await je(),t.dragging&&g(),h.value.updatePopper()};return ge(()=>t.dragging,q=>{f(q)}),{tooltip:h,tooltipVisible:b,showTooltip:l,wrapperStyle:T,formatValue:m,handleMouseEnter:x,handleMouseLeave:k,onButtonDown:$,onLeftKeyDown:z,onRightKeyDown:P,setPosition:V}},bq=ee({name:"ElSliderButton",components:{ElTooltip:vn},props:{modelValue:{type:Number,default:0},vertical:{type:Boolean,default:!1},tooltipClass:{type:String,default:""}},emits:[tt],setup(e,{emit:t}){const n=ke("slider"),o=vt({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:e.modelValue}),{tooltip:r,showTooltip:a,tooltipVisible:i,wrapperStyle:l,formatValue:s,handleMouseEnter:c,handleMouseLeave:d,onButtonDown:u,onLeftKeyDown:p,onRightKeyDown:f,setPosition:h}=gq(e,o,t),{hovering:b,dragging:m}=Gt(o);return{ns:n,tooltip:r,tooltipVisible:i,showTooltip:a,wrapperStyle:l,formatValue:s,handleMouseEnter:c,handleMouseLeave:d,onButtonDown:u,onLeftKeyDown:p,onRightKeyDown:f,setPosition:h,hovering:b,dragging:m}}});function vq(e,t,n,o,r,a){const i=le("el-tooltip");return w(),I("div",{ref:"button",class:S([e.ns.e("button-wrapper"),{hover:e.hovering,dragging:e.dragging}]),style:Oe(e.wrapperStyle),tabindex:"0",onMouseenter:t[1]||(t[1]=(...l)=>e.handleMouseEnter&&e.handleMouseEnter(...l)),onMouseleave:t[2]||(t[2]=(...l)=>e.handleMouseLeave&&e.handleMouseLeave(...l)),onMousedown:t[3]||(t[3]=(...l)=>e.onButtonDown&&e.onButtonDown(...l)),onTouchstart:t[4]||(t[4]=(...l)=>e.onButtonDown&&e.onButtonDown(...l)),onFocus:t[5]||(t[5]=(...l)=>e.handleMouseEnter&&e.handleMouseEnter(...l)),onBlur:t[6]||(t[6]=(...l)=>e.handleMouseLeave&&e.handleMouseLeave(...l)),onKeydown:[t[7]||(t[7]=lt((...l)=>e.onLeftKeyDown&&e.onLeftKeyDown(...l),["left"])),t[8]||(t[8]=lt((...l)=>e.onRightKeyDown&&e.onRightKeyDown(...l),["right"])),t[9]||(t[9]=lt(He((...l)=>e.onLeftKeyDown&&e.onLeftKeyDown(...l),["prevent"]),["down"])),t[10]||(t[10]=lt(He((...l)=>e.onRightKeyDown&&e.onRightKeyDown(...l),["prevent"]),["up"]))]},[U(i,{ref:"tooltip",visible:e.tooltipVisible,"onUpdate:visible":t[0]||(t[0]=l=>e.tooltipVisible=l),placement:"top","stop-popper-mouse-event":!1,"popper-class":e.tooltipClass,disabled:!e.showTooltip,persistent:""},{content:K(()=>[R("span",null,ve(e.formatValue),1)]),default:K(()=>[R("div",{class:S([e.ns.e("button"),{hover:e.hovering,dragging:e.dragging}])},null,2)]),_:1},8,["visible","popper-class","disabled"])],38)}var yq=_e(bq,[["render",vq],["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const _q=ee({name:"ElMarker",props:{mark:{type:[String,Object],default:()=>{}}},setup(e){const t=ke("slider"),n=C(()=>typeof e.mark=="string"?e.mark:e.mark.label);return{ns:t,label:n}},render(){var e;return Re("div",{class:this.ns.e("marks-text"),style:(e=this.mark)==null?void 0:e.style},this.label)}});var wq=_e(_q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/marker.vue"]]);const xq=e=>C(()=>e.marks?Object.keys(e.marks).map(parseFloat).sort((n,o)=>n-o).filter(n=>n<=e.max&&n>=e.min).map(n=>({point:n,position:(n-e.min)*100/(e.max-e.min),mark:e.marks[n]})):[]),kq=(e,t,n)=>{const o=Ie(Mn,{}),r=Ie(qn,{}),a=Kt(null),i=A(null),l=A(null),s={firstButton:i,secondButton:l},c=C(()=>e.disabled||o.disabled||!1),d=C(()=>Math.min(t.firstValue,t.secondValue)),u=C(()=>Math.max(t.firstValue,t.secondValue)),p=C(()=>e.range?`${100*(u.value-d.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),f=C(()=>e.range?`${100*(d.value-e.min)/(e.max-e.min)}%`:"0%"),h=C(()=>e.vertical?{height:e.height}:{}),b=C(()=>e.vertical?{height:p.value,bottom:f.value}:{width:p.value,left:f.value}),m=()=>{a.value&&(t.sliderSize=a.value[`client${e.vertical?"Height":"Width"}`])},g=$=>{const z=e.min+$*(e.max-e.min)/100;if(!e.range){i.value.setPosition($);return}let P;Math.abs(d.value-z)t.secondValue?"firstButton":"secondButton",s[P].value.setPosition($)},v=$=>{t.firstValue=$,T(e.range?[d.value,u.value]:$)},y=$=>{t.secondValue=$,e.range&&T([d.value,u.value])},T=$=>{n(tt,$),n(pr,$)},x=async()=>{await je(),n(Xt,e.range?[d.value,u.value]:e.modelValue)};return{elFormItem:r,slider:a,firstButton:i,secondButton:l,sliderDisabled:c,minValue:d,maxValue:u,runwayStyle:h,barStyle:b,resetSize:m,setPosition:g,emitChange:x,onSliderClick:$=>{if(!(c.value||t.dragging)){if(m(),e.vertical){const z=a.value.getBoundingClientRect().bottom;g((z-$.clientY)/t.sliderSize*100)}else{const z=a.value.getBoundingClientRect().left;g(($.clientX-z)/t.sliderSize*100)}x()}},setFirstValue:v,setSecondValue:y}},Tq=(e,t,n,o)=>({stops:C(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const i=(e.max-e.min)/e.step,l=100*e.step/(e.max-e.min),s=Array.from({length:i-1}).map((c,d)=>(d+1)*l);return e.range?s.filter(c=>c<100*(n.value-e.min)/(e.max-e.min)||c>100*(o.value-e.min)/(e.max-e.min)):s.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:i=>e.vertical?{bottom:`${i}%`}:{left:`${i}%`}}),Cq=ee({name:"ElSlider",components:{ElInputNumber:m_,SliderButton:yq,SliderMarker:wq},props:{modelValue:{type:[Number,Array],default:0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:{type:Boolean,default:!1},showInputControls:{type:Boolean,default:!0},size:{type:String,validator:Nn},inputSize:{type:String,validator:Nn},showStops:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!0},formatTooltip:{type:Function,default:void 0},disabled:{type:Boolean,default:!1},range:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},height:{type:String,default:""},debounce:{type:Number,default:300},label:{type:String,default:void 0},tooltipClass:{type:String,default:void 0},marks:Object},emits:[tt,Xt,pr],setup(e,{emit:t}){const n=ke("slider"),o=vt({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:r,slider:a,firstButton:i,secondButton:l,sliderDisabled:s,minValue:c,maxValue:d,runwayStyle:u,barStyle:p,resetSize:f,emitChange:h,onSliderClick:b,setFirstValue:m,setSecondValue:g}=kq(e,o,t),{stops:v,getStopStyle:y}=Tq(e,o,c,d),T=Ut(),x=C(()=>e.inputSize||T.value),k=C(()=>[n.b(),n.m(T.value),n.is("vertical",e.vertical),{[n.m("with-input")]:e.showInput}]),$=xq(e);Sq(e,o,c,d,t,r);const z=C(()=>{const M=[e.min,e.max,e.step].map(E=>{const N=`${E}`.split(".")[1];return N?N.length:0});return Math.max.apply(null,M)}),{sliderWrapper:P}=$q(e,o,f),{firstValue:O,secondValue:D,oldValue:L,dragging:F,sliderSize:V}=Gt(o),q=M=>{o.dragging=M};return ot("SliderProvider",ze(he({},Gt(e)),{sliderSize:V,disabled:s,precision:z,emitChange:h,resetSize:f,updateDragging:q})),{ns:n,firstValue:O,secondValue:D,oldValue:L,dragging:F,sliderSize:V,slider:a,firstButton:i,secondButton:l,sliderDisabled:s,runwayStyle:u,barStyle:p,emitChange:h,onSliderClick:b,getStopStyle:y,setFirstValue:m,setSecondValue:g,stops:v,markList:$,sliderWrapper:P,sliderWrapperSize:T,sliderInputSize:x,sliderKls:k}}}),Sq=(e,t,n,o,r,a)=>{const i=c=>{r(tt,c),r(pr,c)},l=()=>e.range?![n.value,o.value].every((c,d)=>c===t.oldValue[d]):e.modelValue!==t.oldValue,s=()=>{var c,d;if(e.min>e.max){Wt("Slider","min should not be greater than max.");return}const u=e.modelValue;e.range&&Array.isArray(u)?u[1]e.max?i([e.max,e.max]):u[0]e.max?i([u[0],e.max]):(t.firstValue=u[0],t.secondValue=u[1],l()&&((c=a.validate)==null||c.call(a,"change").catch(p=>void 0),t.oldValue=u.slice())):!e.range&&typeof u=="number"&&!Number.isNaN(u)&&(ue.max?i(e.max):(t.firstValue=u,l()&&((d=a.validate)==null||d.call(a,"change").catch(p=>void 0),t.oldValue=u)))};s(),ge(()=>t.dragging,c=>{c||s()}),ge(()=>e.modelValue,(c,d)=>{t.dragging||Array.isArray(c)&&Array.isArray(d)&&c.every((u,p)=>u===d[p])&&t.firstValue===c[0]&&t.secondValue===c[1]||s()},{deep:!0}),ge(()=>[e.min,e.max],()=>{s()})},$q=(e,t,n)=>{const o=A(null);return et(async()=>{let r;e.range?(Array.isArray(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue],r=`${t.firstValue}-${t.secondValue}`):(typeof e.modelValue!="number"||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue,r=t.firstValue),o.value.setAttribute("aria-valuetext",r),o.value.setAttribute("aria-label",e.label?e.label:`slider between ${e.min} and ${e.max}`),At(window,"resize",n),await je(),n()}),$t(()=>{Bt(window,"resize",n)}),{sliderWrapper:o}},Aq=["aria-valuemin","aria-valuemax","aria-orientation","aria-disabled"],Eq={key:1};function zq(e,t,n,o,r,a){const i=le("slider-button"),l=le("slider-marker"),s=le("el-input-number");return w(),I("div",{ref:"sliderWrapper",class:S(e.sliderKls),role:"slider","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":e.sliderDisabled},[R("div",{ref:"slider",class:S([e.ns.e("runway"),{"show-input":e.showInput&&!e.range},e.ns.is("disabled",e.sliderDisabled)]),style:Oe(e.runwayStyle),onClick:t[0]||(t[0]=(...c)=>e.onSliderClick&&e.onSliderClick(...c))},[R("div",{class:S(e.ns.e("bar")),style:Oe(e.barStyle)},null,6),U(i,{ref:"firstButton","model-value":e.firstValue,vertical:e.vertical,"tooltip-class":e.tooltipClass,"onUpdate:modelValue":e.setFirstValue},null,8,["model-value","vertical","tooltip-class","onUpdate:modelValue"]),e.range?(w(),Q(i,{key:0,ref:"secondButton","model-value":e.secondValue,vertical:e.vertical,"tooltip-class":e.tooltipClass,"onUpdate:modelValue":e.setSecondValue},null,8,["model-value","vertical","tooltip-class","onUpdate:modelValue"])):G("v-if",!0),e.showStops?(w(),I("div",Eq,[(w(!0),I(Fe,null,st(e.stops,(c,d)=>(w(),I("div",{key:d,class:S(e.ns.e("stop")),style:Oe(e.getStopStyle(c))},null,6))),128))])):G("v-if",!0),e.markList.length>0?(w(),I(Fe,{key:2},[R("div",null,[(w(!0),I(Fe,null,st(e.markList,(c,d)=>(w(),I("div",{key:d,style:Oe(e.getStopStyle(c.position)),class:S([e.ns.e("stop"),e.ns.e("marks-stop")])},null,6))),128))]),R("div",{class:S(e.ns.e("marks"))},[(w(!0),I(Fe,null,st(e.markList,(c,d)=>(w(),Q(l,{key:d,mark:c.mark,style:Oe(e.getStopStyle(c.position))},null,8,["mark","style"]))),128))],2)],64)):G("v-if",!0)],6),e.showInput&&!e.range?(w(),Q(s,{key:0,ref:"input","model-value":e.firstValue,class:S(e.ns.e("input")),step:e.step,disabled:e.sliderDisabled,controls:e.showInputControls,min:e.min,max:e.max,debounce:e.debounce,size:e.sliderInputSize,"onUpdate:modelValue":e.setFirstValue,onChange:e.emitChange},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):G("v-if",!0)],10,Aq)}var os=_e(Cq,[["render",zq],["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/index.vue"]]);os.install=e=>{e.component(os.name,os)};const Iq=os,Nq=Iq,Mq=Le({prefixCls:{type:String,default:""}}),Rq=ee({props:Mq,setup(e){const t=ke("space");return{classes:C(()=>`${e.prefixCls||t.b()}__item`)}}});function Pq(e,t,n,o,r,a){return w(),I("div",{class:S(e.classes)},[ue(e.$slots,"default")],2)}var vg=_e(Rq,[["render",Pq],["__file","/home/runner/work/element-plus/element-plus/packages/components/space/src/item.vue"]]);const yg={small:8,default:12,large:16};function Oq(e){const t=ke("space"),n=C(()=>[t.b(),t.m(e.direction),e.class]),o=A(0),r=A(0),a=C(()=>{const l=e.wrap||e.fill?{flexWrap:"wrap",marginBottom:`-${r.value}px`}:{},s={alignItems:e.alignment};return[l,s,e.style]}),i=C(()=>{const l={paddingBottom:`${r.value}px`,marginRight:`${o.value}px`},s=e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{};return[l,s]});return Dn(()=>{const{size:l="small",wrap:s,direction:c,fill:d}=e;if(Array.isArray(l)){const[u=0,p=0]=l;o.value=u,r.value=p}else{let u;mt(l)?u=l:u=yg[l]||yg.small,(s||d)&&c==="horizontal"?o.value=r.value=u:c==="horizontal"?(o.value=u,r.value=0):(r.value=u,o.value=0)}}),{classes:n,containerStyle:a,itemStyle:i}}const Fq=Le({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:Te([String,Object,Array]),default:""},style:{type:Te([String,Array,Object]),default:""},alignment:{type:Te(String),default:"center"},prefixCls:{type:String},spacer:{type:Te([Object,String,Number,Array]),default:null,validator:e=>jt(e)||mt(e)||Qe(e)},wrap:{type:Boolean,default:!1},fill:{type:Boolean,default:!1},fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:wo,validator:e=>mt(e)||Ye(e)&&e.length===2&&e.every(t=>mt(t))}});var Dq=ee({name:"ElSpace",props:Fq,setup(e,{slots:t}){const{classes:n,containerStyle:o,itemStyle:r}=Oq(e);return()=>{var a;const{spacer:i,prefixCls:l,direction:s}=e,c=ue(t,"default",{key:0},()=>[]);if(((a=c.children)!=null?a:[]).length===0)return null;if(Ye(c.children)){let d=[];if(c.children.forEach((u,p)=>{oy(u)?Ye(u.children)&&u.children.forEach((f,h)=>{d.push(U(vg,{style:r.value,prefixCls:l,key:`nested-${h}`},{default:()=>[f]},On.PROPS|On.STYLE,["style","prefixCls"]))}):Ez(u)&&d.push(U(vg,{style:r.value,prefixCls:l,key:`LoopKey${p}`},{default:()=>[u]},On.PROPS|On.STYLE,["style","prefixCls"]))}),i){const u=d.length-1;d=d.reduce((p,f,h)=>{const b=[...p,f];return h!==u&&b.push(U("span",{style:[r.value,s==="vertical"?"width: 100%":null],key:h},[jt(i)?i:ct(i,On.TEXT)],On.STYLE)),b},[])}return U("div",{class:n.value,style:o.value},d,On.STYLE|On.CLASS)}return c.children}}});const Lq=rt(Dq),Vq=ee({name:"ElSteps",props:{space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},alignCenter:{type:Boolean,default:!1},simple:{type:Boolean,default:!1},finishStatus:{type:String,default:"finish",validator:e=>["wait","process","finish","error","success"].includes(e)},processStatus:{type:String,default:"process",validator:e=>["wait","process","finish","error","success"].includes(e)}},emits:[Xt],setup(e,{emit:t}){const n=ke("steps"),o=A([]);return ge(o,()=>{o.value.forEach((r,a)=>{r.setIndex(a)})}),ot("ElSteps",{props:e,steps:o}),ge(()=>e.active,(r,a)=>{t(Xt,r,a)}),{steps:o,ns:n}}});function Bq(e,t,n,o,r,a){return w(),I("div",{class:S([e.ns.b(),e.ns.m(e.simple?"simple":e.direction)])},[ue(e.$slots,"default")],2)}var jq=_e(Vq,[["render",Bq],["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/index.vue"]]);const Hq=ee({name:"ElStep",components:{ElIcon:qe,Close:Hn,Check:Ca},props:{title:{type:String,default:""},icon:{type:[String,Object],default:""},description:{type:String,default:""},status:{type:String,default:"",validator:e=>["","wait","process","finish","error","success"].includes(e)}},setup(e){const t=ke("step"),n=A(-1),o=A({}),r=A(""),a=Ie("ElSteps"),i=nt();et(()=>{ge([()=>a.props.active,()=>a.props.processStatus,()=>a.props.finishStatus],([T])=>{v(T)},{immediate:!0})}),$t(()=>{a.steps.value=a.steps.value.filter(T=>T.uid!==i.uid)});const l=C(()=>e.status||r.value),s=C(()=>{const T=a.steps.value[n.value-1];return T?T.currentStatus:"wait"}),c=C(()=>a.props.alignCenter),d=C(()=>a.props.direction==="vertical"),u=C(()=>a.props.simple),p=C(()=>a.steps.value.length),f=C(()=>{var T;return((T=a.steps.value[p.value-1])==null?void 0:T.uid)===i.uid}),h=C(()=>u.value?"":a.props.space),b=C(()=>{const T={flexBasis:typeof h.value=="number"?`${h.value}px`:h.value?h.value:`${100/(p.value-(c.value?0:1))}%`};return d.value||f.value&&(T.maxWidth=`${100/p.value}%`),T}),m=T=>{n.value=T},g=T=>{let x=100;const k={};k.transitionDelay=`${150*n.value}ms`,T===a.props.processStatus?x=0:T==="wait"&&(x=0,k.transitionDelay=`${-150*n.value}ms`),k.borderWidth=x&&!u.value?"1px":0,k[a.props.direction==="vertical"?"height":"width"]=`${x}%`,o.value=k},v=T=>{T>n.value?r.value=a.props.finishStatus:T===n.value&&s.value!=="error"?r.value=a.props.processStatus:r.value="wait";const x=a.steps.value[p.value-1];x&&x.calcProgress(r.value)},y=vt({uid:C(()=>i.uid),currentStatus:l,setIndex:m,calcProgress:g});return a.steps.value=[...a.steps.value,y],{ns:t,index:n,lineStyle:o,currentStatus:l,isCenter:c,isVertical:d,isSimple:u,isLast:f,space:h,style:b,parent:a,setIndex:m,calcProgress:g,updateStatus:v}}});function qq(e,t,n,o,r,a){const i=le("el-icon"),l=le("check"),s=le("close");return w(),I("div",{style:Oe(e.style),class:S([e.ns.b(),e.ns.is(e.isSimple?"simple":e.parent.props.direction),e.ns.is("flex",e.isLast&&!e.space&&!e.isCenter),e.ns.is("center",e.isCenter&&!e.isVertical&&!e.isSimple)])},[G(" icon & line "),R("div",{class:S([e.ns.e("head"),e.ns.is(e.currentStatus)])},[e.isSimple?G("v-if",!0):(w(),I("div",{key:0,class:S(e.ns.e("line"))},[R("i",{class:S(e.ns.e("line-inner")),style:Oe(e.lineStyle)},null,6)],2)),R("div",{class:S([e.ns.e("icon"),e.ns.is(e.icon?"icon":"text")])},[e.currentStatus!=="success"&&e.currentStatus!=="error"?ue(e.$slots,"icon",{key:0},()=>[e.icon?(w(),Q(i,{key:0,class:S(e.ns.e("icon-inner"))},{default:K(()=>[(w(),Q(pt(e.icon)))]),_:1},8,["class"])):G("v-if",!0),!e.icon&&!e.isSimple?(w(),I("div",{key:1,class:S(e.ns.e("icon-inner"))},ve(e.index+1),3)):G("v-if",!0)]):(w(),Q(i,{key:1,class:S([e.ns.e("icon-inner"),e.ns.is("status")])},{default:K(()=>[e.currentStatus==="success"?(w(),Q(l,{key:0})):(w(),Q(s,{key:1}))]),_:1},8,["class"]))],2)],2),G(" title & description "),R("div",{class:S(e.ns.e("main"))},[R("div",{class:S([e.ns.e("title"),e.ns.is(e.currentStatus)])},[ue(e.$slots,"title",{},()=>[ct(ve(e.title),1)])],2),e.isSimple?(w(),I("div",{key:0,class:S(e.ns.e("arrow"))},null,2)):(w(),I("div",{key:1,class:S([e.ns.e("description"),e.ns.is(e.currentStatus)])},[ue(e.$slots,"description",{},()=>[ct(ve(e.description),1)])],2))],2)],6)}var F_=_e(Hq,[["render",qq],["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);const Kq=rt(jq,{Step:F_}),Wq=Dt(F_),Uq=Le({modelValue:{type:[Boolean,String,Number],default:!1},value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:Number,default:40},inlinePrompt:{type:Boolean,default:!1},activeIcon:{type:an,default:""},inactiveIcon:{type:an,default:""},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String,loading:{type:Boolean,default:!1},beforeChange:{type:Te(Function)},size:{type:String,validator:Nn}}),Yq={[tt]:e=>on(e)||Qe(e)||mt(e),[Xt]:e=>on(e)||Qe(e)||mt(e),[pr]:e=>on(e)||Qe(e)||mt(e)},_g="ElSwitch",Gq=ee({name:_g,components:{ElIcon:qe,Loading:hr},props:Uq,emits:Yq,setup(e,{emit:t}){const{formItem:n}=Ka(),o=Zr(C(()=>e.loading)),r=ke("switch"),a=Ut(),i=A(e.modelValue!==!1),l=A(),s=A(),c=C(()=>[r.b(),r.m(a.value),r.is("disabled",o.value),r.is("checked",u.value)]);ge(()=>e.modelValue,()=>{i.value=!0}),ge(()=>e.value,()=>{i.value=!1});const d=C(()=>i.value?e.modelValue:e.value),u=C(()=>d.value===e.activeValue);[e.activeValue,e.inactiveValue].includes(d.value)||(t(tt,e.inactiveValue),t(Xt,e.inactiveValue),t(pr,e.inactiveValue)),ge(u,()=>{var m;l.value.checked=u.value,(e.activeColor||e.inactiveColor)&&h(),e.validateEvent&&((m=n==null?void 0:n.validate)==null||m.call(n,"change").catch(g=>void 0))});const p=()=>{const m=u.value?e.inactiveValue:e.activeValue;t(tt,m),t(Xt,m),t(pr,m),je(()=>{l.value.checked=u.value})},f=()=>{if(o.value)return;const{beforeChange:m}=e;if(!m){p();return}const g=m();[Vr(g),on(g)].some(y=>y)||Wt(_g,"beforeChange must return type `Promise` or `boolean`"),Vr(g)?g.then(y=>{y&&p()}).catch(y=>{}):g&&p()},h=()=>{const m=u.value?e.activeColor:e.inactiveColor,g=s.value;e.borderColor?g.style.borderColor=e.borderColor:e.borderColor||(g.style.borderColor=m),g.style.backgroundColor=m,g.children[0].style.color=m},b=()=>{var m,g;(g=(m=l.value)==null?void 0:m.focus)==null||g.call(m)};return et(()=>{(e.activeColor||e.inactiveColor||e.borderColor)&&h(),l.value.checked=u.value}),{ns:r,input:l,core:s,switchDisabled:o,checked:u,switchKls:c,handleChange:p,switchValue:f,focus:b}}}),Xq=["aria-checked","aria-disabled"],Zq=["id","name","true-value","false-value","disabled"],Jq=["aria-hidden"],Qq=["aria-hidden"],eK=["aria-hidden"],tK=["aria-hidden"];function nK(e,t,n,o,r,a){const i=le("el-icon"),l=le("loading");return w(),I("div",{class:S(e.switchKls),role:"switch","aria-checked":e.checked,"aria-disabled":e.switchDisabled,onClick:t[2]||(t[2]=He((...s)=>e.switchValue&&e.switchValue(...s),["prevent"]))},[R("input",{id:e.id,ref:"input",class:S(e.ns.e("input")),type:"checkbox",name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:e.switchDisabled,onChange:t[0]||(t[0]=(...s)=>e.handleChange&&e.handleChange(...s)),onKeydown:t[1]||(t[1]=lt((...s)=>e.switchValue&&e.switchValue(...s),["enter"]))},null,42,Zq),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText)?(w(),I("span",{key:0,class:S([e.ns.e("label"),e.ns.em("label","left"),e.ns.is("active",!e.checked)])},[e.inactiveIcon?(w(),Q(i,{key:0},{default:K(()=>[(w(),Q(pt(e.inactiveIcon)))]),_:1})):G("v-if",!0),!e.inactiveIcon&&e.inactiveText?(w(),I("span",{key:1,"aria-hidden":e.checked},ve(e.inactiveText),9,Jq)):G("v-if",!0)],2)):G("v-if",!0),R("span",{ref:"core",class:S(e.ns.e("core")),style:Oe({width:(e.width||40)+"px"})},[e.inlinePrompt?(w(),I("div",{key:0,class:S(e.ns.e("inner"))},[e.activeIcon||e.inactiveIcon?(w(),I(Fe,{key:0},[e.activeIcon?(w(),Q(i,{key:0,class:S([e.ns.is("icon"),e.checked?e.ns.is("show"):e.ns.is("hide")])},{default:K(()=>[(w(),Q(pt(e.activeIcon)))]),_:1},8,["class"])):G("v-if",!0),e.inactiveIcon?(w(),Q(i,{key:1,class:S([e.ns.is("icon"),e.checked?e.ns.is("hide"):e.ns.is("show")])},{default:K(()=>[(w(),Q(pt(e.inactiveIcon)))]),_:1},8,["class"])):G("v-if",!0)],64)):e.activeText||e.inactiveIcon?(w(),I(Fe,{key:1},[e.activeText?(w(),I("span",{key:0,class:S([e.ns.is("text"),e.checked?e.ns.is("show"):e.ns.is("hide")]),"aria-hidden":!e.checked},ve(e.activeText.substring(0,3)),11,Qq)):G("v-if",!0),e.inactiveText?(w(),I("span",{key:1,class:S([e.ns.is("text"),e.checked?e.ns.is("hide"):e.ns.is("show")]),"aria-hidden":e.checked},ve(e.inactiveText.substring(0,3)),11,eK)):G("v-if",!0)],64)):G("v-if",!0)],2)):G("v-if",!0),R("div",{class:S(e.ns.e("action"))},[e.loading?(w(),Q(i,{key:0,class:S(e.ns.is("loading"))},{default:K(()=>[U(l)]),_:1},8,["class"])):G("v-if",!0)],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText)?(w(),I("span",{key:1,class:S([e.ns.e("label"),e.ns.em("label","right"),e.ns.is("active",e.checked)])},[e.activeIcon?(w(),Q(i,{key:0},{default:K(()=>[(w(),Q(pt(e.activeIcon)))]),_:1})):G("v-if",!0),!e.activeIcon&&e.activeText?(w(),I("span",{key:1,"aria-hidden":!e.checked},ve(e.activeText),9,tK)):G("v-if",!0)],2)):G("v-if",!0)],10,Xq)}var oK=_e(Gq,[["render",nK],["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const rK=rt(oK);/*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed - */var uK=/["'&<>]/,pK=fK;function fK(e){var t=""+e,n=uK.exec(t);if(!n)return t;var o,r="",a=0,i=0;for(a=n.index;atypeof c=="string"?Pt(l,c):c(l,s,e))):(t!=="$key"&&xg(l)&&"$value"in l&&(l=l.$value),[xg(l)?Pt(l,t):l])},i=function(l,s){if(o)return o(l.value,s.value);for(let c=0,d=l.key.length;cs.key[c])return 1}return 0};return e.map((l,s)=>({value:l,index:s,key:a?a(l,s):null})).sort((l,s)=>{let c=i(l,s);return c||(c=l.index-s.index),c*+n}).map(l=>l.value)},D_=function(e,t){let n=null;return e.columns.forEach(o=>{o.id===t&&(n=o)}),n},mK=function(e,t){let n=null;for(let o=0;o{if(!e)throw new Error("Row is required when get row identity");if(typeof t=="string"){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let o=e;for(const r of n)o=o[r];return`${o}`}else if(typeof t=="function")return t.call(null,e)},Nr=function(e,t){const n={};return(e||[]).forEach((o,r)=>{n[nn(o,t)]={row:o,index:r}}),n};function gK(e,t){const n={};let o;for(o in e)n[o]=e[o];for(o in t)if(lt(t,o)){const r=t[o];typeof r!="undefined"&&(n[o]=r)}return n}function Bp(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function L_(e){return e===""||e!==void 0&&(e=Bp(e),Number.isNaN(e)&&(e=80)),e}function lu(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function bK(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...o)=>t(n(...o)))}function rs(e,t,n){let o=!1;const r=e.indexOf(t),a=r!==-1,i=()=>{e.push(t),o=!0},l=()=>{e.splice(r,1),o=!0};return typeof n=="boolean"?n&&!a?i():!n&&a&&l():a?l():i(),o}function vK(e,t,n="children",o="hasChildren"){const r=i=>!(Array.isArray(i)&&i.length);function a(i,l,s){t(i,l,s),l.forEach(c=>{if(c[o]){t(c,null,s+1);return}const d=c[n];r(d)||a(c,d,s+1)})}e.forEach(i=>{if(i[o]){t(i,null,0);return}const l=i[n];r(l)||a(i,l,0)})}let Rs;function yK(e,t,n,o){const{nextZIndex:r}=jo();function a(){const u=o==="light",p=document.createElement("div");return p.className=`el-popper ${u?"is-light":"is-dark"}`,t=pK(t),p.innerHTML=t,p.style.zIndex=String(r()),document.body.appendChild(p),p}function i(){const u=document.createElement("div");return u.className="el-popper__arrow",u}function l(){s&&s.update()}Rs=function u(){try{s&&s.destroy(),c&&document.body.removeChild(c),Bt(e,"mouseenter",l),Bt(e,"mouseleave",u)}catch{}};let s=null;const c=a(),d=i();return c.appendChild(d),s=Uy(e,c,he({modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"arrow",options:{element:d,padding:10}}]},n)),At(e,"mouseenter",l),At(e,"mouseleave",Rs),s}const V_=(e,t,n,o)=>{let r=0,a=e;if(o){if(o[e].colSpan>1)return{};for(let s=0;s=l.value.length-n.states.rightFixedLeafColumnsLength.value&&(i="right");break;default:a=l.value.length-n.states.rightFixedLeafColumnsLength.value&&(i="right")}return i?{direction:i,start:r,after:a}:{}},jp=(e,t,n,o,r)=>{const a=[],{direction:i,start:l}=V_(t,n,o,r);if(i){const s=i==="left";a.push(`${e}-fixed-column--${i}`),s&&l===o.states.fixedLeafColumnsLength.value-1?a.push("is-last-column"):!s&&l===o.states.columns.value.length-o.states.rightFixedLeafColumnsLength.value&&a.push("is-first-column")}return a};function Tg(e,t){return e+(t.realWidth===null||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const Hp=(e,t,n,o)=>{const{direction:r,start:a=0}=V_(e,t,n,o);if(!r)return;const i={},l=r==="left",s=n.states.columns.value;return l?i.left=s.slice(0,e).reduce(Tg,0):i.right=s.slice(a+1).reverse().reduce(Tg,0),i},Ra=(e,t)=>{!e||Number.isNaN(e[t])||(e[t]=`${e[t]}px`)};function _K(e){const t=nt(),n=A(!1),o=A([]);return{updateExpandRows:()=>{const s=e.data.value||[],c=e.rowKey.value;if(n.value)o.value=s.slice();else if(c){const d=Nr(o.value,c);o.value=s.reduce((u,p)=>{const f=nn(p,c);return d[f]&&u.push(p),u},[])}else o.value=[]},toggleRowExpansion:(s,c)=>{rs(o.value,s,c)&&t.emit("expand-change",s,o.value.slice())},setExpandRowKeys:s=>{t.store.assertRowKey();const c=e.data.value||[],d=e.rowKey.value,u=Nr(c,d);o.value=s.reduce((p,f)=>{const h=u[f];return h&&p.push(h.row),p},[])},isRowExpanded:s=>{const c=e.rowKey.value;return c?!!Nr(o.value,c)[nn(s,c)]:o.value.includes(s)},states:{expandRows:o,defaultExpandAll:n}}}function wK(e){const t=nt(),n=A(null),o=A(null),r=c=>{t.store.assertRowKey(),n.value=c,i(c)},a=()=>{n.value=null},i=c=>{const{data:d,rowKey:u}=e;let p=null;u.value&&(p=(_(d)||[]).find(f=>nn(f,u.value)===c)),o.value=p,t.emit("current-change",o.value,null)};return{setCurrentRowKey:r,restoreCurrentRowKey:a,setCurrentRowByKey:i,updateCurrentRow:c=>{const d=o.value;if(c&&c!==d){o.value=c,t.emit("current-change",o.value,d);return}!c&&d&&(o.value=null,t.emit("current-change",null,d))},updateCurrentRowData:()=>{const c=e.rowKey.value,d=e.data.value||[],u=o.value;if(!d.includes(u)&&u){if(c){const p=nn(u,c);i(p)}else o.value=null;o.value===null&&t.emit("current-change",null,u)}else n.value&&(i(n.value),a())},states:{_currentRowKey:n,currentRow:o}}}function xK(e){const t=A([]),n=A({}),o=A(16),r=A(!1),a=A({}),i=A("hasChildren"),l=A("children"),s=nt(),c=C(()=>{if(!e.rowKey.value)return{};const g=e.data.value||[];return u(g)}),d=C(()=>{const g=e.rowKey.value,v=Object.keys(a.value),y={};return v.length&&v.forEach(T=>{if(a.value[T].length){const x={children:[]};a.value[T].forEach(k=>{const $=nn(k,g);x.children.push($),k[i.value]&&!y[$]&&(y[$]={children:[]})}),y[T]=x}}),y}),u=g=>{const v=e.rowKey.value,y={};return vK(g,(T,x,k)=>{const $=nn(T,v);Array.isArray(x)?y[$]={children:x.map(z=>nn(z,v)),level:k}:r.value&&(y[$]={children:[],lazy:!0,level:k})},l.value,i.value),y},p=(g=!1,v=(y=>(y=s.store)==null?void 0:y.states.defaultExpandAll.value)())=>{var y;const T=c.value,x=d.value,k=Object.keys(T),$={};if(k.length){const z=_(n),P=[],O=(L,F)=>{if(g)return t.value?v||t.value.includes(F):!!(v||(L==null?void 0:L.expanded));{const V=v||t.value&&t.value.includes(F);return!!((L==null?void 0:L.expanded)||V)}};k.forEach(L=>{const F=z[L],V=he({},T[L]);if(V.expanded=O(F,L),V.lazy){const{loaded:q=!1,loading:R=!1}=F||{};V.loaded=!!q,V.loading=!!R,P.push(L)}$[L]=V});const D=Object.keys(x);r.value&&D.length&&P.length&&D.forEach(L=>{const F=z[L],V=x[L].children;if(P.includes(L)){if($[L].children.length!==0)throw new Error("[ElTable]children must be an empty array.");$[L].children=V}else{const{loaded:q=!1,loading:R=!1}=F||{};$[L]={lazy:!0,loaded:!!q,loading:!!R,expanded:O(F,L),children:V,level:""}}})}n.value=$,(y=s.store)==null||y.updateTableScrollY()};ge(()=>t.value,()=>{p(!0)}),ge(()=>c.value,()=>{p()}),ge(()=>d.value,()=>{p()});const f=g=>{t.value=g,p()},h=(g,v)=>{s.store.assertRowKey();const y=e.rowKey.value,T=nn(g,y),x=T&&n.value[T];if(T&&x&&"expanded"in x){const k=x.expanded;v=typeof v=="undefined"?!x.expanded:v,n.value[T].expanded=v,k!==v&&s.emit("expand-change",g,v),s.store.updateTableScrollY()}},b=g=>{s.store.assertRowKey();const v=e.rowKey.value,y=nn(g,v),T=n.value[y];r.value&&T&&"loaded"in T&&!T.loaded?m(g,y,T):h(g,void 0)},m=(g,v,y)=>{const{load:T}=s.props;T&&!n.value[v].loaded&&(n.value[v].loading=!0,T(g,y,x=>{if(!Array.isArray(x))throw new TypeError("[ElTable] data must be an array");n.value[v].loading=!1,n.value[v].loaded=!0,n.value[v].expanded=!0,x.length&&(a.value[v]=x),s.emit("expand-change",g,!0)}))};return{loadData:m,loadOrToggle:b,toggleTreeExpansion:h,updateTreeExpandKeys:f,updateTreeData:p,normalize:u,states:{expandRowKeys:t,treeData:n,indent:o,lazy:r,lazyTreeNodeMap:a,lazyColumnIdentifier:i,childrenColumnName:l}}}const kK=(e,t)=>{const n=t.sortingColumn;return!n||typeof n.sortable=="string"?e:hK(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},as=e=>{const t=[];return e.forEach(n=>{n.children?t.push.apply(t,as(n.children)):t.push(n)}),t};function TK(){var e;const t=nt(),{size:n}=Gt((e=t.proxy)==null?void 0:e.$props),o=A(null),r=A([]),a=A([]),i=A(!1),l=A([]),s=A([]),c=A([]),d=A([]),u=A([]),p=A([]),f=A([]),h=A([]),b=A(0),m=A(0),g=A(0),v=A(!1),y=A([]),T=A(!1),x=A(!1),k=A(null),$=A({}),z=A(null),P=A(null),O=A(null),D=A(null),L=A(null);ge(r,()=>t.state&&q(!1),{deep:!0});const F=()=>{if(!o.value)throw new Error("[ElTable] prop row-key is required")},V=()=>{d.value=l.value.filter(Ee=>Ee.fixed===!0||Ee.fixed==="left"),u.value=l.value.filter(Ee=>Ee.fixed==="right"),d.value.length>0&&l.value[0]&&l.value[0].type==="selection"&&!l.value[0].fixed&&(l.value[0].fixed=!0,d.value.unshift(l.value[0]));const Ve=l.value.filter(Ee=>!Ee.fixed);s.value=[].concat(d.value).concat(Ve).concat(u.value);const re=as(Ve),ye=as(d.value),fe=as(u.value);b.value=re.length,m.value=ye.length,g.value=fe.length,c.value=[].concat(ye).concat(re).concat(fe),i.value=d.value.length>0||u.value.length>0},q=(Ve,re=!1)=>{Ve&&V(),re?t.state.doLayout():t.state.debouncedUpdateLayout()},R=Ve=>y.value.includes(Ve),E=()=>{v.value=!1,y.value.length&&(y.value=[],t.emit("selection-change",[]))},N=()=>{let Ve;if(o.value){Ve=[];const re=Nr(y.value,o.value),ye=Nr(r.value,o.value);for(const fe in re)lt(re,fe)&&!ye[fe]&&Ve.push(re[fe].row)}else Ve=y.value.filter(re=>!r.value.includes(re));if(Ve.length){const re=y.value.filter(ye=>!Ve.includes(ye));y.value=re,t.emit("selection-change",re.slice())}},W=()=>(y.value||[]).slice(),Y=(Ve,re=void 0,ye=!0)=>{if(rs(y.value,Ve,re)){const Ee=(y.value||[]).slice();ye&&t.emit("select",Ee,Ve),t.emit("selection-change",Ee)}},J=()=>{var Ve,re;const ye=x.value?!v.value:!(v.value||y.value.length);v.value=ye;let fe=!1,Ee=0;const We=(re=(Ve=t==null?void 0:t.store)==null?void 0:Ve.states)==null?void 0:re.rowKey.value;r.value.forEach((gt,Ct)=>{const _t=Ct+Ee;k.value?k.value.call(null,gt,_t)&&rs(y.value,gt,ye)&&(fe=!0):rs(y.value,gt,ye)&&(fe=!0),Ee+=Se(nn(gt,We))}),fe&&t.emit("selection-change",y.value?y.value.slice():[]),t.emit("select-all",y.value)},Z=()=>{const Ve=Nr(y.value,o.value);r.value.forEach(re=>{const ye=nn(re,o.value),fe=Ve[ye];fe&&(y.value[fe.index]=re)})},se=()=>{var Ve,re,ye;if(((Ve=r.value)==null?void 0:Ve.length)===0){v.value=!1;return}let fe;o.value&&(fe=Nr(y.value,o.value));const Ee=function(_t){return fe?!!fe[nn(_t,o.value)]:y.value.includes(_t)};let We=!0,gt=0,Ct=0;for(let _t=0,Et=(r.value||[]).length;_t{var re;if(!t||!t.store)return 0;const{treeData:ye}=t.store.states;let fe=0;const Ee=(re=ye.value[Ve])==null?void 0:re.children;return Ee&&(fe+=Ee.length,Ee.forEach(We=>{fe+=Se(We)})),fe},oe=(Ve,re)=>{Array.isArray(Ve)||(Ve=[Ve]);const ye={};return Ve.forEach(fe=>{$.value[fe.id]=re,ye[fe.columnKey||fe.id]=re}),ye},H=(Ve,re,ye)=>{P.value&&P.value!==Ve&&(P.value.order=null),P.value=Ve,O.value=re,D.value=ye},ne=()=>{let Ve=_(a);Object.keys($.value).forEach(re=>{const ye=$.value[re];if(!ye||ye.length===0)return;const fe=D_({columns:c.value},re);fe&&fe.filterMethod&&(Ve=Ve.filter(Ee=>ye.some(We=>fe.filterMethod.call(null,We,Ee,fe))))}),z.value=Ve},ie=()=>{r.value=kK(z.value,{sortingColumn:P.value,sortProp:O.value,sortOrder:D.value})},be=(Ve=void 0)=>{Ve&&Ve.filter||ne(),ie()},$e=Ve=>{const{tableHeaderRef:re}=t.refs;if(!re)return;const ye=Object.assign({},re.filterPanels),fe=Object.keys(ye);if(!!fe.length)if(typeof Ve=="string"&&(Ve=[Ve]),Array.isArray(Ve)){const Ee=Ve.map(We=>mK({columns:c.value},We));fe.forEach(We=>{const gt=Ee.find(Ct=>Ct.id===We);gt&&(gt.filteredValue=[])}),t.store.commit("filterChange",{column:Ee,values:[],silent:!0,multi:!0})}else fe.forEach(Ee=>{const We=c.value.find(gt=>gt.id===Ee);We&&(We.filteredValue=[])}),$.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},Ne=()=>{!P.value||(H(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Me,toggleRowExpansion:j,updateExpandRows:X,states:de,isRowExpanded:xe}=_K({data:r,rowKey:o}),{updateTreeExpandKeys:we,toggleTreeExpansion:Ae,updateTreeData:ce,loadOrToggle:ae,states:te}=xK({data:r,rowKey:o}),{updateCurrentRowData:pe,updateCurrentRow:De,setCurrentRowKey:B,states:me}=wK({data:r,rowKey:o});return{assertRowKey:F,updateColumns:V,scheduleLayout:q,isSelected:R,clearSelection:E,cleanSelection:N,getSelectionRows:W,toggleRowSelection:Y,_toggleAllSelection:J,toggleAllSelection:null,updateSelectionByRowKey:Z,updateAllSelected:se,updateFilters:oe,updateCurrentRow:De,updateSort:H,execFilter:ne,execSort:ie,execQuery:be,clearFilter:$e,clearSort:Ne,toggleRowExpansion:j,setExpandRowKeysAdapter:Ve=>{Me(Ve),we(Ve)},setCurrentRowKey:B,toggleRowExpansionAdapter:(Ve,re)=>{c.value.some(({type:fe})=>fe==="expand")?j(Ve,re):Ae(Ve,re)},isRowExpanded:xe,updateExpandRows:X,updateCurrentRowData:pe,loadOrToggle:ae,updateTreeData:ce,states:he(he(he({tableSize:n,rowKey:o,data:r,_data:a,isComplex:i,_columns:l,originColumns:s,columns:c,fixedColumns:d,rightFixedColumns:u,leafColumns:p,fixedLeafColumns:f,rightFixedLeafColumns:h,leafColumnsLength:b,fixedLeafColumnsLength:m,rightFixedLeafColumnsLength:g,isAllSelected:v,selection:y,reserveSelection:T,selectOnIndeterminate:x,selectable:k,filters:$,filteredData:z,sortingColumn:P,sortProp:O,sortOrder:D,hoverRow:L},de),te),me)}}function su(e,t){return e.map(n=>{var o;return n.id===t.id?t:((o=n.children)!=null&&o.length&&(n.children=su(n.children,t)),n)})}function B_(e){e.forEach(t=>{var n,o;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(o=t.children)!=null&&o.length&&B_(t.children)}),e.sort((t,n)=>t.no-n.no)}function CK(){const e=nt(),t=TK(),n=ke("table"),o={setData(i,l){const s=_(i._data)!==l;i.data.value=l,i._data.value=l,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),_(i.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):s?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(i,l,s){const c=_(i._columns);let d=[];s?(s&&!s.children&&(s.children=[]),s.children.push(l),d=su(c,s)):(c.push(l),d=c),B_(d),i._columns.value=d,l.type==="selection"&&(i.selectable.value=l.selectable,i.reserveSelection.value=l.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},removeColumn(i,l,s){const c=_(i._columns)||[];if(s)s.children.splice(s.children.findIndex(d=>d.id===l.id),1),s.children.length===0&&delete s.children,i._columns.value=su(c,s);else{const d=c.indexOf(l);d>-1&&(c.splice(d,1),i._columns.value=c)}e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(i,l){const{prop:s,order:c,init:d}=l;if(s){const u=_(i.columns).find(p=>p.property===s);u&&(u.order=c,e.store.updateSort(u,s,c),e.store.commit("changeSortCondition",{init:d}))}},changeSortCondition(i,l){const{sortingColumn:s,sortProp:c,sortOrder:d}=i;_(d)===null&&(i.sortingColumn.value=null,i.sortProp.value=null);const u={filter:!0};e.store.execQuery(u),(!l||!(l.silent||l.init))&&e.emit("sort-change",{column:_(s),prop:_(c),order:_(d)}),e.store.updateTableScrollY()},filterChange(i,l){const{column:s,values:c,silent:d}=l,u=e.store.updateFilters(s,c);e.store.execQuery(),d||e.emit("filter-change",u),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(i,l){e.store.toggleRowSelection(l),e.store.updateAllSelected()},setHoverRow(i,l){i.hoverRow.value=l},setCurrentRow(i,l){e.store.updateCurrentRow(l)}},r=function(i,...l){const s=e.store.mutations;if(s[i])s[i].apply(e,[e.store.states].concat(l));else throw new Error(`Action not found: ${i}`)},a=function(){je(()=>e.layout.updateScrollY.apply(e.layout))};return ze(he({ns:n},t),{mutations:o,commit:r,updateTableScrollY:a})}const Ti={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data",["treeProps.hasChildren"]:{key:"lazyColumnIdentifier",default:"hasChildren"},["treeProps.children"]:{key:"childrenColumnName",default:"children"}};function SK(e,t){if(!e)throw new Error("Table is required.");const n=CK();return n.toggleAllSelection=bn(n._toggleAllSelection,10),Object.keys(Ti).forEach(o=>{j_(H_(t,o),o,n)}),$K(n,t),n}function $K(e,t){Object.keys(Ti).forEach(n=>{ge(()=>H_(t,n),o=>{j_(o,n,e)})})}function j_(e,t,n){let o=e,r=Ti[t];typeof Ti[t]=="object"&&(r=r.key,o=o||Ti[t].default),n.states[r].value=o}function H_(e,t){if(t.includes(".")){const n=t.split(".");let o=e;return n.forEach(r=>{o=o[r]}),o}else return e[t]}class AK{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=A(null),this.scrollX=A(!1),this.scrollY=A(!1),this.bodyWidth=A(null),this.fixedWidth=A(null),this.rightFixedWidth=A(null),this.tableHeight=A(null),this.headerHeight=A(44),this.appendHeight=A(0),this.footerHeight=A(44),this.viewportHeight=A(null),this.bodyHeight=A(null),this.bodyScrollHeight=A(0),this.fixedBodyHeight=A(null),this.gutterWidth=0;for(const n in t)lt(t,n)&&(Vt(this[n])?this[n].value=t[n]:this[n]=t[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const n=this.table.refs.bodyWrapper;if(this.table.vnode.el&&n){let o=!0;const r=this.scrollY.value;return this.bodyHeight.value===null?o=!1:o=n.scrollHeight>this.bodyHeight.value,this.scrollY.value=o,r!==o}return!1}setHeight(t,n="height"){if(!dt)return;const o=this.table.vnode.el;if(t=lu(t),this.height.value=Number(t),!o&&(t||t===0))return je(()=>this.setHeight(t,n));typeof t=="number"?(o.style[n]=`${t}px`,this.updateElsHeight()):typeof t=="string"&&(o.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(o=>{o.isColumnGroup?t.push.apply(t,o.columns):t.push(o)}),t}updateElsHeight(){var t,n;if(!this.table.$ready)return je(()=>this.updateElsHeight());const{tableWrapper:o,headerWrapper:r,appendWrapper:a,footerWrapper:i,tableHeader:l,tableBody:s}=this.table.refs;if(o&&o.style.display==="none")return;const{tableLayout:c}=this.table.props;if(this.appendHeight.value=a?a.offsetHeight:0,this.showHeader&&!r&&c==="fixed")return;const d=l||null,u=this.headerDisplayNone(d),p=(r==null?void 0:r.offsetHeight)||0,f=this.headerHeight.value=this.showHeader?p:0;if(this.showHeader&&!u&&p>0&&(this.table.store.states.columns.value||[]).length>0&&f<2)return je(()=>this.updateElsHeight());const h=this.tableHeight.value=(n=(t=this.table)==null?void 0:t.vnode.el)==null?void 0:n.clientHeight,b=this.footerHeight.value=i?i.offsetHeight:0;this.height.value!==null&&(this.bodyHeight.value===null&&requestAnimationFrame(()=>this.updateElsHeight()),this.bodyHeight.value=h-f-b+(i?1:0),this.bodyScrollHeight.value=s==null?void 0:s.scrollHeight),this.fixedBodyHeight.value=this.scrollX.value?this.bodyHeight.value-this.gutterWidth:this.bodyHeight.value,this.viewportHeight.value=this.scrollX.value?h-this.gutterWidth:h,this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let n=t;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){if(!dt)return;const t=this.fit,n=this.table.vnode.el.clientWidth;let o=0;const r=this.getFlattenColumns(),a=r.filter(s=>typeof s.width!="number");if(r.forEach(s=>{typeof s.width=="number"&&s.realWidth&&(s.realWidth=null)}),a.length>0&&t){if(r.forEach(s=>{o+=Number(s.width||s.minWidth||80)}),o<=n){this.scrollX.value=!1;const s=n-o;if(a.length===1)a[0].realWidth=Number(a[0].minWidth||80)+s;else{const c=a.reduce((p,f)=>p+Number(f.minWidth||80),0),d=s/c;let u=0;a.forEach((p,f)=>{if(f===0)return;const h=Math.floor(Number(p.minWidth||80)*d);u+=h,p.realWidth=Number(p.minWidth||80)+h}),a[0].realWidth=Number(a[0].minWidth||80)+s-u}}else this.scrollX.value=!0,a.forEach(s=>{s.realWidth=Number(s.minWidth)});this.bodyWidth.value=Math.max(o,n),this.table.state.resizeState.value.width=this.bodyWidth.value}else r.forEach(s=>{!s.width&&!s.minWidth?s.realWidth=80:s.realWidth=Number(s.width||s.minWidth),o+=s.realWidth}),this.scrollX.value=o>n,this.bodyWidth.value=o;const i=this.store.states.fixedColumns.value;if(i.length>0){let s=0;i.forEach(c=>{s+=Number(c.realWidth||c.width)}),this.fixedWidth.value=s}const l=this.store.states.rightFixedColumns.value;if(l.length>0){let s=0;l.forEach(c=>{s+=Number(c.realWidth||c.width)}),this.rightFixedWidth.value=s}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const n=this.observers.indexOf(t);n!==-1&&this.observers.splice(n,1)}notifyObservers(t){this.observers.forEach(o=>{var r,a;switch(t){case"columns":(r=o.state)==null||r.onColumnsChange(this);break;case"scrollable":(a=o.state)==null||a.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const{CheckboxGroup:EK}=lo,zK=ee({name:"ElTableFilterPanel",components:{ElCheckbox:lo,ElCheckboxGroup:EK,ElScrollbar:qo,ElTooltip:vn,ElIcon:qe,ArrowDown:Gr,ArrowUp:rl},directives:{ClickOutside:Jr},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(e){const t=nt(),{t:n}=Tt(),o=ke("table-filter"),r=t==null?void 0:t.parent;r.filterPanels.value[e.column.id]||(r.filterPanels.value[e.column.id]=t);const a=A(!1),i=A(null),l=C(()=>e.column&&e.column.filters),s=C({get:()=>{var T;return(((T=e.column)==null?void 0:T.filteredValue)||[])[0]},set:T=>{c.value&&(typeof T!="undefined"&&T!==null?c.value.splice(0,1,T):c.value.splice(0,1))}}),c=C({get(){return e.column?e.column.filteredValue||[]:[]},set(T){e.column&&e.upDataColumn("filteredValue",T)}}),d=C(()=>e.column?e.column.filterMultiple:!0),u=T=>T.value===s.value,p=()=>{a.value=!1},f=T=>{T.stopPropagation(),a.value=!a.value},h=()=>{a.value=!1},b=()=>{v(c.value),p()},m=()=>{c.value=[],v(c.value),p()},g=T=>{s.value=T,v(typeof T!="undefined"&&T!==null?c.value:[]),p()},v=T=>{e.store.commit("filterChange",{column:e.column,values:T}),e.store.updateAllSelected()};ge(a,T=>{e.column&&e.upDataColumn("filterOpened",T)},{immediate:!0});const y=C(()=>{var T,x;return(x=(T=i.value)==null?void 0:T.popperRef)==null?void 0:x.contentRef});return{tooltipVisible:a,multiple:d,filteredValue:c,filterValue:s,filters:l,handleConfirm:b,handleReset:m,handleSelect:g,isActive:u,t:n,ns:o,showFilterPanel:f,hideFilterPanel:h,popperPaneRef:y,tooltip:i}}}),IK={key:0},NK=["disabled"],MK=["label","onClick"];function RK(e,t,n,o,r,a){const i=le("el-checkbox"),l=le("el-checkbox-group"),s=le("el-scrollbar"),c=le("arrow-up"),d=le("arrow-down"),u=le("el-icon"),p=le("el-tooltip"),f=In("click-outside");return w(),Q(p,{ref:"tooltip",visible:e.tooltipVisible,"onUpdate:visible":t[5]||(t[5]=h=>e.tooltipVisible=h),offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,"append-to-body":"",effect:"light",pure:"","popper-class":e.ns.b(),persistent:""},{content:K(()=>[e.multiple?(w(),I("div",IK,[M("div",{class:S(e.ns.e("content"))},[U(s,{"wrap-class":e.ns.e("wrap")},{default:K(()=>[U(l,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=h=>e.filteredValue=h),class:S(e.ns.e("checkbox-group"))},{default:K(()=>[(w(!0),I(Fe,null,ct(e.filters,h=>(w(),Q(i,{key:h.value,label:h.value},{default:K(()=>[it(ve(h.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),M("div",{class:S(e.ns.e("bottom"))},[M("button",{class:S({[e.ns.is("disabled")]:e.filteredValue.length===0}),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...h)=>e.handleConfirm&&e.handleConfirm(...h))},ve(e.t("el.table.confirmFilter")),11,NK),M("button",{type:"button",onClick:t[2]||(t[2]=(...h)=>e.handleReset&&e.handleReset(...h))},ve(e.t("el.table.resetFilter")),1)],2)])):(w(),I("ul",{key:1,class:S(e.ns.e("list"))},[M("li",{class:S([e.ns.e("list-item"),{[e.ns.is("active")]:e.filterValue===void 0||e.filterValue===null}]),onClick:t[3]||(t[3]=h=>e.handleSelect(null))},ve(e.t("el.table.clearFilter")),3),(w(!0),I(Fe,null,ct(e.filters,h=>(w(),I("li",{key:h.value,class:S([e.ns.e("list-item"),e.ns.is("active",e.isActive(h))]),label:h.value,onClick:b=>e.handleSelect(h.value)},ve(h.text),11,MK))),128))],2))]),default:K(()=>[Ue((w(),I("span",{class:S([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:t[4]||(t[4]=(...h)=>e.showFilterPanel&&e.showFilterPanel(...h))},[U(u,null,{default:K(()=>[e.column.filterOpened?(w(),Q(c,{key:0})):(w(),Q(d,{key:1}))]),_:1})],2)),[[f,e.hideFilterPanel,e.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var PK=_e(zK,[["render",RK],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function q_(e){const t=nt();Ji(()=>{n.value.addObserver(t)}),et(()=>{o(n.value),r(n.value)}),Un(()=>{o(n.value),r(n.value)}),Qi(()=>{n.value.removeObserver(t)});const n=C(()=>{const a=e.layout;if(!a)throw new Error("Can not find table layout.");return a}),o=a=>{var i;const l=((i=e.vnode.el)==null?void 0:i.querySelectorAll("colgroup > col"))||[];if(!l.length)return;const s=a.getFlattenColumns(),c={};s.forEach(d=>{c[d.id]=d});for(let d=0,u=l.length;d{var i,l;const s=((i=e.vnode.el)==null?void 0:i.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let d=0,u=s.length;d{b.stopPropagation()},a=(b,m)=>{!m.filters&&m.sortable?h(b,m,!1):m.filterable&&!m.sortable&&r(b),o==null||o.emit("header-click",m,b)},i=(b,m)=>{o==null||o.emit("header-contextmenu",m,b)},l=A(null),s=A(!1),c=A({}),d=(b,m)=>{if(!!dt&&!(m.children&&m.children.length>0)&&l.value&&e.border){s.value=!0;const g=o;t("set-drag-visible",!0);const y=(g==null?void 0:g.vnode.el).getBoundingClientRect().left,T=n.vnode.el.querySelector(`th.${m.id}`),x=T.getBoundingClientRect(),k=x.left-y+30;bo(T,"noclick"),c.value={startMouseLeft:b.clientX,startLeft:x.right-y,startColumnLeft:x.left-y,tableLeft:y};const $=g==null?void 0:g.refs.resizeProxy;$.style.left=`${c.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const z=O=>{const D=O.clientX-c.value.startMouseLeft,L=c.value.startLeft+D;$.style.left=`${Math.max(k,L)}px`},P=()=>{if(s.value){const{startColumnLeft:O,startLeft:D}=c.value,F=Number.parseInt($.style.left,10)-O;m.width=m.realWidth=F,g==null||g.emit("header-dragend",m.width,D-O,m,b),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",s.value=!1,l.value=null,c.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",z),document.removeEventListener("mouseup",P),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{hn(T,"noclick")},0)};document.addEventListener("mousemove",z),document.addEventListener("mouseup",P)}},u=(b,m)=>{if(m.children&&m.children.length>0)return;let g=b.target;for(;g&&g.tagName!=="TH";)g=g.parentNode;if(!(!m||!m.resizable)&&!s.value&&e.border){const v=g.getBoundingClientRect(),y=document.body.style;v.width>12&&v.right-b.pageX<8?(y.cursor="col-resize",oo(g,"is-sortable")&&(g.style.cursor="col-resize"),l.value=m):s.value||(y.cursor="",oo(g,"is-sortable")&&(g.style.cursor="pointer"),l.value=null)}},p=()=>{!dt||(document.body.style.cursor="")},f=({order:b,sortOrders:m})=>{if(b==="")return m[0];const g=m.indexOf(b||null);return m[g>m.length-2?0:g+1]},h=(b,m,g)=>{b.stopPropagation();const v=m.order===g?null:g||f(m);let y=b.target;for(;y&&y.tagName!=="TH";)y=y.parentNode;if(y&&y.tagName==="TH"&&oo(y,"noclick")){hn(y,"noclick");return}if(!m.sortable)return;const T=e.store.states;let x=T.sortProp.value,k;const $=T.sortingColumn.value;($!==m||$===m&&$.order===null)&&($&&($.order=null),T.sortingColumn.value=m,x=m.property),v?k=m.order=v:k=m.order=null,T.sortProp.value=x,T.sortOrder.value=k,o==null||o.store.commit("changeSortCondition")};return{handleHeaderClick:a,handleHeaderContextMenu:i,handleMouseDown:d,handleMouseMove:u,handleMouseOut:p,handleSortClick:h,handleFilterClick:r}}function FK(e){const t=Ie(xo),n=ke("table");return{getHeaderRowStyle:l=>{const s=t==null?void 0:t.props.headerRowStyle;return typeof s=="function"?s.call(null,{rowIndex:l}):s},getHeaderRowClass:l=>{const s=[],c=t==null?void 0:t.props.headerRowClassName;return typeof c=="string"?s.push(c):typeof c=="function"&&s.push(c.call(null,{rowIndex:l})),s.join(" ")},getHeaderCellStyle:(l,s,c,d)=>{var u;let p=(u=t==null?void 0:t.props.headerCellStyle)!=null?u:{};typeof p=="function"&&(p=p.call(null,{rowIndex:l,columnIndex:s,row:c,column:d}));const f=d.isSubColumn?null:Hp(s,d.fixed,e.store,c);return Ra(f,"left"),Ra(f,"right"),Object.assign({},p,f)},getHeaderCellClass:(l,s,c,d)=>{const u=d.isSubColumn?[]:jp(n.b(),s,d.fixed,e.store,c),p=[d.id,d.order,d.headerAlign,d.className,d.labelClassName,...u];d.children||p.push("is-leaf"),d.sortable&&p.push("is-sortable");const f=t==null?void 0:t.props.headerCellClassName;return typeof f=="string"?p.push(f):typeof f=="function"&&p.push(f.call(null,{rowIndex:l,columnIndex:s,row:c,column:d})),p.push(n.e("cell")),p.filter(h=>Boolean(h)).join(" ")}}}const K_=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,K_(n.children))):t.push(n)}),t},DK=e=>{let t=1;const n=(a,i)=>{if(i&&(a.level=i.level+1,t{n(s,a),l+=s.colSpan}),a.colSpan=l}else a.colSpan=1};e.forEach(a=>{a.level=1,n(a,void 0)});const o=[];for(let a=0;a{a.children?(a.rowSpan=1,a.children.forEach(i=>i.isSubColumn=!0)):a.rowSpan=t-a.level+1,o[a.level-1].push(a)}),o};function LK(e){const t=Ie(xo),n=C(()=>DK(e.store.states.originColumns.value));return{isGroup:C(()=>{const a=n.value.length>1;return a&&t&&(t.state.isGroup.value=!0),a}),toggleAllSelection:a=>{a.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var VK=ee({name:"ElTableHeader",components:{ElCheckbox:lo},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e,{emit:t}){const n=nt(),o=Ie(xo),r=ke("table"),a=A({}),{onColumnsChange:i,onScrollableChange:l}=q_(o);et(async()=>{await je(),await je();const{prop:k,order:$}=e.defaultSort;o==null||o.store.commit("sort",{prop:k,order:$,init:!0})});const{handleHeaderClick:s,handleHeaderContextMenu:c,handleMouseDown:d,handleMouseMove:u,handleMouseOut:p,handleSortClick:f,handleFilterClick:h}=OK(e,t),{getHeaderRowStyle:b,getHeaderRowClass:m,getHeaderCellStyle:g,getHeaderCellClass:v}=FK(e),{isGroup:y,toggleAllSelection:T,columnRows:x}=LK(e);return n.state={onColumnsChange:i,onScrollableChange:l},n.filterPanels=a,{ns:r,filterPanels:a,onColumnsChange:i,onScrollableChange:l,columnRows:x,getHeaderRowClass:m,getHeaderRowStyle:b,getHeaderCellClass:v,getHeaderCellStyle:g,handleHeaderClick:s,handleHeaderContextMenu:c,handleMouseDown:d,handleMouseMove:u,handleMouseOut:p,handleSortClick:f,handleFilterClick:h,isGroup:y,toggleAllSelection:T}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:o,getHeaderCellClass:r,getHeaderRowClass:a,getHeaderRowStyle:i,handleHeaderClick:l,handleHeaderContextMenu:s,handleMouseDown:c,handleMouseMove:d,handleSortClick:u,handleMouseOut:p,store:f,$parent:h}=this;let b=1;return Re("thead",{class:{[e.is("group")]:t}},n.map((m,g)=>Re("tr",{class:a(g),key:g,style:i(g)},m.map((v,y)=>(v.rowSpan>b&&(b=v.rowSpan),Re("th",{class:r(g,y,m,v),colspan:v.colSpan,key:`${v.id}-thead`,rowspan:v.rowSpan,style:o(g,y,m,v),onClick:T=>l(T,v),onContextmenu:T=>s(T,v),onMousedown:T=>c(T,v),onMousemove:T=>d(T,v),onMouseout:p},[Re("div",{class:["cell",v.filteredValue&&v.filteredValue.length>0?"highlight":"",v.labelClassName]},[v.renderHeader?v.renderHeader({column:v,$index:y,store:f,_self:h}):v.label,v.sortable&&Re("span",{onClick:T=>u(T,v),class:"caret-wrapper"},[Re("i",{onClick:T=>u(T,v,"ascending"),class:"sort-caret ascending"}),Re("i",{onClick:T=>u(T,v,"descending"),class:"sort-caret descending"})]),v.filterable&&Re(PK,{store:f,placement:v.filterPlacement||"bottom-start",column:v,upDataColumn:(T,x)=>{v[T]=x}})])]))))))}});function BK(e){const t=Ie(xo),n=A(""),o=A(Re("div")),r=(p,f,h)=>{var b;const m=t,g=Qc(p);let v;const y=(b=m==null?void 0:m.vnode.el)==null?void 0:b.dataset.prefix;g&&(v=kg({columns:e.store.states.columns.value},g,y),v&&(m==null||m.emit(`cell-${h}`,f,v,g,p))),m==null||m.emit(`row-${h}`,f,v,p)},a=(p,f)=>{r(p,f,"dblclick")},i=(p,f)=>{e.store.commit("setCurrentRow",f),r(p,f,"click")},l=(p,f)=>{r(p,f,"contextmenu")},s=bn(p=>{e.store.commit("setHoverRow",p)},30),c=bn(()=>{e.store.commit("setHoverRow",null)},30);return{handleDoubleClick:a,handleClick:i,handleContextMenu:l,handleMouseEnter:s,handleMouseLeave:c,handleCellMouseEnter:(p,f)=>{var h;const b=t,m=Qc(p),g=(h=b==null?void 0:b.vnode.el)==null?void 0:h.dataset.prefix;if(m){const k=kg({columns:e.store.states.columns.value},m,g),$=b.hoverState={cell:m,column:k,row:f};b==null||b.emit("cell-mouse-enter",$.row,$.column,$.cell,p)}const v=p.target.querySelector(".cell");if(!(oo(v,`${g}-tooltip`)&&v.childNodes.length))return;const y=document.createRange();y.setStart(v,0),y.setEnd(v,v.childNodes.length);const T=y.getBoundingClientRect().width,x=(Number.parseInt(go(v,"paddingLeft"),10)||0)+(Number.parseInt(go(v,"paddingRight"),10)||0);(T+x>v.offsetWidth||v.scrollWidth>v.offsetWidth)&&yK(m,m.innerText||m.textContent,{placement:"top",strategy:"fixed"},f.tooltipEffect)},handleCellMouseLeave:p=>{if(!Qc(p))return;const h=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",h==null?void 0:h.row,h==null?void 0:h.column,h==null?void 0:h.cell,p)},tooltipContent:n,tooltipTrigger:o}}function jK(e){const t=Ie(xo),n=ke("table");return{getRowStyle:(c,d)=>{const u=t==null?void 0:t.props.rowStyle;return typeof u=="function"?u.call(null,{row:c,rowIndex:d}):u||null},getRowClass:(c,d)=>{const u=[n.e("row")];(t==null?void 0:t.props.highlightCurrentRow)&&c===e.store.states.currentRow.value&&u.push("current-row"),e.stripe&&d%2===1&&u.push(n.em("row","striped"));const p=t==null?void 0:t.props.rowClassName;return typeof p=="string"?u.push(p):typeof p=="function"&&u.push(p.call(null,{row:c,rowIndex:d})),u},getCellStyle:(c,d,u,p)=>{const f=t==null?void 0:t.props.cellStyle;let h=f!=null?f:{};typeof f=="function"&&(h=f.call(null,{rowIndex:c,columnIndex:d,row:u,column:p}));const b=p.isSubColumn?null:Hp(d,e==null?void 0:e.fixed,e.store);return Ra(b,"left"),Ra(b,"right"),Object.assign({},h,b)},getCellClass:(c,d,u,p)=>{const f=p.isSubColumn?[]:jp(n.b(),d,e==null?void 0:e.fixed,e.store),h=[p.id,p.align,p.className,...f],b=t==null?void 0:t.props.cellClassName;return typeof b=="string"?h.push(b):typeof b=="function"&&h.push(b.call(null,{rowIndex:c,columnIndex:d,row:u,column:p})),h.push(n.e("cell")),h.filter(m=>Boolean(m)).join(" ")},getSpan:(c,d,u,p)=>{let f=1,h=1;const b=t==null?void 0:t.props.spanMethod;if(typeof b=="function"){const m=b({row:c,column:d,rowIndex:u,columnIndex:p});Array.isArray(m)?(f=m[0],h=m[1]):typeof m=="object"&&(f=m.rowspan,h=m.colspan)}return{rowspan:f,colspan:h}},getColspanRealWidth:(c,d,u)=>{if(d<1)return c[u].realWidth;const p=c.map(({realWidth:f,width:h})=>f||h).slice(u,u+d);return Number(p.reduce((f,h)=>Number(f)+Number(h),-1))}}}function HK(e){const t=Ie(xo),{handleDoubleClick:n,handleClick:o,handleContextMenu:r,handleMouseEnter:a,handleMouseLeave:i,handleCellMouseEnter:l,handleCellMouseLeave:s,tooltipContent:c,tooltipTrigger:d}=BK(e),{getRowStyle:u,getRowClass:p,getCellStyle:f,getCellClass:h,getSpan:b,getColspanRealWidth:m}=jK(e),g=C(()=>e.store.states.columns.value.findIndex(({type:k})=>k==="default")),v=(k,$)=>{const z=t.props.rowKey;return z?nn(k,z):$},y=(k,$,z,P=!1)=>{const{tooltipEffect:O,store:D}=e,{indent:L,columns:F}=D.states,V=p(k,$);let q=!0;return z&&(V.push(`el-table__row--level-${z.level}`),q=z.display),Re("tr",{style:[q?null:{display:"none"},u(k,$)],class:V,key:v(k,$),onDblclick:E=>n(E,k),onClick:E=>o(E,k),onContextmenu:E=>r(E,k),onMouseenter:()=>a($),onMouseleave:i},F.value.map((E,N)=>{const{rowspan:W,colspan:Y}=b(k,E,$,N);if(!W||!Y)return null;const J=he({},E);J.realWidth=m(F.value,Y,N);const Z={store:e.store,_self:e.context||t,column:J,row:k,$index:$,cellIndex:N,expanded:P};N===g.value&&z&&(Z.treeNode={indent:z.level*L.value,level:z.level},typeof z.expanded=="boolean"&&(Z.treeNode.expanded=z.expanded,"loading"in z&&(Z.treeNode.loading=z.loading),"noLazyChildren"in z&&(Z.treeNode.noLazyChildren=z.noLazyChildren)));const se=`${$},${N}`,Se=J.columnKey||J.rawColumnKey||"",oe=T(N,E,Z);return Re("td",{style:f($,N,k,E),class:h($,N,k,E),key:`${Se}${se}`,rowspan:W,colspan:Y,onMouseenter:H=>l(H,ze(he({},k),{tooltipEffect:O})),onMouseleave:s},[oe])}))},T=(k,$,z)=>$.renderCell(z);return{wrappedRowRender:(k,$)=>{const z=e.store,{isRowExpanded:P,assertRowKey:O}=z,{treeData:D,lazyTreeNodeMap:L,childrenColumnName:F,rowKey:V}=z.states,q=z.states.columns.value;if(q.some(({type:E})=>E==="expand")){const E=P(k),N=y(k,$,void 0,E),W=t.renderExpanded;return E?W?[[N,Re("tr",{key:`expanded-row__${N.key}`},[Re("td",{colspan:q.length,class:"el-table__cell el-table__expanded-cell"},[W({row:k,$index:$,store:z,expanded:E})])])]]:(console.error("[Element Error]renderExpanded is required."),N):[[N]]}else if(Object.keys(D.value).length){O();const E=nn(k,V.value);let N=D.value[E],W=null;N&&(W={expanded:N.expanded,level:N.level,display:!0},typeof N.lazy=="boolean"&&(typeof N.loaded=="boolean"&&N.loaded&&(W.noLazyChildren=!(N.children&&N.children.length)),W.loading=N.loading));const Y=[y(k,$,W)];if(N){let J=0;const Z=(Se,oe)=>{!(Se&&Se.length&&oe)||Se.forEach(H=>{const ne={display:oe.display&&oe.expanded,level:oe.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ie=nn(H,V.value);if(ie==null)throw new Error("For nested data item, row-key is required.");if(N=he({},D.value[ie]),N&&(ne.expanded=N.expanded,N.level=N.level||ne.level,N.display=!!(N.expanded&&ne.display),typeof N.lazy=="boolean"&&(typeof N.loaded=="boolean"&&N.loaded&&(ne.noLazyChildren=!(N.children&&N.children.length)),ne.loading=N.loading)),J++,Y.push(y(H,$+J,ne)),N){const be=L.value[ie]||H[F.value];Z(be,N)}})};N.display=!0;const se=L.value[E]||k[F.value];Z(se,N)}return Y}else return y(k,$,void 0)},tooltipContent:c,tooltipTrigger:d}}const qK={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var KK=ee({name:"ElTableBody",props:qK,setup(e){const t=nt(),n=Ie(xo),o=ke("table"),{wrappedRowRender:r,tooltipContent:a,tooltipTrigger:i}=HK(e),{onColumnsChange:l,onScrollableChange:s}=q_(n);return ge(e.store.states.hoverRow,(c,d)=>{if(!e.store.states.isComplex.value||!dt)return;let u=window.requestAnimationFrame;u||(u=p=>window.setTimeout(p,16)),u(()=>{var p;const f=(p=t==null?void 0:t.vnode.el)==null?void 0:p.querySelectorAll(`.${o.e("row")}`),h=f[d],b=f[c];h&&hn(h,"hover-row"),b&&bo(b,"hover-row")})}),Qi(()=>{var c;(c=Rs)==null||c()}),Un(()=>{var c;(c=Rs)==null||c()}),{ns:o,onColumnsChange:l,onScrollableChange:s,wrappedRowRender:r,tooltipContent:a,tooltipTrigger:i}},render(){const{wrappedRowRender:e,store:t}=this,n=t.states.data.value||[];return Re("tbody",{},[n.reduce((o,r)=>o.concat(e(r,o.length)),[])])}});function qp(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(r=>r.width===void 0)&&(n=[]);const o=r=>{const a={key:`${e.tableLayout}_${r.id}`,style:{},name:void 0};return t?a.style={width:`${r.width}px`}:a.name=r.id,a};return Re("colgroup",{},n.map(r=>Re("col",o(r))))}qp.props=["columns","tableLayout"];function WK(){const e=Ie(xo),t=e==null?void 0:e.store,n=C(()=>t.states.fixedLeafColumnsLength.value),o=C(()=>t.states.rightFixedColumns.value.length),r=C(()=>t.states.columns.value.length),a=C(()=>t.states.fixedColumns.value.length),i=C(()=>t.states.rightFixedColumns.value.length);return{leftFixedLeafCount:n,rightFixedLeafCount:o,columnsCount:r,leftFixedCount:a,rightFixedCount:i,columns:t.states.columns}}function UK(e){const{columns:t}=WK(),n=ke("table");return{getCellClasses:(a,i)=>{const l=a[i],s=[n.e("cell"),l.id,l.align,l.labelClassName,...jp(n.b(),i,l.fixed,e.store)];return l.className&&s.push(l.className),l.children||s.push(n.is("leaf")),s},getCellStyles:(a,i)=>{const l=Hp(i,a.fixed,e.store);return Ra(l,"left"),Ra(l,"right"),l},columns:t}}var YK=ee({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const{getCellClasses:t,getCellStyles:n,columns:o}=UK(e);return{ns:ke("table"),getCellClasses:t,getCellStyles:n,columns:o}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:o,sumText:r,ns:a}=this,i=this.store.states.data.value;let l=[];return o?l=o({columns:e,data:i}):e.forEach((s,c)=>{if(c===0){l[c]=r;return}const d=i.map(h=>Number(h[s.property])),u=[];let p=!0;d.forEach(h=>{if(!Number.isNaN(+h)){p=!1;const b=`${h}`.split(".")[1];u.push(b?b.length:0)}});const f=Math.max.apply(null,u);p?l[c]="":l[c]=d.reduce((h,b)=>{const m=Number(b);return Number.isNaN(+m)?h:Number.parseFloat((h+b).toFixed(Math.min(f,20)))},0)}),Re("table",{class:a.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[qp({columns:e}),Re("tbody",[Re("tr",{},[...e.map((s,c)=>Re("td",{key:c,colspan:s.colSpan,rowspan:s.rowSpan,class:n(e,c),style:t(s,c)},[Re("div",{class:["cell",s.labelClassName]},[l[c]])]))])])])}});function GK(e){return{setCurrentRow:d=>{e.commit("setCurrentRow",d)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(d,u)=>{e.toggleRowSelection(d,u,!1),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:d=>{e.clearFilter(d)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(d,u)=>{e.toggleRowExpansionAdapter(d,u)},clearSort:()=>{e.clearSort()},sort:(d,u)=>{e.commit("sort",{prop:d,order:u})}}}function XK(e,t,n,o){const r=A(!1),a=A(null),i=A(!1),l=N=>{i.value=N},s=A({width:null,height:null}),c=A(!1),d={display:"inline-block",verticalAlign:"middle"},u=A();Dn(()=>{t.setHeight(e.height)}),Dn(()=>{t.setMaxHeight(e.maxHeight)}),ge(()=>[e.currentRowKey,n.states.rowKey],([N,W])=>{!_(W)||n.setCurrentRowKey(`${N}`)},{immediate:!0}),ge(()=>e.data,N=>{o.store.commit("setData",N)},{immediate:!0,deep:!0}),Dn(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const p=()=>{o.store.commit("setHoverRow",null),o.hoverState&&(o.hoverState=null)},f=(N,W)=>{const{pixelX:Y,pixelY:J}=W;Math.abs(Y)>=Math.abs(J)&&(o.refs.bodyWrapper.scrollLeft+=W.pixelX/5)},h=C(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),b=C(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),m=()=>{h.value&&t.updateElsHeight(),t.updateColumnsWidth(),requestAnimationFrame(T)};et(async()=>{await je(),n.updateColumns(),x(),requestAnimationFrame(m),s.value={width:u.value=o.vnode.el.offsetWidth,height:o.vnode.el.offsetHeight},n.states.columns.value.forEach(N=>{N.filteredValue&&N.filteredValue.length&&o.store.commit("filterChange",{column:N,values:N.filteredValue,silent:!0})}),o.$ready=!0});const g=(N,W)=>{if(!N)return;const Y=Array.from(N.classList).filter(J=>!J.startsWith("is-scrolling-"));Y.push(t.scrollX.value?W:"is-scrolling-none"),N.className=Y.join(" ")},v=N=>{const{tableWrapper:W}=o.refs;g(W,N)},y=N=>{const{tableWrapper:W}=o.refs;return!!(W&&W.classList.contains(N))},T=function(){if(!o.refs.scrollBarRef)return;if(!t.scrollX.value){const oe="is-scrolling-none";y(oe)||v(oe);return}const N=o.refs.scrollBarRef.wrap$;if(!N)return;const{scrollLeft:W,offsetWidth:Y,scrollWidth:J}=N,{headerWrapper:Z,footerWrapper:se}=o.refs;Z&&(Z.scrollLeft=W),se&&(se.scrollLeft=W);const Se=J-Y-1;W>=Se?v("is-scrolling-right"):v(W===0?"is-scrolling-left":"is-scrolling-middle")},x=()=>{var N;!o.refs.scrollBarRef||((N=o.refs.scrollBarRef.wrap$)==null||N.addEventListener("scroll",T,{passive:!0}),e.fit?ja(o.vnode.el,$):At(window,"resize",m))};$t(()=>{k()});const k=()=>{var N;(N=o.refs.scrollBarRef.wrap$)==null||N.removeEventListener("scroll",T,!0),e.fit?Ha(o.vnode.el,$):Bt(window,"resize",m)},$=()=>{if(!o.$ready)return;let N=!1;const W=o.vnode.el,{width:Y,height:J}=s.value,Z=u.value=W.offsetWidth;Y!==Z&&(N=!0);const se=W.offsetHeight;(e.height||h.value)&&J!==se&&(N=!0),N&&(s.value={width:Z,height:se},m())},z=Ut(),P=C(()=>{const{bodyWidth:N,scrollY:W,gutterWidth:Y}=t;return N.value?`${N.value-(W.value?Y:0)}px`:""}),O=C(()=>e.maxHeight?"fixed":e.tableLayout);function D(N,W,Y){const J=lu(N),Z=e.showHeader?Y:0;if(J!==null)return Qe(J)?`calc(${J} - ${W}px - ${Z}px)`:J-W-Z}const L=C(()=>{const N=t.headerHeight.value||0,W=t.bodyHeight.value,Y=t.footerHeight.value||0;if(e.height)return W||void 0;if(e.maxHeight)return D(e.maxHeight,Y,N)}),F=C(()=>{const N=t.headerHeight.value||0,W=t.bodyHeight.value,Y=t.footerHeight.value||0;if(e.height)return{height:W?`${W}px`:""};if(e.maxHeight){const J=D(e.maxHeight,Y,N);if(J!==null)return{"max-height":`${J}${mt(J)?"px":""}`}}return{}}),V=C(()=>{if(e.data&&e.data.length)return null;let N="100%";return t.appendHeight.value&&(N=`calc(100% - ${t.appendHeight.value}px)`),{width:u.value?`${u.value}px`:"",height:N}}),q=(N,W)=>{const Y=o.refs.bodyWrapper;if(Math.abs(W.spinY)>0){const J=Y.scrollTop;W.pixelY<0&&J!==0&&N.preventDefault(),W.pixelY>0&&Y.scrollHeight-Y.clientHeight>J&&N.preventDefault(),Y.scrollTop+=Math.ceil(W.pixelY/5)}else Y.scrollLeft+=Math.ceil(W.pixelX/5)},R=C(()=>e.maxHeight?e.showSummary?{bottom:0}:{bottom:t.scrollX.value&&e.data.length?`${t.gutterWidth}px`:""}:e.showSummary?{height:t.tableHeight.value?`${t.tableHeight.value}px`:""}:{height:t.viewportHeight.value?`${t.viewportHeight.value}px`:""}),E=C(()=>{if(e.height)return{height:t.fixedBodyHeight.value?`${t.fixedBodyHeight.value}px`:""};if(e.maxHeight){let N=lu(e.maxHeight);if(typeof N=="number")return N=t.scrollX.value?N-t.gutterWidth:N,e.showHeader&&(N-=t.headerHeight.value),N-=t.footerHeight.value,{"max-height":`${N}px`}}return{}});return{isHidden:r,renderExpanded:a,setDragVisible:l,isGroup:c,handleMouseLeave:p,handleHeaderFooterMousewheel:f,tableSize:z,bodyHeight:F,height:L,emptyBlockStyle:V,handleFixedMousewheel:q,fixedHeight:R,fixedBodyHeight:E,resizeProxyVisible:i,bodyWidth:P,resizeState:s,doLayout:m,tableBodyStyles:b,tableLayout:O,scrollbarViewStyle:d}}var ZK={data:{type:Array,default:()=>[]},size:String,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1}};const JK=()=>{const e=A(),t=(a,i)=>{const l=e.value;l&&l.scrollTo(a,i)},n=(a,i)=>{const l=e.value;l&&mt(i)&&["Top","Left"].includes(a)&&l[`setScroll${a}`](i)};return{scrollBarRef:e,scrollTo:t,setScrollTop:a=>n("Top",a),setScrollLeft:a=>n("Left",a)}};let QK=1;const eW=ee({name:"ElTable",directives:{Mousewheel:xR},components:{TableHeader:VK,TableBody:KK,TableFooter:YK,ElScrollbar:qo,hColgroup:qp},props:ZK,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(e){const{t}=Tt(),n=ke("table"),o=nt();ot(xo,o);const r=SK(o,e);o.store=r;const a=new AK({store:o.store,table:o,fit:e.fit,showHeader:e.showHeader});o.layout=a;const i=C(()=>(r.states.data.value||[]).length===0),{setCurrentRow:l,getSelectionRows:s,toggleRowSelection:c,clearSelection:d,clearFilter:u,toggleAllSelection:p,toggleRowExpansion:f,clearSort:h,sort:b}=GK(r),{isHidden:m,renderExpanded:g,setDragVisible:v,isGroup:y,handleMouseLeave:T,handleHeaderFooterMousewheel:x,tableSize:k,bodyHeight:$,height:z,emptyBlockStyle:P,handleFixedMousewheel:O,fixedHeight:D,fixedBodyHeight:L,resizeProxyVisible:F,bodyWidth:V,resizeState:q,doLayout:R,tableBodyStyles:E,tableLayout:N,scrollbarViewStyle:W}=XK(e,a,r,o),{scrollBarRef:Y,scrollTo:J,setScrollLeft:Z,setScrollTop:se}=JK(),Se=bn(R,50),oe=`el-table_${QK++}`;o.tableId=oe,o.state={isGroup:y,resizeState:q,doLayout:R,debouncedUpdateLayout:Se};const H=C(()=>e.sumText||t("el.table.sumText")),ne=C(()=>e.emptyText||t("el.table.emptyText"));return{ns:n,layout:a,store:r,handleHeaderFooterMousewheel:x,handleMouseLeave:T,tableId:oe,tableSize:k,isHidden:m,isEmpty:i,renderExpanded:g,resizeProxyVisible:F,resizeState:q,isGroup:y,bodyWidth:V,bodyHeight:$,height:z,tableBodyStyles:E,emptyBlockStyle:P,debouncedUpdateLayout:Se,handleFixedMousewheel:O,fixedHeight:D,fixedBodyHeight:L,setCurrentRow:l,getSelectionRows:s,toggleRowSelection:c,clearSelection:d,clearFilter:u,toggleAllSelection:p,toggleRowExpansion:f,clearSort:h,doLayout:R,sort:b,t,setDragVisible:v,context:o,computedSumText:H,computedEmptyText:ne,tableLayout:N,scrollbarViewStyle:W,scrollBarRef:Y,scrollTo:J,setScrollLeft:Z,setScrollTop:se}}}),tW=["data-prefix"],nW={ref:"hiddenColumns",class:"hidden-columns"};function oW(e,t,n,o,r,a){const i=le("hColgroup"),l=le("table-header"),s=le("table-body"),c=le("el-scrollbar"),d=le("table-footer"),u=In("mousewheel");return w(),I("div",{ref:"tableWrapper",class:S([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:Oe(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[0]||(t[0]=p=>e.handleMouseLeave())},[M("div",{class:S(e.ns.e("inner-wrapper"))},[M("div",nW,[ue(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?Ue((w(),I("div",{key:0,ref:"headerWrapper",class:S(e.ns.e("header-wrapper"))},[M("table",{ref:"tableHeader",class:S(e.ns.e("header")),style:Oe(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[U(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),U(l,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[u,e.handleHeaderFooterMousewheel]]):G("v-if",!0),M("div",{ref:"bodyWrapper",style:Oe(e.bodyHeight),class:S(e.ns.e("body-wrapper"))},[U(c,{ref:"scrollBarRef",height:e.maxHeight?void 0:e.height,"max-height":e.maxHeight?e.height:void 0,"view-style":e.scrollbarViewStyle,always:e.scrollbarAlwaysOn},{default:K(()=>[M("table",{ref:"tableBody",class:S(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:Oe({width:e.bodyWidth,tableLayout:e.tableLayout})},[U(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(w(),Q(l,{key:0,border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):G("v-if",!0),U(s,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","row-style","store","stripe"])],6),e.isEmpty?(w(),I("div",{key:0,ref:"emptyBlock",style:Oe(e.emptyBlockStyle),class:S(e.ns.e("empty-block"))},[M("span",{class:S(e.ns.e("empty-text"))},[ue(e.$slots,"empty",{},()=>[it(ve(e.computedEmptyText),1)])],2)],6)):G("v-if",!0),e.$slots.append?(w(),I("div",{key:1,ref:"appendWrapper",class:S(e.ns.e("append-wrapper"))},[ue(e.$slots,"append")],2)):G("v-if",!0)]),_:3},8,["height","max-height","view-style","always"])],6),e.border||e.isGroup?(w(),I("div",{key:1,class:S(e.ns.e("border-left-patch"))},null,2)):G("v-if",!0)],2),e.showSummary?Ue((w(),I("div",{key:0,ref:"footerWrapper",class:S(e.ns.e("footer-wrapper"))},[U(d,{border:e.border,"default-sort":e.defaultSort,store:e.store,style:Oe(e.tableBodyStyles),"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[ft,!e.isEmpty],[u,e.handleHeaderFooterMousewheel]]):G("v-if",!0),Ue(M("div",{ref:"resizeProxy",class:S(e.ns.e("column-resize-proxy"))},null,2),[[ft,e.resizeProxyVisible]])],46,tW)}var rW=_e(eW,[["render",oW],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const aW={selection:"table-column--selection",expand:"table__expand-column"},iW={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},lW=e=>aW[e]||"",sW={selection:{renderHeader({store:e}){function t(){return e.states.data.value&&e.states.data.value.length===0}return Re(lo,{disabled:t(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value})},renderCell({row:e,column:t,store:n,$index:o}){return Re(lo,{disabled:t.selectable?!t.selectable.call(null,e,o):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:r=>r.stopPropagation(),modelValue:n.isSelected(e)})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const o=e.index;return typeof o=="number"?n=t+o:typeof o=="function"&&(n=o(t)),Re("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({row:e,store:t,expanded:n}){const{ns:o}=t,r=[o.e("expand-icon")];return n&&r.push(o.em("expand-icon","expanded")),Re("div",{class:r,onClick:function(i){i.stopPropagation(),t.toggleRowExpansion(e)}},{default:()=>[Re(qe,null,{default:()=>[Re(Yn)]})]})},sortable:!1,resizable:!1}};function cW({row:e,column:t,$index:n}){var o;const r=t.property,a=r&&Bl(e,r).value;return t&&t.formatter?t.formatter(e,t,a,n):((o=a==null?void 0:a.toString)==null?void 0:o.call(a))||""}function dW({row:e,treeNode:t,store:n},o=!1){const{ns:r}=n;if(!t)return o?[Re("span",{class:r.e("placeholder")})]:null;const a=[],i=function(l){l.stopPropagation(),n.loadOrToggle(e)};if(t.indent&&a.push(Re("span",{class:r.e("indent"),style:{"padding-left":`${t.indent}px`}})),typeof t.expanded=="boolean"&&!t.noLazyChildren){const l=[r.e("expand-icon"),t.expanded?r.em("expand-icon","expanded"):""];let s=Yn;t.loading&&(s=hr),a.push(Re("div",{class:l,onClick:i},{default:()=>[Re(qe,{class:{[r.is("loading")]:t.loading}},{default:()=>[Re(s)]})]}))}else a.push(Re("span",{class:r.e("placeholder")}));return a}function Cg(e,t){return e.reduce((n,o)=>(n[o]=o,n),t)}function uW(e,t){const n=nt();return{registerComplexWatchers:()=>{const a=["fixed"],i={realWidth:"width",realMinWidth:"minWidth"},l=Cg(a,i);Object.keys(l).forEach(s=>{const c=i[s];lt(t,c)&&ge(()=>t[c],d=>{let u=d;c==="width"&&s==="realWidth"&&(u=Bp(d)),c==="minWidth"&&s==="realMinWidth"&&(u=L_(d)),n.columnConfig.value[c]=u,n.columnConfig.value[s]=u;const p=c==="fixed";e.value.store.scheduleLayout(p)})})},registerNormalWatchers:()=>{const a=["label","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],i={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},l=Cg(a,i);Object.keys(l).forEach(s=>{const c=i[s];lt(t,c)&&ge(()=>t[c],d=>{n.columnConfig.value[s]=d})})}}}function pW(e,t,n){const o=nt(),r=A(""),a=A(!1),i=A(),l=A(),s=ke("table");Dn(()=>{i.value=e.align?`is-${e.align}`:null,i.value}),Dn(()=>{l.value=e.headerAlign?`is-${e.headerAlign}`:i.value,l.value});const c=C(()=>{let y=o.vnode.vParent||o.parent;for(;y&&!y.tableId&&!y.columnId;)y=y.vnode.vParent||y.parent;return y}),d=C(()=>{const{store:y}=o.parent;if(!y)return!1;const{treeData:T}=y.states,x=T.value;return x&&Object.keys(x).length>0}),u=A(Bp(e.width)),p=A(L_(e.minWidth)),f=y=>(u.value&&(y.width=u.value),p.value&&(y.minWidth=p.value),y.minWidth||(y.minWidth=80),y.realWidth=Number(y.width===void 0?y.minWidth:y.width),y),h=y=>{const T=y.type,x=sW[T]||{};Object.keys(x).forEach($=>{const z=x[$];$!=="className"&&z!==void 0&&(y[$]=z)});const k=lW(T);if(k){const $=`${_(s.namespace)}-${k}`;y.className=y.className?`${y.className} ${$}`:$}return y},b=y=>{Array.isArray(y)?y.forEach(x=>T(x)):T(y);function T(x){var k;((k=x==null?void 0:x.type)==null?void 0:k.name)==="ElTableColumn"&&(x.vParent=o)}};return{columnId:r,realAlign:i,isSubColumn:a,realHeaderAlign:l,columnOrTableParent:c,setColumnWidth:f,setColumnForcedProps:h,setColumnRenders:y=>{e.renderHeader||y.type!=="selection"&&(y.renderHeader=k=>{o.columnConfig.value.label;const $=t.header;return $?$(k):y.label});let T=y.renderCell;const x=d.value;return y.type==="expand"?(y.renderCell=k=>Re("div",{class:"cell"},[T(k)]),n.value.renderExpanded=k=>t.default?t.default(k):t.default):(T=T||cW,y.renderCell=k=>{let $=null;if(t.default){const D=t.default(k);$=D.some(L=>L.type!==dn)?D:T(k)}else $=T(k);const z=x&&k.cellIndex===0,P=dW(k,z),O={class:"cell",style:{}};return y.showOverflowTooltip&&(O.class=`${O.class} ${_(s.namespace)}-tooltip`,O.style={width:`${(k.column.realWidth||Number(k.column.width))-1}px`}),b($),Re("div",O,[P,$])}),y},getPropsData:(...y)=>y.reduce((T,x)=>(Array.isArray(x)&&x.forEach(k=>{T[k]=e[k]}),T),{}),getColumnElIndex:(y,T)=>Array.prototype.indexOf.call(y,T)}}var fW={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showTooltipWhenOverflow:Boolean,showOverflowTooltip:Boolean,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let hW=1;var W_=ee({name:"ElTableColumn",components:{ElCheckbox:lo},props:fW,setup(e,{slots:t}){const n=nt(),o=A({}),r=C(()=>{let v=n.parent;for(;v&&!v.tableId;)v=v.parent;return v}),{registerNormalWatchers:a,registerComplexWatchers:i}=uW(r,e),{columnId:l,isSubColumn:s,realHeaderAlign:c,columnOrTableParent:d,setColumnWidth:u,setColumnForcedProps:p,setColumnRenders:f,getPropsData:h,getColumnElIndex:b,realAlign:m}=pW(e,t,r),g=d.value;l.value=`${g.tableId||g.columnId}_column_${hW++}`,Ji(()=>{s.value=r.value!==g;const v=e.type||"default",y=e.sortable===""?!0:e.sortable,T=ze(he({},iW[v]),{id:l.value,type:v,property:e.prop||e.property,align:m,headerAlign:c,showOverflowTooltip:e.showOverflowTooltip||e.showTooltipWhenOverflow,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:y,index:e.index,rawColumnKey:n.vnode.key});let P=h(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);P=gK(T,P),P=bK(f,u,p)(P),o.value=P,a(),i()}),et(()=>{var v;const y=d.value,T=s.value?y.vnode.el.children:(v=y.refs.hiddenColumns)==null?void 0:v.children,x=()=>b(T||[],n.vnode.el);o.value.getColumnIndex=x,x()>-1&&r.value.store.commit("insertColumn",o.value,s.value?y.columnConfig.value:null)}),$t(()=>{r.value.store.commit("removeColumn",o.value,s.value?g.columnConfig.value:null)}),n.columnId=l.value,n.columnConfig=o},render(){var e,t,n;try{const o=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),r=[];if(Array.isArray(o))for(const i of o)((n=i.type)==null?void 0:n.name)==="ElTableColumn"||i.shapeFlag&2?r.push(i):i.type===Fe&&Array.isArray(i.children)&&i.children.forEach(l=>{(l==null?void 0:l.patchFlag)!==1024&&!Qe(l==null?void 0:l.children)&&r.push(l)});return Re("div",r)}catch{return Re("div",[])}}});const mW=rt(rW,{TableColumn:W_}),gW=Dt(W_),bW=Le({tabs:{type:Te(Array),default:()=>Ft([])}}),vW={name:"ElTabBar"},yW=ee(ze(he({},vW),{props:bW,setup(e,{expose:t}){const n=e,o="ElTabBar",r=nt(),a=Ie(sc);a||Wt(o,"");const i=ke("tabs"),l=A(),s=A(),c=()=>{let u=0,p=0;const f=["top","bottom"].includes(a.props.tabPosition)?"width":"height",h=f==="width"?"x":"y";return n.tabs.every(b=>{var m,g,v,y;const T=(g=(m=r.parent)==null?void 0:m.refs)==null?void 0:g[`tab-${b.paneName}`];if(!T)return!1;if(!b.active)return!0;p=T[`client${kn(f)}`];const x=h==="x"?"left":"top";u=T.getBoundingClientRect()[x]-((y=(v=T.parentElement)==null?void 0:v.getBoundingClientRect()[x])!=null?y:0);const k=window.getComputedStyle(T);return f==="width"&&(n.tabs.length>1&&(p-=Number.parseFloat(k.paddingLeft)+Number.parseFloat(k.paddingRight)),u+=Number.parseFloat(k.paddingLeft)),!1}),{[f]:`${p}px`,transform:`translate${kn(h)}(${u}px)`}},d=()=>s.value=c();return ge(()=>n.tabs,async()=>{await je(),d()},{immediate:!0}),Ba(l,()=>d()),t({ref:l,update:d}),(u,p)=>(w(),I("div",{ref_key:"barRef",ref:l,class:S([_(i).e("active-bar"),_(i).is(_(a).props.tabPosition)]),style:Oe(s.value)},null,6))}}));var _W=_e(yW,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const wW=Le({panes:{type:Te(Array),default:()=>Ft([])},currentName:{type:[String,Number],default:""},editable:Boolean,onTabClick:{type:Te(Function),default:wt},onTabRemove:{type:Te(Function),default:wt},type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),Sg="ElTabNav",xW=ee({name:Sg,props:wW,setup(e,{expose:t}){const n=Ie(sc);n||Wt(Sg,"");const o=ke("tabs"),r=i$(),a=d$(),i=A(),l=A(),s=A(),c=A(!1),d=A(0),u=A(!1),p=A(!0),f=C(()=>["top","bottom"].includes(n.props.tabPosition)?"width":"height"),h=C(()=>({transform:`translate${f.value==="width"?"X":"Y"}(-${d.value}px)`})),b=()=>{if(!i.value)return;const k=i.value[`offset${kn(f.value)}`],$=d.value;if(!$)return;const z=$>k?$-k:0;d.value=z},m=()=>{if(!i.value||!l.value)return;const k=l.value[`offset${kn(f.value)}`],$=i.value[`offset${kn(f.value)}`],z=d.value;if(k-z<=$)return;const P=k-z>$*2?z+$:k-$;d.value=P},g=()=>{const k=l.value;if(!c.value||!s.value||!i.value||!k)return;const $=s.value.querySelector(".is-active");if(!$)return;const z=i.value,P=["top","bottom"].includes(n.props.tabPosition),O=$.getBoundingClientRect(),D=z.getBoundingClientRect(),L=P?k.offsetWidth-D.width:k.offsetHeight-D.height,F=d.value;let V=F;P?(O.leftD.right&&(V=F+O.right-D.right)):(O.topD.bottom&&(V=F+(O.bottom-D.bottom))),V=Math.max(V,0),d.value=Math.min(V,L)},v=()=>{if(!l.value||!i.value)return;const k=l.value[`offset${kn(f.value)}`],$=i.value[`offset${kn(f.value)}`],z=d.value;if($0&&(d.value=0)},y=k=>{const $=k.code,{up:z,down:P,left:O,right:D}=Pe;if(![z,P,O,D].includes($))return;const L=Array.from(k.currentTarget.querySelectorAll("[role=tab]")),F=L.indexOf(k.target);let V;$===O||$===z?F===0?V=L.length-1:V=F-1:F{p.value&&(u.value=!0)},x=()=>u.value=!1;return ge(r,k=>{k==="hidden"?p.value=!1:k==="visible"&&setTimeout(()=>p.value=!0,50)}),ge(a,k=>{k?setTimeout(()=>p.value=!0,50):p.value=!1}),Ba(s,v),et(()=>setTimeout(()=>g(),0)),Un(()=>v()),t({scrollToActiveTab:g,removeFocus:x}),()=>{const k=c.value?[U("span",{class:[o.e("nav-prev"),o.is("disabled",!c.value.prev)],onClick:b},[U(qe,null,{default:()=>[U(Xr,null,null)]})]),U("span",{class:[o.e("nav-next"),o.is("disabled",!c.value.next)],onClick:m},[U(qe,null,{default:()=>[U(Yn,null,null)]})])]:null,$=e.panes.map((z,P)=>{var O,D;const L=z.props.name||z.index||`${P}`,F=z.isClosable||e.editable;z.index=`${P}`;const V=F?U(qe,{class:"is-icon-close",onClick:E=>e.onTabRemove(z,E)},{default:()=>[U(Hn,null,null)]}):null,q=((D=(O=z.instance.slots).label)==null?void 0:D.call(O))||z.props.label,R=z.active?0:-1;return U("div",{ref:`tab-${L}`,class:[o.e("item"),o.is(n.props.tabPosition),o.is("active",z.active),o.is("disabled",z.props.disabled),o.is("closable",F),o.is("focus",u.value)],id:`tab-${L}`,key:`tab-${L}`,"aria-controls":`pane-${L}`,role:"tab","aria-selected":z.active,tabindex:R,onFocus:()=>T(),onBlur:()=>x(),onClick:E=>{x(),e.onTabClick(z,L,E)},onKeydown:E=>{F&&(E.code===Pe.delete||E.code===Pe.backspace)&&e.onTabRemove(z,E)}},[q,V])});return U("div",{ref:s,class:[o.e("nav-wrap"),o.is("scrollable",!!c.value),o.is(n.props.tabPosition)]},[k,U("div",{class:o.e("nav-scroll"),ref:i},[U("div",{class:[o.e("nav"),o.is(n.props.tabPosition),o.is("stretch",e.stretch&&["top","bottom"].includes(n.props.tabPosition))],ref:l,style:h.value,role:"tablist",onKeydown:y},[e.type?null:U(_W,{tabs:[...e.panes]},null),$])])])}}}),kW=Le({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number],default:""},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:Te(Function),default:()=>!0},stretch:Boolean}),zl=e=>Qe(e)||mt(e),TW={[tt]:e=>zl(e),[pr]:e=>zl(e),"tab-click":(e,t)=>t instanceof Event,"tab-change":e=>zl(e),edit:(e,t)=>["remove","add"].includes(t),"tab-remove":e=>zl(e),"tab-add":()=>!0},U_=(e,t=[])=>{const n=e.children||[];return Array.from(n).forEach(o=>{let r=o.type;r=r.name||r,r==="ElTabPane"&&o.component?t.push(o.component):(r===Fe||r==="template")&&U_(o,t)}),t};var CW=ee({name:"ElTabs",props:kW,emits:TW,setup(e,{emit:t,slots:n,expose:o}){const r=nt();il({scope:"el-tabs",type:"Event",from:"input",replacement:"tab-change",version:"2.5.0",ref:"https://element-plus.org/en-US/component/tabs.html#tabs-events"},C(()=>{var m;return Je((m=r.vnode.props)==null?void 0:m.onInput)}));const a=ke("tabs"),i=A(),l=A([]),s=A(e.modelValue||e.activeName||"0"),c={},d=(m=!1)=>{if(n.default){const g=r.subTree.children,v=Array.from(g).find(({props:x})=>(x==null?void 0:x.class)===a.e("content"));if(!v)return;const y=U_(v).map(x=>c[x.uid]),T=!(y.length===l.value.length&&y.every((x,k)=>x.uid===l.value[k].uid));(m||T)&&(l.value=y)}else l.value.length!==0&&(l.value=[])},u=m=>{s.value=m,t(pr,m),t(tt,m),t("tab-change",m)},p=m=>{var g;if(s.value===m)return;const v=(g=e.beforeLeave)==null?void 0:g.call(e,m,s.value);Vr(v)?v.then(()=>{var y,T;u(m),(T=(y=i.value)==null?void 0:y.removeFocus)==null||T.call(y)},wt):v!==!1&&u(m)},f=(m,g,v)=>{m.props.disabled||(p(g),t("tab-click",m,v))},h=(m,g)=>{m.props.disabled||(g.stopPropagation(),t("edit",m.props.name,"remove"),t("tab-remove",m.props.name))},b=()=>{t("edit",void 0,"add"),t("tab-add")};return Un(()=>d()),et(()=>d()),ge(()=>e.activeName,m=>p(m)),ge(()=>e.modelValue,m=>p(m)),ge(s,async()=>{var m,g;d(!0),await je(),await((m=i.value)==null?void 0:m.$nextTick()),(g=i.value)==null||g.scrollToActiveTab()}),ot(sc,{props:e,currentName:s,updatePaneState:m=>c[m.uid]=m}),o({currentName:s}),()=>{const m=e.editable||e.addable?U("span",{class:a.e("new-tab"),tabindex:"0",onClick:b,onKeydown:y=>{y.code===Pe.enter&&b()}},[U(qe,{class:a.is("icon-plus")},{default:()=>[U(Xv,null,null)]})]):null,g=U("div",{class:[a.e("header"),a.is(e.tabPosition)]},[m,U(xW,{ref:i,currentName:s.value,editable:e.editable,type:e.type,panes:l.value,stretch:e.stretch,onTabClick:f,onTabRemove:h},null)]),v=U("div",{class:a.e("content")},[ue(n,"default")]);return U("div",{class:[a.b(),a.m(e.tabPosition),{[a.m("card")]:e.type==="card",[a.m("border-card")]:e.type==="border-card"}]},[...e.tabPosition!=="bottom"?[g,v]:[v,g]])}}});const SW=Le({label:{type:String,default:""},name:{type:[String,Number],default:""},closable:Boolean,disabled:Boolean,lazy:Boolean}),$W=["id","aria-hidden","aria-labelledby"],AW={name:"ElTabPane"},EW=ee(ze(he({},AW),{props:SW,setup(e){const t=e,n="ElTabPane",o=nt(),r=Ie(sc);r||Wt(n,"usage: ");const a=ke("tab-pane"),i=A(),l=C(()=>t.closable||r.props.closable),s=qh(()=>r.currentName.value===(t.name||i.value)),c=A(s.value),d=C(()=>t.name||i.value),u=qh(()=>!t.lazy||c.value||s.value);return ge(s,p=>{p&&(c.value=!0)}),r.updatePaneState(vt({uid:o.uid,instance:Ai(o),props:t,paneName:d,active:s,index:i,isClosable:l})),(p,f)=>_(u)?Ue((w(),I("div",{key:0,id:`pane-${_(d)}`,class:S(_(a).b()),role:"tabpanel","aria-hidden":!_(s),"aria-labelledby":`tab-${_(d)}`},[ue(p.$slots,"default")],10,$W)),[[ft,_(s)]]):G("v-if",!0)}}));var Y_=_e(EW,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const zW=rt(CW,{TabPane:Y_}),IW=Dt(Y_);Ge.extend(Cp);const{Option:NW}=qr,$o=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const o=Number.parseInt(t[1],10),r=e.toUpperCase();return r.includes("AM")&&n===12?n=0:r.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:o}}return null},ed=(e,t)=>{const n=$o(e),o=$o(t),r=n.minutes+n.hours*60,a=o.minutes+o.hours*60;return r===a?0:r>a?1:-1},$g=e=>`${e}`.padStart(2,"0"),sa=e=>`${$g(e.hours)}:${$g(e.minutes)}`,MW=(e,t)=>{const n=$o(e),o=$o(t),r={hours:n.hours,minutes:n.minutes};return r.minutes+=o.minutes,r.hours+=o.hours,r.hours+=Math.floor(r.minutes/60),r.minutes=r.minutes%60,sa(r)},RW=ee({name:"ElTimeSelect",components:{ElSelect:qr,ElOption:NW,ElIcon:qe},model:{prop:"value",event:"change"},props:{format:{type:String,default:"HH:mm"},modelValue:String,disabled:{type:Boolean,default:!1},editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:{type:String,values:wo,default:""},placeholder:{type:String,default:""},start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:{type:String,default:""},maxTime:{type:String,default:""},name:{type:String,default:""},prefixIcon:{type:[String,Object],default:Gv},clearIcon:{type:[String,Object],default:Oo}},emits:["change","blur","focus","update:modelValue"],setup(e){const t=A(null),n=C(()=>e.modelValue),o=C(()=>{const u=$o(e.start);return sa(u)}),r=C(()=>{const u=$o(e.end);return sa(u)}),a=C(()=>{const u=$o(e.step);return sa(u)}),i=C(()=>{const u=$o(e.minTime);return u?sa(u):null}),l=C(()=>{const u=$o(e.maxTime);return u?sa(u):null}),s=C(()=>{const u=[];if(e.start&&e.end&&e.step){let p=o.value,f;for(;ed(p,r.value)<=0;)f=Ge(p,"HH:mm").format(e.format),u.push({value:f,disabled:ed(p,i.value||"-1:-1")<=0||ed(p,l.value||"100:100")>=0}),p=MW(p,a.value)}return u});return{select:t,value:n,items:s,blur:()=>{var u,p;(p=(u=t.value)==null?void 0:u.blur)==null||p.call(u)},focus:()=>{var u,p;(p=(u=t.value)==null?void 0:u.focus)==null||p.call(u)}}}});function PW(e,t,n,o,r,a){const i=le("el-option"),l=le("el-icon"),s=le("el-select");return w(),Q(s,{ref:"select","model-value":e.value,disabled:e.disabled,clearable:e.clearable,"clear-icon":e.clearIcon,size:e.size,effect:e.effect,placeholder:e.placeholder,"default-first-option":"",filterable:e.editable,"onUpdate:modelValue":t[0]||(t[0]=c=>e.$emit("update:modelValue",c)),onChange:t[1]||(t[1]=c=>e.$emit("change",c)),onBlur:t[2]||(t[2]=c=>e.$emit("blur",c)),onFocus:t[3]||(t[3]=c=>e.$emit("focus",c))},{prefix:K(()=>[e.prefixIcon?(w(),Q(l,{key:0,class:"el-input__prefix-icon"},{default:K(()=>[(w(),Q(pt(e.prefixIcon)))]),_:1})):G("v-if",!0)]),default:K(()=>[(w(!0),I(Fe,null,ct(e.items,c=>(w(),Q(i,{key:c.value,label:c.value,value:c.value,disabled:c.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable"])}var is=_e(RW,[["render",PW],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-select/src/time-select.vue"]]);is.install=e=>{e.component(is.name,is)};const OW=is,FW=OW,DW=ee({name:"ElTimeline",setup(e,{slots:t}){const n=ke("timeline");return ot("timeline",t),()=>Re("ul",{class:[n.b()]},[ue(t,"default")])}}),LW=Le({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},type:{type:String,default:""},color:{type:String,default:""},size:{type:String,default:"normal"},icon:{type:an,default:""},hollow:{type:Boolean,default:!1}}),VW=ee({name:"ElTimelineItem",components:{ElIcon:qe},props:LW,setup(){return{ns:ke("timeline-item")}}});function BW(e,t,n,o,r,a){const i=le("el-icon");return w(),I("li",{class:S([e.ns.b(),{[e.ns.e("center")]:e.center}])},[M("div",{class:S(e.ns.e("tail"))},null,2),e.$slots.dot?G("v-if",!0):(w(),I("div",{key:0,class:S([e.ns.e("node"),e.ns.em("node",e.size||""),e.ns.em("node",e.type||""),e.ns.is("hollow",e.hollow)]),style:Oe({backgroundColor:e.color})},[e.icon?(w(),Q(i,{key:0,class:S(e.ns.e("icon"))},{default:K(()=>[(w(),Q(pt(e.icon)))]),_:1},8,["class"])):G("v-if",!0)],6)),e.$slots.dot?(w(),I("div",{key:1,class:S(e.ns.e("dot"))},[ue(e.$slots,"dot")],2)):G("v-if",!0),M("div",{class:S(e.ns.e("wrapper"))},[!e.hideTimestamp&&e.placement==="top"?(w(),I("div",{key:0,class:S([e.ns.e("timestamp"),e.ns.is("top")])},ve(e.timestamp),3)):G("v-if",!0),M("div",{class:S(e.ns.e("content"))},[ue(e.$slots,"default")],2),!e.hideTimestamp&&e.placement==="bottom"?(w(),I("div",{key:1,class:S([e.ns.e("timestamp"),e.ns.is("bottom")])},ve(e.timestamp),3)):G("v-if",!0)],2)],2)}var G_=_e(VW,[["render",BW],["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);const jW=rt(DW,{TimelineItem:G_}),HW=Dt(G_),X_=Le({nowrap:Boolean});var Z_=(e=>(e.top="top",e.bottom="bottom",e.left="left",e.right="right",e))(Z_||{});const qW=Object.values(Z_),Kp=Le({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:Te(Object),default:null}}),KW=Le({side:{type:Te(String),values:qW,required:!0}}),WW=["absolute","fixed"],UW=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],Wp=Le({ariaLabel:String,arrowPadding:{type:Te(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:Te(String),values:UW,default:"bottom"},reference:{type:Te(Object),default:null},offset:{type:Number,default:8},strategy:{type:Te(String),values:WW,default:"absolute"},showArrow:{type:Boolean,default:!1}}),Up=Le({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:Te(Function)},"onUpdate:open":{type:Te(Function)}}),ra={type:Te(Function)},Yp=Le({onBlur:ra,onClick:ra,onFocus:ra,onMouseDown:ra,onMouseEnter:ra,onMouseLeave:ra}),YW=Le(ze(he(he(he(he({},Up),Kp),Yp),Wp),{alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:Te(Object),default:null},teleported:Boolean,to:{type:Te(String),default:"body"}})),GW={name:"ElTooltipV2Root"},XW=ee(ze(he({},GW),{props:Up,setup(e,{expose:t}){const n=e,o=A(n.defaultOpen),r=A(null),a=C({get:()=>m$(n.open)?o.value:n.open,set:m=>{var g;o.value=m,(g=n["onUpdate:open"])==null||g.call(n,m)}}),i=C(()=>mt(n.delayDuration)&&n.delayDuration>0),{start:l,stop:s}=jr(()=>{a.value=!0},C(()=>n.delayDuration),{immediate:!1}),c=ke("tooltip-v2"),d=fp(),u=()=>{s(),a.value=!0},p=()=>{_(i)?l():u()},f=u,h=()=>{s(),a.value=!1};return ge(a,m=>{var g;m&&(document.dispatchEvent(new CustomEvent(Rc)),f()),(g=n.onOpenChange)==null||g.call(n,m)}),et(()=>{document.addEventListener(Rc,h)}),$t(()=>{s(),document.removeEventListener(Rc,h)}),ot(cc,{contentId:d,triggerRef:r,ns:c,onClose:h,onDelayOpen:p,onOpen:f}),t({onOpen:f,onClose:h}),(m,g)=>ue(m.$slots,"default",{open:_(a)})}}));var ZW=_e(XW,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/root.vue"]]);const JW={name:"ElTooltipV2Arrow"},QW=ee(ze(he({},JW),{props:he(he({},Kp),KW),setup(e){const t=e,{ns:n}=Ie(cc),{arrowRef:o}=Ie(vy),r=C(()=>{const{style:a,width:i,height:l}=t,s=n.namespace.value;return he({[`--${s}-tooltip-v2-arrow-width`]:`${i}px`,[`--${s}-tooltip-v2-arrow-height`]:`${l}px`,[`--${s}-tooltip-v2-arrow-border-width`]:`${i/2}px`,[`--${s}-tooltip-v2-arrow-cover-width`]:i/2-1},a||{})});return(a,i)=>(w(),I("span",{ref_key:"arrowRef",ref:o,style:Oe(_(r)),class:S(_(n).e("arrow"))},null,6))}}));var Ag=_e(QW,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/arrow.vue"]]);const eU=["data-side"],tU={name:"ElTooltipV2Content"},nU=ee(ze(he({},tU),{props:he(he({},Wp),X_),setup(e){const t=e,{triggerRef:n,contentId:o}=Ie(cc),r=A(t.placement),a=A(t.strategy),i=A(null),{referenceRef:l,contentRef:s,middlewareData:c,x:d,y:u,update:p}=C8({placement:r,strategy:a,middleware:C(()=>{const y=[v8(t.offset)];return t.showArrow&&y.push(S8({arrowRef:i})),y})}),f=jo().nextZIndex(),h=ke("tooltip-v2"),b=C(()=>r.value.split("-")[0]),m=C(()=>({position:_(a),top:`${_(u)||0}px`,left:`${_(d)||0}px`,zIndex:f})),g=C(()=>{if(!t.showArrow)return{};const{arrow:y}=_(c);return{[`--${h.namespace.value}-tooltip-v2-arrow-x`]:`${y==null?void 0:y.x}px`||"",[`--${h.namespace.value}-tooltip-v2-arrow-y`]:`${y==null?void 0:y.y}px`||""}}),v=C(()=>[h.e("content"),h.is("dark",t.effect==="dark"),h.is(_(a)),t.contentClass]);return ge(i,()=>p()),ge(()=>t.placement,y=>r.value=y),et(()=>{ge(()=>t.reference||n.value,y=>{l.value=y||void 0},{immediate:!0})}),ot(vy,{arrowRef:i}),(y,T)=>(w(),I("div",{ref_key:"contentRef",ref:s,style:Oe(_(m)),"data-tooltip-v2-root":""},[y.nowrap?G("v-if",!0):(w(),I("div",{key:0,"data-side":_(b),class:S(_(v))},[ue(y.$slots,"default",{contentStyle:_(m),contentClass:_(v)}),U(_(Xy),{id:_(o),role:"tooltip"},{default:K(()=>[y.ariaLabel?(w(),I(Fe,{key:0},[it(ve(y.ariaLabel),1)],2112)):ue(y.$slots,"default",{key:1})]),_:3},8,["id"]),ue(y.$slots,"arrow",{style:Oe(_(g)),side:_(b)})],10,eU))],4))}}));var Eg=_e(nU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/content.vue"]]);const oU=Le({setRef:{type:Te(Function),required:!0},onlyChild:Boolean});var rU=ee({props:oU,setup(e,{slots:t}){const n=A(),o=sp(n,r=>{r?e.setRef(r.nextElementSibling):e.setRef(null)});return()=>{var r;const[a]=((r=t.default)==null?void 0:r.call(t))||[],i=e.onlyChild?Fz(a.children):a.children;return U(Fe,{ref:o},[i])}}});const aU={name:"ElTooltipV2Trigger"},iU=ee(ze(he({},aU),{props:he(he({},X_),Yp),setup(e){const t=e,{onClose:n,onOpen:o,onDelayOpen:r,triggerRef:a,contentId:i}=Ie(cc);let l=!1;const s=v=>{a.value=v},c=()=>{l=!1},d=Ot(t.onMouseEnter,r),u=Ot(t.onMouseLeave,n),p=Ot(t.onMouseDown,()=>{n(),l=!0,document.addEventListener("mouseup",c,{once:!0})}),f=Ot(t.onFocus,()=>{l||o()}),h=Ot(t.onBlur,n),b=Ot(t.onClick,v=>{v.detail===0&&n()}),m={blur:h,click:b,focus:f,mousedown:p,mouseenter:d,mouseleave:u},g=(v,y,T)=>{v&&Object.entries(y).forEach(([x,k])=>{v[T](x,k)})};return ge(a,(v,y)=>{g(v,m,"addEventListener"),g(y,m,"removeEventListener"),v&&v.setAttribute("aria-describedby",i.value)}),$t(()=>{g(a.value,m,"removeEventListener"),document.removeEventListener("mouseup",c)}),(v,y)=>v.nowrap?(w(),Q(_(rU),{key:0,"set-ref":s,"only-child":""},{default:K(()=>[ue(v.$slots,"default")]),_:3})):(w(),I("button",St({key:1,ref_key:"triggerRef",ref:a},v.$attrs),[ue(v.$slots,"default")],16))}}));var lU=_e(iU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/trigger.vue"]]);const sU={name:"ElTooltipV2"},cU=ee(ze(he({},sU),{props:YW,setup(e){const n=Gt(e),o=vt(rr(n,Object.keys(Kp))),r=vt(rr(n,Object.keys(Wp))),a=vt(rr(n,Object.keys(Up))),i=vt(rr(n,Object.keys(Yp)));return(l,s)=>(w(),Q(ZW,eo(ur(_(a))),{default:K(({open:c})=>[U(lU,St(_(i),{nowrap:""}),{default:K(()=>[ue(l.$slots,"trigger")]),_:3},16),(w(),Q(el,{to:l.to,disabled:!l.teleported},[l.fullTransition?(w(),Q(qt,eo(St({key:0},l.transitionProps)),{default:K(()=>[l.alwaysOn||c?(w(),Q(Eg,eo(St({key:0},_(r))),{arrow:K(({style:d,side:u})=>[l.showArrow?(w(),Q(Ag,St({key:0},_(o),{style:d,side:u}),null,16,["style","side"])):G("v-if",!0)]),default:K(()=>[ue(l.$slots,"default")]),_:3},16)):G("v-if",!0)]),_:2},1040)):(w(),I(Fe,{key:1},[l.alwaysOn||c?(w(),Q(Eg,eo(St({key:0},_(r))),{arrow:K(({style:d,side:u})=>[l.showArrow?(w(),Q(Ag,St({key:0},_(o),{style:d,side:u}),null,16,["style","side"])):G("v-if",!0)]),default:K(()=>[ue(l.$slots,"default")]),_:3},16)):G("v-if",!0)],2112))],8,["to","disabled"]))]),_:3},16))}}));var dU=_e(cU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/tooltip.vue"]]);const uU=rt(dU),cu="checked-change",pU={data:{type:Array,default(){return[]}},optionRender:Function,placeholder:String,title:String,filterable:Boolean,format:Object,filterMethod:Function,defaultChecked:Array,props:Object},fU=(e,t)=>{const{emit:n}=nt(),o=C(()=>e.props.label||"label"),r=C(()=>e.props.key||"key"),a=C(()=>e.props.disabled||"disabled"),i=C(()=>e.data.filter(p=>typeof e.filterMethod=="function"?e.filterMethod(t.query,p):(p[o.value]||p[r.value].toString()).toLowerCase().includes(t.query.toLowerCase()))),l=C(()=>i.value.filter(p=>!p[a.value])),s=C(()=>{const p=t.checked.length,f=e.data.length,{noChecked:h,hasChecked:b}=e.format;return h&&b?p>0?b.replace(/\${checked}/g,p.toString()).replace(/\${total}/g,f.toString()):h.replace(/\${total}/g,f.toString()):`${p}/${f}`}),c=C(()=>{const p=t.checked.length;return p>0&&p{const p=l.value.map(f=>f[r.value]);t.allChecked=p.length>0&&p.every(f=>t.checked.includes(f))},u=p=>{t.checked=p?l.value.map(f=>f[r.value]):[]};return ge(()=>t.checked,(p,f)=>{if(d(),t.checkChangeByUser){const h=p.concat(f).filter(b=>!p.includes(b)||!f.includes(b));n(cu,p,h)}else n(cu,p),t.checkChangeByUser=!0}),ge(l,()=>{d()}),ge(()=>e.data,()=>{const p=[],f=i.value.map(h=>h[r.value]);t.checked.forEach(h=>{f.includes(h)&&p.push(h)}),t.checkChangeByUser=!1,t.checked=p}),ge(()=>e.defaultChecked,(p,f)=>{if(f&&p.length===f.length&&p.every(m=>f.includes(m)))return;const h=[],b=l.value.map(m=>m[r.value]);p.forEach(m=>{b.includes(m)&&h.push(m)}),t.checkChangeByUser=!1,t.checked=h},{immediate:!0}),{labelProp:o,keyProp:r,disabledProp:a,filteredData:i,checkableData:l,checkedSummary:s,isIndeterminate:c,updateAllChecked:d,handleAllCheckedChange:u}},hU=ee({name:"ElTransferPanel",components:{ElCheckboxGroup:$0,ElCheckbox:lo,ElInput:Gn,OptionContent:({option:e})=>e},props:pU,emits:[cu],setup(e,{slots:t}){const{t:n}=Tt(),o=ke("transfer"),r=vt({checked:[],allChecked:!1,query:"",inputHover:!1,checkChangeByUser:!0}),{labelProp:a,keyProp:i,disabledProp:l,filteredData:s,checkedSummary:c,isIndeterminate:d,handleAllCheckedChange:u}=fU(e,r),p=C(()=>r.query.length>0&&s.value.length===0),f=C(()=>!!t.default()[0].children.length),{checked:h,allChecked:b,query:m,inputHover:g,checkChangeByUser:v}=Gt(r);return{ns:o,labelProp:a,keyProp:i,disabledProp:l,filteredData:s,checkedSummary:c,isIndeterminate:d,handleAllCheckedChange:u,checked:h,allChecked:b,query:m,inputHover:g,checkChangeByUser:v,hasNoMatch:p,SearchIcon:K5,hasFooter:f,t:n}}});function mU(e,t,n,o,r,a){const i=le("el-checkbox"),l=le("el-input"),s=le("option-content"),c=le("el-checkbox-group");return w(),I("div",{class:S(e.ns.b("panel"))},[M("p",{class:S(e.ns.be("panel","header"))},[U(i,{modelValue:e.allChecked,"onUpdate:modelValue":t[0]||(t[0]=d=>e.allChecked=d),indeterminate:e.isIndeterminate,onChange:e.handleAllCheckedChange},{default:K(()=>[it(ve(e.title)+" ",1),M("span",null,ve(e.checkedSummary),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),M("div",{class:S([e.ns.be("panel","body"),e.ns.is("with-footer",e.hasFooter)])},[e.filterable?(w(),Q(l,{key:0,modelValue:e.query,"onUpdate:modelValue":t[1]||(t[1]=d=>e.query=d),class:S(e.ns.be("panel","filter")),size:"default",placeholder:e.placeholder,"prefix-icon":e.SearchIcon,clearable:"",onMouseenter:t[2]||(t[2]=d=>e.inputHover=!0),onMouseleave:t[3]||(t[3]=d=>e.inputHover=!1)},null,8,["modelValue","class","placeholder","prefix-icon"])):G("v-if",!0),Ue(U(c,{modelValue:e.checked,"onUpdate:modelValue":t[4]||(t[4]=d=>e.checked=d),class:S([e.ns.is("filterable",e.filterable),e.ns.be("panel","list")])},{default:K(()=>[(w(!0),I(Fe,null,ct(e.filteredData,d=>(w(),Q(i,{key:d[e.keyProp],class:S(e.ns.be("panel","item")),label:d[e.keyProp],disabled:d[e.disabledProp]},{default:K(()=>[U(s,{option:e.optionRender(d)},null,8,["option"])]),_:2},1032,["class","label","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[ft,!e.hasNoMatch&&e.data.length>0]]),Ue(M("p",{class:S(e.ns.be("panel","empty"))},ve(e.hasNoMatch?e.t("el.transfer.noMatch"):e.t("el.transfer.noData")),3),[[ft,e.hasNoMatch||e.data.length===0]])],2),e.hasFooter?(w(),I("p",{key:0,class:S(e.ns.be("panel","footer"))},[ue(e.$slots,"default")],2)):G("v-if",!0)],2)}var gU=_e(hU,[["render",mU],["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const bU=e=>{const t=C(()=>e.props.key),n=C(()=>e.data.reduce((a,i)=>(a[i[t.value]]=i)&&a,{})),o=C(()=>e.data.filter(a=>!e.modelValue.includes(a[t.value]))),r=C(()=>e.targetOrder==="original"?e.data.filter(a=>e.modelValue.includes(a[t.value])):e.modelValue.reduce((a,i)=>{const l=n.value[i];return l&&a.push(l),a},[]));return{propsKey:t,sourceData:o,targetData:r}},J_="left-check-change",Q_="right-check-change",vU=(e,t)=>({onSourceCheckedChange:(r,a)=>{e.leftChecked=r,a!==void 0&&t(J_,r,a)},onTargetCheckedChange:(r,a)=>{e.rightChecked=r,a!==void 0&&t(Q_,r,a)}}),yU=(e,t,n,o)=>{const r=(l,s,c)=>{o(tt,l),o(Xt,l,s,c)};return{addToLeft:()=>{const l=e.modelValue.slice();t.rightChecked.forEach(s=>{const c=l.indexOf(s);c>-1&&l.splice(c,1)}),r(l,"left",t.rightChecked)},addToRight:()=>{let l=e.modelValue.slice();const s=e.data.filter(c=>{const d=c[n.value];return t.leftChecked.includes(d)&&!e.modelValue.includes(d)}).map(c=>c[n.value]);l=e.targetOrder==="unshift"?s.concat(l):l.concat(s),e.targetOrder==="original"&&(l=e.data.filter(c=>l.includes(c[n.value])).map(c=>c[n.value])),r(l,"right",t.leftChecked)}}},_U=ee({name:"ElTransfer",components:{TransferPanel:gU,ElButton:Vn,ElIcon:qe,ArrowLeft:Xr,ArrowRight:Yn},props:{data:{type:Array,default:()=>[]},titles:{type:Array,default:()=>[]},buttonTexts:{type:Array,default:()=>[]},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:()=>[]},rightDefaultChecked:{type:Array,default:()=>[]},renderContent:Function,modelValue:{type:Array,default:()=>[]},format:{type:Object,default:()=>({})},filterable:{type:Boolean,default:!1},props:{type:Object,default:()=>({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,default:"original",validator:e=>["original","push","unshift"].includes(e)}},emits:[tt,Xt,J_,Q_],setup(e,{emit:t,slots:n}){const{t:o}=Tt(),r=ke("transfer"),a=Ie(qn,{}),i=vt({leftChecked:[],rightChecked:[]}),{propsKey:l,sourceData:s,targetData:c}=bU(e),{onSourceCheckedChange:d,onTargetCheckedChange:u}=vU(i,t),{addToLeft:p,addToRight:f}=yU(e,i,l,t),h=A(),b=A(),m=k=>{switch(k){case"left":h.value.query="";break;case"right":b.value.query="";break}},g=C(()=>e.buttonTexts.length===2),v=C(()=>e.titles[0]||o("el.transfer.titles.0")),y=C(()=>e.titles[1]||o("el.transfer.titles.1")),T=C(()=>e.filterPlaceholder||o("el.transfer.filterPlaceholder"));ge(()=>e.modelValue,()=>{var k;(k=a.validate)==null||k.call(a,"change").catch($=>void 0)});const x=C(()=>k=>e.renderContent?e.renderContent(Re,k):n.default?n.default({option:k}):Re("span",k[e.props.label]||k[e.props.key]));return ze(he({ns:r,sourceData:s,targetData:c,onSourceCheckedChange:d,onTargetCheckedChange:u,addToLeft:p,addToRight:f},Gt(i)),{hasButtonTexts:g,leftPanelTitle:v,rightPanelTitle:y,panelFilterPlaceholder:T,clearQuery:m,leftPanel:h,rightPanel:b,optionRender:x})}}),wU={key:0},xU={key:0};function kU(e,t,n,o,r,a){const i=le("transfer-panel"),l=le("arrow-left"),s=le("el-icon"),c=le("el-button"),d=le("arrow-right");return w(),I("div",{class:S(e.ns.b())},[U(i,{ref:"leftPanel",data:e.sourceData,"option-render":e.optionRender,placeholder:e.panelFilterPlaceholder,title:e.leftPanelTitle,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,"default-checked":e.leftDefaultChecked,props:e.props,onCheckedChange:e.onSourceCheckedChange},{default:K(()=>[ue(e.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),M("div",{class:S(e.ns.e("buttons"))},[U(c,{type:"primary",class:S([e.ns.e("button"),e.ns.is("with-texts",e.hasButtonTexts)]),disabled:e.rightChecked.length===0,onClick:e.addToLeft},{default:K(()=>[U(s,null,{default:K(()=>[U(l)]),_:1}),e.buttonTexts[0]!==void 0?(w(),I("span",wU,ve(e.buttonTexts[0]),1)):G("v-if",!0)]),_:1},8,["class","disabled","onClick"]),U(c,{type:"primary",class:S([e.ns.e("button"),e.ns.is("with-texts",e.hasButtonTexts)]),disabled:e.leftChecked.length===0,onClick:e.addToRight},{default:K(()=>[e.buttonTexts[1]!==void 0?(w(),I("span",xU,ve(e.buttonTexts[1]),1)):G("v-if",!0),U(s,null,{default:K(()=>[U(d)]),_:1})]),_:1},8,["class","disabled","onClick"])],2),U(i,{ref:"rightPanel",data:e.targetData,"option-render":e.optionRender,placeholder:e.panelFilterPlaceholder,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,title:e.rightPanelTitle,"default-checked":e.rightDefaultChecked,props:e.props,onCheckedChange:e.onTargetCheckedChange},{default:K(()=>[ue(e.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2)}var ls=_e(_U,[["render",kU],["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/index.vue"]]);ls.install=e=>{e.component(ls.name,ls)};const TU=ls,CU=TU,ba="$treeNodeId",zg=function(e,t){!t||t[ba]||Object.defineProperty(t,ba,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},Gp=function(e,t){return e?t[e]:t[ba]},du=e=>{let t=!0,n=!0,o=!0;for(let r=0,a=e.length;r0&&t.lazy&&t.defaultExpandAll&&this.expand(),Array.isArray(this.data)||zg(this,this.data),!this.data)return;const o=t.defaultExpandedKeys,r=t.key;r&&o&&o.includes(this.key)&&this.expand(null,t.autoExpandParent),r&&t.currentNodeKey!==void 0&&this.key===t.currentNodeKey&&(t.currentNode=this,t.currentNode.isCurrent=!0),t.lazy&&t._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(t){Array.isArray(t)||zg(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&Array.isArray(this.data)?n=this.data:n=Il(this,"children")||[];for(let o=0,r=n.length;o-1)return t.childNodes[n+1]}return null}get previousSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return n>0?t.childNodes[n-1]:null}return null}contains(t,n=!0){return(this.childNodes||[]).some(o=>o===t||n&&o.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,o){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof Lr)){if(!o){const r=this.getChildren(!0);r.includes(t.data)||(typeof n=="undefined"||n<0?r.push(t.data):r.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=vt(new Lr(t)),t instanceof Lr&&t.initialize()}t.level=this.level+1,typeof n=="undefined"||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let o;n&&(o=this.childNodes.indexOf(n)),this.insertChild(t,o)}insertAfter(t,n){let o;n&&(o=this.childNodes.indexOf(n),o!==-1&&(o+=1)),this.insertChild(t,o)}removeChild(t){const n=this.getChildren()||[],o=n.indexOf(t.data);o>-1&&n.splice(o,1);const r=this.childNodes.indexOf(t);r>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(r,1)),this.updateLeafState()}removeChildByData(t){let n=null;for(let o=0;o{if(n){let r=this.parent;for(;r.level>0;)r.expanded=!0,r=r.parent}this.expanded=!0,t&&t(),this.childNodes.forEach(r=>{r.canFocus=!0})};this.shouldLoadData()?this.loadData(r=>{Array.isArray(r)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||ss(this),o())}):o()}doCreateChildren(t,n={}){t.forEach(o=>{this.insertChild(Object.assign({data:o},n),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(t=>{t.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser!="undefined"){this.isLeaf=this.isLeafByUser;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0;return}this.isLeaf=!1}setChecked(t,n,o,r){if(this.indeterminate=t==="half",this.checked=t===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:i,allWithoutDisable:l}=du(this.childNodes);!this.isLeaf&&!i&&l&&(this.checked=!1,t=!1);const s=()=>{if(n){const c=this.childNodes;for(let p=0,f=c.length;p{s(),ss(this)},{checked:t!==!1});return}else s()}const a=this.parent;!a||a.level===0||o||ss(a)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const o=this.store.props;let r="children";return o&&(r=o.children||"children"),n[r]===void 0&&(n[r]=null),t&&!n[r]&&(n[r]=[]),n[r]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(a=>a.data),o={},r=[];t.forEach((a,i)=>{const l=a[ba];!!l&&n.findIndex(c=>c[ba]===l)>=0?o[l]={index:i,data:a}:r.push({index:i,data:a})}),this.store.lazy||n.forEach(a=>{o[a[ba]]||this.removeChildByData(a)}),r.forEach(({index:a,data:i})=>{this.insertChild({data:i},a)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const o=r=>{this.loaded=!0,this.loading=!1,this.childNodes=[],this.doCreateChildren(r,n),this.updateLeafState(),t&&t.call(this,r)};this.store.load(this,o)}else t&&t.call(this)}}class $U{constructor(t){this.currentNode=null,this.currentNodeKey=null;for(const n in t)lt(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){this.root=new Lr({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load?this.load(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()}):this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,o=this.lazy,r=function(a){const i=a.root?a.root.childNodes:a.childNodes;if(i.forEach(l=>{l.visible=n.call(l,t,l.data,l),r(l)}),!a.visible&&i.length){let l=!0;l=!i.some(s=>s.visible),a.root?a.root.visible=l===!1:a.visible=l===!1}!t||a.visible&&!a.isLeaf&&!o&&a.expand()};r(this)}setData(t){t!==this.root.data?(this.root.setData(t),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(t){if(t instanceof Lr)return t;const n=typeof t!="object"?t:Gp(this.key,t);return this.nodesMap[n]||null}insertBefore(t,n){const o=this.getNode(n);o.parent.insertBefore({data:t},o)}insertAfter(t,n){const o=this.getNode(n);o.parent.insertAfter({data:t},o)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const o=n?this.getNode(n):this.root;o&&o.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(o=>{const r=n[o];r&&r.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){(this.defaultCheckedKeys||[]).includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;!t||!t.data||(n?t.key!==void 0&&(this.nodesMap[t.key]=t):this.nodesMap[t.id]=t)}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(o=>{this.deregisterNode(o)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const o=[],r=function(a){(a.root?a.root.childNodes:a.childNodes).forEach(l=>{(l.checked||n&&l.indeterminate)&&(!t||t&&l.isLeaf)&&o.push(l.data),r(l)})};return r(this),o}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(o){(o.root?o.root.childNodes:o.childNodes).forEach(a=>{a.indeterminate&&t.push(a.data),n(a)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const o in n)lt(n,o)&&t.push(n[o]);return t}updateChildren(t,n){const o=this.nodesMap[t];if(!o)return;const r=o.childNodes;for(let a=r.length-1;a>=0;a--){const i=r[a];this.remove(i.data)}for(let a=0,i=n.length;as.level-l.level),a=Object.create(null),i=Object.keys(o);r.forEach(l=>l.setChecked(!1,!1));for(let l=0,s=r.length;l0;)a[p.data[t]]=!0,p=p.parent;if(c.isLeaf||this.checkStrictly){c.setChecked(!0,!1);continue}if(c.setChecked(!0,!0),n){c.setChecked(!1,!1);const f=function(h){h.childNodes.forEach(m=>{m.isLeaf||m.setChecked(!1,!1),f(m)})};f(c)}}}setCheckedNodes(t,n=!1){const o=this.key,r={};t.forEach(a=>{r[(a||{})[o]]=!0}),this._setCheckedKeys(o,n,r)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const o=this.key,r={};t.forEach(a=>{r[a]=!0}),this._setCheckedKeys(o,n,r)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const o=this.getNode(n);o&&o.expand(null,this.autoExpandParent)})}setChecked(t,n,o){const r=this.getNode(t);r&&r.setChecked(!!n,o)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,n=!0){const o=t[this.key],r=this.nodesMap[o];this.setCurrentNode(r),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(t,n=!0){if(t==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const o=this.getNode(t);o&&(this.setCurrentNode(o),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const AU=ee({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=ke("tree"),n=Ie("NodeInstance"),o=Ie("RootTree");return()=>{const r=e.node,{data:a,store:i}=r;return e.renderContent?e.renderContent(Re,{_self:n,node:r,data:a,store:i}):o.ctx.slots.default?o.ctx.slots.default({node:r,data:a}):Re("span",{class:t.be("node","label")},[r.label])}}});var EU=_e(AU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function e1(e){const t=Ie("TreeNodeMap",null),n={treeNodeExpand:o=>{e.node!==o&&e.node.collapse()},children:[]};return t&&t.children.push(n),ot("TreeNodeMap",n),{broadcastExpanded:o=>{if(!!e.accordion)for(const r of n.children)r.treeNodeExpand(o)}}}const t1=Symbol("dragEvents");function zU({props:e,ctx:t,el$:n,dropIndicator$:o,store:r}){const a=ke("tree"),i=A({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return ot(t1,{treeNodeDragStart:({event:d,treeNode:u})=>{if(typeof e.allowDrag=="function"&&!e.allowDrag(u.node))return d.preventDefault(),!1;d.dataTransfer.effectAllowed="move";try{d.dataTransfer.setData("text/plain","")}catch{}i.value.draggingNode=u,t.emit("node-drag-start",u.node,d)},treeNodeDragOver:({event:d,treeNode:u})=>{const p=u,f=i.value.dropNode;f&&f!==p&&hn(f.$el,a.is("drop-inner"));const h=i.value.draggingNode;if(!h||!p)return;let b=!0,m=!0,g=!0,v=!0;typeof e.allowDrop=="function"&&(b=e.allowDrop(h.node,p.node,"prev"),v=m=e.allowDrop(h.node,p.node,"inner"),g=e.allowDrop(h.node,p.node,"next")),d.dataTransfer.dropEffect=m||b||g?"move":"none",(b||m||g)&&f!==p&&(f&&t.emit("node-drag-leave",h.node,f.node,d),t.emit("node-drag-enter",h.node,p.node,d)),(b||m||g)&&(i.value.dropNode=p),p.node.nextSibling===h.node&&(g=!1),p.node.previousSibling===h.node&&(b=!1),p.node.contains(h.node,!1)&&(m=!1),(h.node===p.node||h.node.contains(p.node))&&(b=!1,m=!1,g=!1);const y=p.$el.getBoundingClientRect(),T=n.value.getBoundingClientRect();let x;const k=b?m?.25:g?.45:1:-1,$=g?m?.75:b?.55:0:1;let z=-9999;const P=d.clientY-y.top;Py.height*$?x="after":m?x="inner":x="none";const O=p.$el.querySelector(`.${a.be("node","expand-icon")}`).getBoundingClientRect(),D=o.value;x==="before"?z=O.top-T.top:x==="after"&&(z=O.bottom-T.top),D.style.top=`${z}px`,D.style.left=`${O.right-T.left}px`,x==="inner"?bo(p.$el,a.is("drop-inner")):hn(p.$el,a.is("drop-inner")),i.value.showDropIndicator=x==="before"||x==="after",i.value.allowDrop=i.value.showDropIndicator||v,i.value.dropType=x,t.emit("node-drag-over",h.node,p.node,d)},treeNodeDragEnd:d=>{const{draggingNode:u,dropType:p,dropNode:f}=i.value;if(d.preventDefault(),d.dataTransfer.dropEffect="move",u&&f){const h={data:u.node.data};p!=="none"&&u.node.remove(),p==="before"?f.node.parent.insertBefore(h,f.node):p==="after"?f.node.parent.insertAfter(h,f.node):p==="inner"&&f.node.insertChild(h),p!=="none"&&r.value.registerNode(h),hn(f.$el,a.is("drop-inner")),t.emit("node-drag-end",u.node,f.node,p,d),p!=="none"&&t.emit("node-drop",u.node,f.node,p,d)}u&&!f&&t.emit("node-drag-end",u.node,null,p,d),i.value.showDropIndicator=!1,i.value.draggingNode=null,i.value.dropNode=null,i.value.allowDrop=!0}}),{dragState:i}}const IU=ee({name:"ElTreeNode",components:{ElCollapseTransition:gc,ElCheckbox:lo,NodeContent:EU,ElIcon:qe,Loading:hr},props:{node:{type:Lr,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(e,t){const n=ke("tree"),{broadcastExpanded:o}=e1(e),r=Ie("RootTree"),a=A(!1),i=A(!1),l=A(null),s=A(null),c=A(null),d=Ie(t1),u=nt();ot("NodeInstance",u),e.node.expanded&&(a.value=!0,i.value=!0);const p=r.props.children||"children";ge(()=>{const P=e.node.data[p];return P&&[...P]},()=>{e.node.updateChildren()}),ge(()=>e.node.indeterminate,P=>{b(e.node.checked,P)}),ge(()=>e.node.checked,P=>{b(P,e.node.indeterminate)}),ge(()=>e.node.expanded,P=>{je(()=>a.value=P),P&&(i.value=!0)});const f=P=>Gp(r.props.nodeKey,P.data),h=P=>{const O=e.props.class;if(!O)return{};let D;if(Je(O)){const{data:L}=P;D=O(L,P)}else D=O;return Qe(D)?{[D]:!0}:D},b=(P,O)=>{(l.value!==P||s.value!==O)&&r.ctx.emit("check-change",e.node.data,P,O),l.value=P,s.value=O},m=P=>{const O=r.store.value;O.setCurrentNode(e.node),r.ctx.emit("current-change",O.currentNode?O.currentNode.data:null,O.currentNode),r.currentNode.value=e.node,r.props.expandOnClickNode&&v(),r.props.checkOnClickNode&&!e.node.disabled&&y(null,{target:{checked:!e.node.checked}}),r.ctx.emit("node-click",e.node.data,e.node,u,P)},g=P=>{r.instance.vnode.props.onNodeContextmenu&&(P.stopPropagation(),P.preventDefault()),r.ctx.emit("node-contextmenu",P,e.node.data,e.node,u)},v=()=>{e.node.isLeaf||(a.value?(r.ctx.emit("node-collapse",e.node.data,e.node,u),e.node.collapse()):(e.node.expand(),t.emit("node-expand",e.node.data,e.node,u)))},y=(P,O)=>{e.node.setChecked(O.target.checked,!r.props.checkStrictly),je(()=>{const D=r.store.value;r.ctx.emit("check",e.node.data,{checkedNodes:D.getCheckedNodes(),checkedKeys:D.getCheckedKeys(),halfCheckedNodes:D.getHalfCheckedNodes(),halfCheckedKeys:D.getHalfCheckedKeys()})})};return{ns:n,node$:c,tree:r,expanded:a,childNodeRendered:i,oldChecked:l,oldIndeterminate:s,getNodeKey:f,getNodeClass:h,handleSelectChange:b,handleClick:m,handleContextMenu:g,handleExpandIconClick:v,handleCheckChange:y,handleChildNodeExpand:(P,O,D)=>{o(O),r.ctx.emit("node-expand",P,O,D)},handleDragStart:P=>{!r.props.draggable||d.treeNodeDragStart({event:P,treeNode:e})},handleDragOver:P=>{P.preventDefault(),r.props.draggable&&d.treeNodeDragOver({event:P,treeNode:{$el:c.value,node:e.node}})},handleDrop:P=>{P.preventDefault()},handleDragEnd:P=>{!r.props.draggable||d.treeNodeDragEnd(P)},CaretRight:Yv}}}),NU=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],MU=["aria-expanded"];function RU(e,t,n,o,r,a){const i=le("el-icon"),l=le("el-checkbox"),s=le("loading"),c=le("node-content"),d=le("el-tree-node"),u=le("el-collapse-transition");return Ue((w(),I("div",{ref:"node$",class:S([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:t[1]||(t[1]=He((...p)=>e.handleClick&&e.handleClick(...p),["stop"])),onContextmenu:t[2]||(t[2]=(...p)=>e.handleContextMenu&&e.handleContextMenu(...p)),onDragstart:t[3]||(t[3]=He((...p)=>e.handleDragStart&&e.handleDragStart(...p),["stop"])),onDragover:t[4]||(t[4]=He((...p)=>e.handleDragOver&&e.handleDragOver(...p),["stop"])),onDragend:t[5]||(t[5]=He((...p)=>e.handleDragEnd&&e.handleDragEnd(...p),["stop"])),onDrop:t[6]||(t[6]=He((...p)=>e.handleDrop&&e.handleDrop(...p),["stop"]))},[M("div",{class:S(e.ns.be("node","content")),style:Oe({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(w(),Q(i,{key:0,class:S([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:He(e.handleExpandIconClick,["stop"])},{default:K(()=>[(w(),Q(pt(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):G("v-if",!0),e.showCheckbox?(w(),Q(l,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=He(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):G("v-if",!0),e.node.loading?(w(),Q(i,{key:2,class:S([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:K(()=>[U(s)]),_:1},8,["class"])):G("v-if",!0),U(c,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),U(u,null,{default:K(()=>[!e.renderAfterExpand||e.childNodeRendered?Ue((w(),I("div",{key:0,class:S(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded},[(w(!0),I(Fe,null,ct(e.node.childNodes,p=>(w(),Q(d,{key:e.getNodeKey(p),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:p,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,MU)),[[ft,e.expanded]]):G("v-if",!0)]),_:1})],42,NU)),[[ft,e.node.visible]])}var PU=_e(IU,[["render",RU],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function OU({el$:e},t){const n=ke("tree"),o=Kt([]),r=Kt([]);et(()=>{i(),At(e.value,"keydown",a)}),$t(()=>{Bt(e.value,"keydown",a)}),Un(()=>{o.value=Array.from(e.value.querySelectorAll("[role=treeitem]")),r.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"))}),ge(r,l=>{l.forEach(s=>{s.setAttribute("tabindex","-1")})});const a=l=>{const s=l.target;if(!s.className.includes(n.b("node")))return;const c=l.code;o.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));const d=o.value.indexOf(s);let u;if([Pe.up,Pe.down].includes(c)){if(l.preventDefault(),c===Pe.up){u=d===-1?0:d!==0?d-1:o.value.length-1;const f=u;for(;!t.value.getNode(o.value[u].dataset.key).canFocus;){if(u--,u===f){u=-1;break}u<0&&(u=o.value.length-1)}}else{u=d===-1?0:d=o.value.length&&(u=0)}}u!==-1&&o.value[u].focus()}[Pe.left,Pe.right].includes(c)&&(l.preventDefault(),s.click());const p=s.querySelector('[type="checkbox"]');[Pe.enter,Pe.space].includes(c)&&p&&(l.preventDefault(),p.click())},i=()=>{var l;o.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),r.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"));const s=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(s.length){s[0].setAttribute("tabindex","0");return}(l=o.value[0])==null||l.setAttribute("tabindex","0")}}const FU=ee({name:"ElTree",components:{ElTreeNode:PU},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:[String,Object]},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=Tt(),o=ke("tree"),r=A(new $U({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));r.value.initialize();const a=A(r.value.root),i=A(null),l=A(null),s=A(null),{broadcastExpanded:c}=e1(e),{dragState:d}=zU({props:e,ctx:t,el$:l,dropIndicator$:s,store:r});OU({el$:l},r);const u=C(()=>{const{childNodes:E}=a.value;return!E||E.length===0||E.every(({visible:N})=>!N)});ge(()=>e.defaultCheckedKeys,E=>{r.value.setDefaultCheckedKey(E)}),ge(()=>e.defaultExpandedKeys,E=>{r.value.setDefaultExpandedKeys(E)}),ge(()=>e.data,E=>{r.value.setData(E)},{deep:!0}),ge(()=>e.checkStrictly,E=>{r.value.checkStrictly=E});const p=E=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");r.value.filter(E)},f=E=>Gp(e.nodeKey,E.data),h=E=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const N=r.value.getNode(E);if(!N)return[];const W=[N.data];let Y=N.parent;for(;Y&&Y!==a.value;)W.push(Y.data),Y=Y.parent;return W.reverse()},b=(E,N)=>r.value.getCheckedNodes(E,N),m=E=>r.value.getCheckedKeys(E),g=()=>{const E=r.value.getCurrentNode();return E?E.data:null},v=()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const E=g();return E?E[e.nodeKey]:null},y=(E,N)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");r.value.setCheckedNodes(E,N)},T=(E,N)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");r.value.setCheckedKeys(E,N)},x=(E,N,W)=>{r.value.setChecked(E,N,W)},k=()=>r.value.getHalfCheckedNodes(),$=()=>r.value.getHalfCheckedKeys(),z=(E,N=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");r.value.setUserCurrentNode(E,N)},P=(E,N=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");r.value.setCurrentNodeKey(E,N)},O=E=>r.value.getNode(E),D=E=>{r.value.remove(E)},L=(E,N)=>{r.value.append(E,N)},F=(E,N)=>{r.value.insertBefore(E,N)},V=(E,N)=>{r.value.insertAfter(E,N)},q=(E,N,W)=>{c(N),t.emit("node-expand",E,N,W)},R=(E,N)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");r.value.updateChildren(E,N)};return ot("RootTree",{ctx:t,props:e,store:r,root:a,currentNode:i,instance:nt()}),{ns:o,store:r,root:a,currentNode:i,dragState:d,el$:l,dropIndicator$:s,isEmpty:u,filter:p,getNodeKey:f,getNodePath:h,getCheckedNodes:b,getCheckedKeys:m,getCurrentNode:g,getCurrentKey:v,setCheckedNodes:y,setCheckedKeys:T,setChecked:x,getHalfCheckedNodes:k,getHalfCheckedKeys:$,setCurrentNode:z,setCurrentKey:P,t:n,getNode:O,remove:D,append:L,insertBefore:F,insertAfter:V,handleNodeExpand:q,updateKeyChildren:R}}});function DU(e,t,n,o,r,a){var i;const l=le("el-tree-node");return w(),I("div",{ref:"el$",class:S([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(w(!0),I(Fe,null,ct(e.root.childNodes,s=>(w(),Q(l,{key:e.getNodeKey(s),node:s,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(w(),I("div",{key:0,class:S(e.ns.e("empty-block"))},[M("span",{class:S(e.ns.e("empty-text"))},ve((i=e.emptyText)!=null?i:e.t("el.tree.emptyText")),3)],2)):G("v-if",!0),Ue(M("div",{ref:"dropIndicator$",class:S(e.ns.e("drop-indicator"))},null,2),[[ft,e.dragState.showDropIndicator]])],2)}var cs=_e(FU,[["render",DU],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);cs.install=e=>{e.component(cs.name,cs)};const Ps=cs,LU=Ps,VU=(e,{attrs:t},{tree:n,key:o})=>{const r=ke("tree-select"),a=ze(he(he({},rr(Gt(e),Object.keys(qr.props))),t),{valueKey:o,popperClass:C(()=>{const i=[r.e("popper")];return e.popperClass&&i.push(e.popperClass),i.join(" ")}),filterMethod:(i="")=>{e.filterMethod&&e.filterMethod(i),je(()=>{var l;(l=n.value)==null||l.filter(i)})},onVisibleChange:i=>{var l;(l=t.onVisibleChange)==null||l.call(t,i),e.filterable&&i&&a.filterMethod()}});return a},BU=ee({extends:zs,setup(e,t){const n=zs.setup(e,t);return delete n.selectOptionClick,n},methods:{selectOptionClick(){this.$el.parentElement.click()}}}),jU=(e,{attrs:t,slots:n,emit:o},{select:r,tree:a,key:i})=>{ge(()=>e.modelValue,()=>{e.showCheckbox&&je(()=>{const c=a.value;c&&!En(c.getCheckedKeys(),td(e.modelValue))&&c.setCheckedKeys(td(e.modelValue))})},{immediate:!0,deep:!0});const l=C(()=>he({value:i.value},e.props)),s=(c,d)=>{var u;const p=l.value[c];return Je(p)?p(d,(u=a.value)==null?void 0:u.getNode(s("value",d))):d[p]};return ze(he(he({},rr(Gt(e),Object.keys(Ps.props))),t),{nodeKey:i,defaultExpandedKeys:C(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(e.modelValue):td(e.modelValue)),renderContent:(c,{node:d,data:u,store:p})=>c(BU,{value:s("value",u),label:s("label",u),disabled:s("disabled",u)},e.renderContent?()=>e.renderContent(c,{node:d,data:u,store:p}):n.default?()=>n.default({node:d,data:u,store:p}):void 0),filterNodeMethod:(c,d,u)=>{var p;return e.filterNodeMethod?e.filterNodeMethod(c,d,u):c?(p=s("label",d))==null?void 0:p.includes(c):!0},onNodeClick:(c,d,u)=>{var p,f,h;if((p=t.onNodeClick)==null||p.call(t,c,d,u),e.checkStrictly||d.isLeaf){if(!s("disabled",c)){const b=(f=r.value)==null?void 0:f.options.get(s("value",c));(h=r.value)==null||h.handleOptionSelect(b,!0)}}else u.ctx.handleExpandIconClick()},onCheck:(c,d)=>{var u,p;(u=t.onCheck)==null||u.call(t,c,d);const f=e.checkStrictly?d.checkedKeys:(p=a.value)==null?void 0:p.getCheckedKeys(!0),h=s("value",c);o(tt,e.multiple?f:f.includes(h)?h:void 0)}})};function td(e){return Array.isArray(e)?e:e||e===0?[e]:[]}const HU=ee({name:"ElTreeSelect",props:he(he({},qr.props),Ps.props),setup(e,t){const{slots:n,expose:o}=t,r=A(),a=A(),i=C(()=>e.valueKey||e.nodeKey||"value"),l=VU(e,t,{select:r,tree:a,key:i}),s=jU(e,t,{select:r,tree:a,key:i}),c=vt({});return o(c),et(()=>{Object.assign(c,he(he({},rr(a.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"])),rr(r.value,["focus","blur"])))}),()=>Re(qr,vt(ze(he({},l),{ref:d=>r.value=d})),ze(he({},n),{default:()=>Re(Ps,vt(ze(he({},s),{ref:d=>a.value=d})))}))}});var ds=_e(HU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-select/src/tree-select.vue"]]);ds.install=e=>{e.component(ds.name,ds)};const qU=ds,KU=qU,Xp=Symbol(),WU={key:-1,level:-1,data:{}};var si=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e))(si||{}),uu=(e=>(e.ADD="add",e.DELETE="delete",e))(uu||{});const UU=Le({data:{type:Te(Array),default:()=>Ft([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:Te(Object),default:()=>Ft({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:Te(Array),default:()=>Ft([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:Te(Array),default:()=>Ft([])},indent:{type:Number,default:16},icon:{type:String},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:Te([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:Te(Function)},perfMode:{type:Boolean,default:!0}}),YU=Le({node:{type:Te(Object),default:()=>Ft(WU)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1}}),GU=Le({node:{type:Te(Object),required:!0}}),n1="node-click",o1="node-expand",r1="node-collapse",a1="current-change",i1="check",l1="check-change",s1="node-contextmenu",XU={[n1]:(e,t,n)=>e&&t&&n,[o1]:(e,t)=>e&&t,[r1]:(e,t)=>e&&t,[a1]:(e,t)=>e&&t,[i1]:(e,t)=>e&&t,[l1]:(e,t)=>e&&typeof t=="boolean",[s1]:(e,t,n)=>e&&t&&n},ZU={click:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&typeof t=="boolean"};function JU(e,t){const n=A(new Set),o=A(new Set),{emit:r}=nt();ge(()=>t.value,()=>je(()=>{v(e.defaultCheckedKeys)}),{immediate:!0});const a=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:y,maxLevel:T}=t.value,x=n.value,k=new Set;for(let $=T-1;$>=1;--$){const z=y.get($);!z||z.forEach(P=>{const O=P.children;if(O){let D=!0,L=!1;for(const F of O){const V=F.key;if(x.has(V))L=!0;else if(k.has(V)){D=!1,L=!0;break}else D=!1}D?x.add(P.key):L?(k.add(P.key),x.delete(P.key)):(x.delete(P.key),k.delete(P.key))}})}o.value=k},i=y=>n.value.has(y.key),l=y=>o.value.has(y.key),s=(y,T,x=!0)=>{const k=n.value,$=(z,P)=>{k[P?uu.ADD:uu.DELETE](z.key);const O=z.children;!e.checkStrictly&&O&&O.forEach(D=>{D.disabled||$(D,P)})};$(y,T),a(),x&&c(y,T)},c=(y,T)=>{const{checkedNodes:x,checkedKeys:k}=h(),{halfCheckedNodes:$,halfCheckedKeys:z}=b();r(i1,y.data,{checkedKeys:k,checkedNodes:x,halfCheckedKeys:z,halfCheckedNodes:$}),r(l1,y.data,T)};function d(y=!1){return h(y).checkedKeys}function u(y=!1){return h(y).checkedNodes}function p(){return b().halfCheckedKeys}function f(){return b().halfCheckedNodes}function h(y=!1){const T=[],x=[];if((t==null?void 0:t.value)&&e.showCheckbox){const{treeNodeMap:k}=t.value;n.value.forEach($=>{const z=k.get($);z&&(!y||y&&z.isLeaf)&&(x.push($),T.push(z.data))})}return{checkedKeys:x,checkedNodes:T}}function b(){const y=[],T=[];if((t==null?void 0:t.value)&&e.showCheckbox){const{treeNodeMap:x}=t.value;o.value.forEach(k=>{const $=x.get(k);$&&(T.push(k),y.push($.data))})}return{halfCheckedNodes:y,halfCheckedKeys:T}}function m(y){n.value.clear(),o.value.clear(),v(y)}function g(y,T){if((t==null?void 0:t.value)&&e.showCheckbox){const x=t.value.treeNodeMap.get(y);x&&s(x,T,!1)}}function v(y){if(t!=null&&t.value){const{treeNodeMap:T}=t.value;if(e.showCheckbox&&T&&y)for(const x of y){const k=T.get(x);k&&!i(k)&&s(k,!0,!1)}}}return{updateCheckedKeys:a,toggleCheckbox:s,isChecked:i,isIndeterminate:l,getCheckedKeys:d,getCheckedNodes:u,getHalfCheckedKeys:p,getHalfCheckedNodes:f,setChecked:g,setCheckedKeys:m}}function QU(e,t){const n=A(new Set([])),o=A(new Set([])),r=C(()=>Je(e.filterMethod));function a(l){var s;if(!r.value)return;const c=new Set,d=o.value,u=n.value,p=[],f=((s=t.value)==null?void 0:s.treeNodes)||[],h=e.filterMethod;u.clear();function b(m){m.forEach(g=>{p.push(g),h!=null&&h(l,g.data)?p.forEach(y=>{c.add(y.key)}):g.isLeaf&&u.add(g.key);const v=g.children;if(v&&b(v),!g.isLeaf){if(!c.has(g.key))u.add(g.key);else if(v){let y=!0;for(const T of v)if(!u.has(T.key)){y=!1;break}y?d.add(g.key):d.delete(g.key)}}p.pop()})}return b(f),c}function i(l){return o.value.has(l.key)}return{hiddenExpandIconKeySet:o,hiddenNodeKeySet:n,doFilter:a,isForceHiddenExpandIcon:i}}function eY(e,t){const n=A(new Set(e.defaultExpandedKeys)),o=A(),r=Kt();ge(()=>e.currentNodeKey,H=>{o.value=H},{immediate:!0}),ge(()=>e.data,H=>{oe(H)},{immediate:!0});const{isIndeterminate:a,isChecked:i,toggleCheckbox:l,getCheckedKeys:s,getCheckedNodes:c,getHalfCheckedKeys:d,getHalfCheckedNodes:u,setChecked:p,setCheckedKeys:f}=JU(e,r),{doFilter:h,hiddenNodeKeySet:b,isForceHiddenExpandIcon:m}=QU(e,r),g=C(()=>{var H;return((H=e.props)==null?void 0:H.value)||si.KEY}),v=C(()=>{var H;return((H=e.props)==null?void 0:H.children)||si.CHILDREN}),y=C(()=>{var H;return((H=e.props)==null?void 0:H.disabled)||si.DISABLED}),T=C(()=>{var H;return((H=e.props)==null?void 0:H.label)||si.LABEL}),x=C(()=>{const H=n.value,ne=b.value,ie=[],be=r.value&&r.value.treeNodes||[];function $e(){const Ne=[];for(let Me=be.length-1;Me>=0;--Me)Ne.push(be[Me]);for(;Ne.length;){const Me=Ne.pop();if(!!Me&&(ne.has(Me.key)||ie.push(Me),H.has(Me.key))){const j=Me.children;if(j){const X=j.length;for(let de=X-1;de>=0;--de)Ne.push(j[de])}}}}return $e(),ie}),k=C(()=>x.value.length>0);function $(H){const ne=new Map,ie=new Map;let be=1;function $e(Me,j=1,X=void 0){var de;const xe=[];for(const we of Me){const Ae=O(we),ce={level:j,key:Ae,data:we};ce.label=L(we),ce.parent=X;const ae=P(we);ce.disabled=D(we),ce.isLeaf=!ae||ae.length===0,ae&&ae.length&&(ce.children=$e(ae,j+1,ce)),xe.push(ce),ne.set(Ae,ce),ie.has(j)||ie.set(j,[]),(de=ie.get(j))==null||de.push(ce)}return j>be&&(be=j),xe}const Ne=$e(H);return{treeNodeMap:ne,levelTreeNodeMap:ie,maxLevel:be,treeNodes:Ne}}function z(H){const ne=h(H);ne&&(n.value=ne)}function P(H){return H[v.value]}function O(H){return H?H[g.value]:""}function D(H){return H[y.value]}function L(H){return H[T.value]}function F(H){n.value.has(H.key)?N(H):E(H)}function V(H,ne){t(n1,H.data,H,ne),q(H),e.expandOnClickNode&&F(H),e.showCheckbox&&e.checkOnClickNode&&!H.disabled&&l(H,!i(H),!0)}function q(H){J(H)||(o.value=H.key,t(a1,H.data,H))}function R(H,ne){l(H,ne)}function E(H){const ne=n.value;if((r==null?void 0:r.value)&&e.accordion){const{treeNodeMap:ie}=r.value;ne.forEach(be=>{const $e=ie.get(be);$e&&$e.level===$e.level&&ne.delete(be)})}ne.add(H.key),t(o1,H.data,H)}function N(H){n.value.delete(H.key),t(r1,H.data,H)}function W(H){return n.value.has(H.key)}function Y(H){return!!H.disabled}function J(H){const ne=o.value;return!!ne&&ne===H.key}function Z(){var H,ne;if(!!o.value)return(ne=(H=r==null?void 0:r.value)==null?void 0:H.treeNodeMap.get(o.value))==null?void 0:ne.data}function se(){return o.value}function Se(H){o.value=H}function oe(H){je(()=>r.value=$(H))}return{tree:r,flattenTree:x,isNotEmpty:k,getKey:O,getChildren:P,toggleExpand:F,toggleCheckbox:l,isExpanded:W,isChecked:i,isIndeterminate:a,isDisabled:Y,isCurrent:J,isForceHiddenExpandIcon:m,handleNodeClick:V,handleNodeCheck:R,getCurrentNode:Z,getCurrentKey:se,setCurrentKey:Se,getCheckedKeys:s,getCheckedNodes:c,getHalfCheckedKeys:d,getHalfCheckedNodes:u,setChecked:p,setCheckedKeys:f,filter:z,setData:oe}}var tY=ee({name:"ElTreeNodeContent",props:GU,setup(e){const t=Ie(Xp),n=ke("tree");return()=>{const o=e.node,{data:r}=o;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:o,data:r}):Re("span",{class:n.be("node","label")},[o==null?void 0:o.label])}}});const nY="caret-right",oY=ee({name:"ElTreeNode",components:{ElIcon:qe,CaretRight:Yv,ElCheckbox:lo,ElNodeContent:tY},props:YU,emits:ZU,setup(e,{emit:t}){const n=Ie(Xp),o=ke("tree"),r=C(()=>{var d;return(d=n==null?void 0:n.props.indent)!=null?d:16}),a=C(()=>{var d;return(d=n==null?void 0:n.props.icon)!=null?d:nY});return{ns:o,indent:r,icon:a,handleClick:d=>{t("click",e.node,d)},handleExpandIconClick:()=>{t("toggle",e.node)},handleCheckChange:d=>{t("check",e.node,d)},handleContextMenu:d=>{var u,p,f,h;(f=(p=(u=n==null?void 0:n.instance)==null?void 0:u.vnode)==null?void 0:p.props)!=null&&f.onNodeContextmenu&&(d.stopPropagation(),d.preventDefault()),n==null||n.ctx.emit(s1,d,(h=e.node)==null?void 0:h.data,e.node)}}}}),rY=["aria-expanded","aria-disabled","aria-checked","data-key"];function aY(e,t,n,o,r,a){var i,l,s;const c=le("el-icon"),d=le("el-checkbox"),u=le("el-node-content");return w(),I("div",{ref:"node$",class:S([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.current),e.ns.is("focusable",!e.disabled),e.ns.is("checked",!e.disabled&&e.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.disabled,"aria-checked":e.checked,"data-key":(i=e.node)==null?void 0:i.key,onClick:t[1]||(t[1]=He((...p)=>e.handleClick&&e.handleClick(...p),["stop"])),onContextmenu:t[2]||(t[2]=(...p)=>e.handleContextMenu&&e.handleContextMenu(...p))},[M("div",{class:S(e.ns.be("node","content")),style:Oe({paddingLeft:`${(e.node.level-1)*e.indent}px`})},[e.icon?(w(),Q(c,{key:0,class:S([e.ns.is("leaf",!!((l=e.node)!=null&&l.isLeaf)),e.ns.is("hidden",e.hiddenExpandIcon),{expanded:!((s=e.node)!=null&&s.isLeaf)&&e.expanded},e.ns.be("node","expand-icon")]),onClick:He(e.handleExpandIconClick,["stop"])},{default:K(()=>[(w(),Q(pt(e.icon)))]),_:1},8,["class","onClick"])):G("v-if",!0),e.showCheckbox?(w(),Q(d,{key:1,"model-value":e.checked,indeterminate:e.indeterminate,disabled:e.disabled,onChange:e.handleCheckChange,onClick:t[0]||(t[0]=He(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled","onChange"])):G("v-if",!0),U(u,{node:e.node},null,8,["node"])],6)],42,rY)}var iY=_e(oY,[["render",aY],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const lY=ee({name:"ElTreeV2",components:{ElTreeNode:iY,FixedSizeList:R_},props:UU,emits:XU,setup(e,t){ot(Xp,{ctx:t,props:e,instance:nt()});const{t:n}=Tt(),o=ke("tree"),{flattenTree:r,isNotEmpty:a,toggleExpand:i,isExpanded:l,isIndeterminate:s,isChecked:c,isDisabled:d,isCurrent:u,isForceHiddenExpandIcon:p,toggleCheckbox:f,handleNodeClick:h,handleNodeCheck:b,getCurrentNode:m,getCurrentKey:g,setCurrentKey:v,getCheckedKeys:y,getCheckedNodes:T,getHalfCheckedKeys:x,getHalfCheckedNodes:k,setChecked:$,setCheckedKeys:z,filter:P,setData:O}=eY(e,t.emit);return t.expose({getCurrentNode:m,getCurrentKey:g,setCurrentKey:v,getCheckedKeys:y,getCheckedNodes:T,getHalfCheckedKeys:x,getHalfCheckedNodes:k,setChecked:$,setCheckedKeys:z,filter:P,setData:O}),{t:n,ns:o,flattenTree:r,itemSize:26,isNotEmpty:a,toggleExpand:i,toggleCheckbox:f,isExpanded:l,isIndeterminate:s,isChecked:c,isDisabled:d,isCurrent:u,isForceHiddenExpandIcon:p,handleNodeClick:h,handleNodeCheck:b}}});function sY(e,t,n,o,r,a){var i;const l=le("el-tree-node"),s=le("fixed-size-list");return w(),I("div",{class:S([e.ns.b(),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[e.isNotEmpty?(w(),Q(s,{key:0,"class-name":e.ns.b("virtual-list"),data:e.flattenTree,total:e.flattenTree.length,height:e.height,"item-size":e.itemSize,"perf-mode":e.perfMode},{default:K(({data:c,index:d,style:u})=>[(w(),Q(l,{key:c[d].key,style:Oe(u),node:c[d],expanded:e.isExpanded(c[d]),"show-checkbox":e.showCheckbox,checked:e.isChecked(c[d]),indeterminate:e.isIndeterminate(c[d]),disabled:e.isDisabled(c[d]),current:e.isCurrent(c[d]),"hidden-expand-icon":e.isForceHiddenExpandIcon(c[d]),onClick:e.handleNodeClick,onToggle:e.toggleExpand,onCheck:e.handleNodeCheck},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(w(),I("div",{key:1,class:S(e.ns.e("empty-block"))},[M("span",{class:S(e.ns.e("empty-text"))},ve((i=e.emptyText)!=null?i:e.t("el.tree.emptyText")),3)],2))],2)}var cY=_e(lY,[["render",sY],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree.vue"]]);const dY=rt(cY),uY="ElUpload";class pY extends Error{constructor(t,n,o,r){super(t),this.name="UploadAjaxError",this.status=n,this.method=o,this.url=r}}function Ig(e,t,n){let o;return n.response?o=`${n.response.error||n.response}`:n.responseText?o=`${n.responseText}`:o=`fail to ${t.method} ${e} ${n.status}`,new pY(o,n.status,t.method,e)}function fY(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const hY=e=>{typeof XMLHttpRequest=="undefined"&&Wt(uY,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",a=>{const i=a;i.percent=a.total>0?a.loaded/a.total*100:0,e.onProgress(i)});const o=new FormData;if(e.data)for(const[a,i]of Object.entries(e.data))Array.isArray(i)?o.append(a,...i):o.append(a,i);o.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(Ig(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(Ig(n,e,t));e.onSuccess(fY(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const r=e.headers||{};if(r instanceof Headers)r.forEach((a,i)=>t.setRequestHeader(i,a));else for(const[a,i]of Object.entries(r))op(i)||t.setRequestHeader(a,String(i));return t.send(o),t},c1=["text","picture","picture-card"];let mY=1;const d1=()=>Date.now()+mY++,u1=Le({action:{type:String,required:!0},headers:{type:Te(Object)},method:{type:String,default:"post"},data:{type:Object,default:()=>Ft({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},type:{type:String,default:"select"},fileList:{type:Te(Array),default:()=>Ft([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:c1,default:"text"},httpRequest:{type:Te(Function),default:hY},disabled:Boolean,limit:Number}),gY=Le(ze(he({},u1),{beforeUpload:{type:Te(Function),default:wt},beforeRemove:{type:Te(Function)},onRemove:{type:Te(Function),default:wt},onChange:{type:Te(Function),default:wt},onPreview:{type:Te(Function),default:wt},onSuccess:{type:Te(Function),default:wt},onProgress:{type:Te(Function),default:wt},onError:{type:Te(Function),default:wt},onExceed:{type:Te(Function),default:wt}})),bY=Le({files:{type:Te(Array),default:()=>Ft([])},disabled:{type:Boolean,default:!1},handlePreview:{type:Te(Function),default:wt},listType:{type:String,values:c1,default:"text"}}),vY={remove:e=>!!e},yY=["onKeydown"],_Y=["src"],wY=["onClick"],xY=["onClick"],kY=["onClick"],TY={name:"ElUploadList"},CY=ee(ze(he({},TY),{props:bY,emits:vY,setup(e,{emit:t}){const n=e,{t:o}=Tt(),r=ke("upload"),a=ke("icon"),i=ke("list"),l=A(!1),s=u=>{n.handlePreview(u)},c=u=>{u.target.focus()},d=u=>{t("remove",u)};return(u,p)=>(w(),Q(Bx,{tag:"ul",class:S([_(r).b("list"),_(r).bm("list",u.listType),_(r).is("disabled",u.disabled)]),name:_(i).b()},{default:K(()=>[(w(!0),I(Fe,null,ct(u.files,f=>(w(),I("li",{key:f.uid||f.name,class:S([_(r).be("list","item"),_(r).is(f.status),{focusing:l.value}]),tabindex:"0",onKeydown:st(h=>!u.disabled&&d(f),["delete"]),onFocus:p[0]||(p[0]=h=>l.value=!0),onBlur:p[1]||(p[1]=h=>l.value=!1),onClick:c},[ue(u.$slots,"default",{file:f},()=>[u.listType==="picture"||f.status!=="uploading"&&u.listType==="picture-card"?(w(),I("img",{key:0,class:S(_(r).be("list","item-thumbnail")),src:f.url,alt:""},null,10,_Y)):G("v-if",!0),u.listType!=="picture"&&(f.status==="uploading"||u.listType!=="picture-card")?(w(),I("div",{key:1,class:S(_(r).be("list","item-info"))},[M("a",{class:S(_(r).be("list","item-name")),onClick:h=>s(f)},[U(_(qe),{class:S(_(a).m("document"))},{default:K(()=>[U(_(bE))]),_:1},8,["class"]),it(" "+ve(f.name),1)],10,wY),f.status==="uploading"?(w(),Q(_(k_),{key:0,type:u.listType==="picture-card"?"circle":"line","stroke-width":u.listType==="picture-card"?6:2,percentage:Number(f.percentage),style:Oe(u.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):G("v-if",!0)],2)):G("v-if",!0),M("label",{class:S(_(r).be("list","item-status-label"))},[u.listType==="text"?(w(),Q(_(qe),{key:0,class:S([_(a).m("upload-success"),_(a).m("circle-check")])},{default:K(()=>[U(_(Ss))]),_:1},8,["class"])):["picture-card","picture"].includes(u.listType)?(w(),Q(_(qe),{key:1,class:S([_(a).m("upload-success"),_(a).m("check")])},{default:K(()=>[U(_(Ca))]),_:1},8,["class"])):G("v-if",!0)],2),u.disabled?G("v-if",!0):(w(),Q(_(qe),{key:2,class:S(_(a).m("close")),onClick:h=>d(f)},{default:K(()=>[U(_(Hn))]),_:2},1032,["class","onClick"])),G(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),G(" This is a bug which needs to be fixed "),G(" TODO: Fix the incorrect navigation interaction "),u.disabled?G("v-if",!0):(w(),I("i",{key:3,class:S(_(a).m("close-tip"))},ve(_(o)("el.upload.deleteTip")),3)),u.listType==="picture-card"?(w(),I("span",{key:4,class:S(_(r).be("list","item-actions"))},[M("span",{class:S(_(r).be("list","item-preview")),onClick:h=>u.handlePreview(f)},[U(_(qe),{class:S(_(a).m("zoom-in"))},{default:K(()=>[U(_(Jv))]),_:1},8,["class"])],10,xY),u.disabled?G("v-if",!0):(w(),I("span",{key:0,class:S(_(r).be("list","item-delete")),onClick:h=>d(f)},[U(_(qe),{class:S(_(a).m("delete"))},{default:K(()=>[U(_(uE))]),_:1},8,["class"])],10,kY))],2)):G("v-if",!0)])],42,yY))),128)),ue(u.$slots,"append")]),_:3},8,["class","name"]))}}));var Ng=_e(CY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const SY=Le({disabled:{type:Boolean,default:!1}}),$Y={file:e=>Ye(e)},AY=["onDrop","onDragover"],EY={name:"ElUploadDrag"},zY=ee(ze(he({},EY),{props:SY,emits:$Y,setup(e,{emit:t}){const n=e,o="ElUploadDrag",r=Ie(gy);r||Wt(o,"usage: ");const a=ke("upload"),i=A(!1),l=c=>{if(n.disabled)return;i.value=!1;const d=Array.from(c.dataTransfer.files),u=r.accept.value;if(!u){t("file",d);return}const p=d.filter(f=>{const{type:h,name:b}=f,m=b.includes(".")?`.${b.split(".").pop()}`:"",g=h.replace(/\/.*$/,"");return u.split(",").map(v=>v.trim()).filter(v=>v).some(v=>v.startsWith(".")?m===v:/\/\*$/.test(v)?g===v.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(v)?h===v:!1)});t("file",p)},s=()=>{n.disabled||(i.value=!0)};return(c,d)=>(w(),I("div",{class:S([_(a).b("dragger"),_(a).is("dragover",i.value)]),onDrop:He(l,["prevent"]),onDragover:He(s,["prevent"]),onDragleave:d[0]||(d[0]=He(u=>i.value=!1,["prevent"]))},[ue(c.$slots,"default")],42,AY))}}));var IY=_e(zY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const NY=Le(ze(he({},u1),{fileList:{type:Te(Array),default:()=>Ft([])},beforeUpload:{type:Te(Function),default:wt},onRemove:{type:Te(Function),default:wt},onStart:{type:Te(Function),default:wt},onSuccess:{type:Te(Function),default:wt},onProgress:{type:Te(Function),default:wt},onError:{type:Te(Function),default:wt},onExceed:{type:Te(Function),default:wt}})),MY=["onKeydown"],RY=["name","multiple","accept"],PY={name:"ElUploadContent",inheritAttrs:!1},OY=ee(ze(he({},PY),{props:NY,setup(e,{expose:t}){const n=e,o=ke("upload"),r=Kt({}),a=Kt(),i=f=>{if(f.length===0)return;const{autoUpload:h,limit:b,fileList:m,multiple:g,onStart:v,onExceed:y}=n;if(b&&m.length+f.length>b){y(f,m);return}g||(f=f.slice(0,1));for(const T of f){const x=T;x.uid=d1(),v(x),h&&l(x)}},l=async f=>{if(a.value.value="",!n.beforeUpload)return s(f);let h;try{h=await n.beforeUpload(f)}catch{h=!1}if(h===!1){n.onRemove(f);return}let b=f;if(h instanceof Blob){h instanceof File?b=h:b=new File([h],f.name,{type:f.type});for(const m of Object.keys(f))b[m]=f[m]}s(f)},s=f=>{const{headers:h,data:b,method:m,withCredentials:g,name:v,action:y,onProgress:T,onSuccess:x,onError:k,httpRequest:$}=n,{uid:z}=f,P={headers:h||{},withCredentials:g,file:f,data:b,method:m,filename:v,action:y,onProgress:D=>{T(D,f)},onSuccess:D=>{x(D,f),delete r.value[z]},onError:D=>{k(D,f),delete r.value[z]}},O=$(P);r.value[z]=O,O instanceof Promise&&O.then(P.onSuccess,P.onError)},c=f=>{const h=f.target.files;!h||i(Array.from(h))},d=()=>{n.disabled||(a.value.value="",a.value.click())},u=()=>{d()};return t({abort:f=>{b$(r.value).filter(f?([b])=>String(f.uid)===b:()=>!0).forEach(([b,m])=>{m instanceof XMLHttpRequest&&m.abort(),delete r.value[b]})},upload:l}),(f,h)=>(w(),I("div",{class:S([_(o).b(),_(o).m(f.listType)]),tabindex:"0",onClick:d,onKeydown:st(He(u,["self"]),["enter","space"])},[f.drag?(w(),Q(IY,{key:0,disabled:f.disabled,onFile:i},{default:K(()=>[ue(f.$slots,"default")]),_:3},8,["disabled"])):ue(f.$slots,"default",{key:1}),M("input",{ref_key:"inputRef",ref:a,class:S(_(o).e("input")),name:f.name,multiple:f.multiple,accept:f.accept,type:"file",onChange:c},null,42,RY)],42,MY))}}));var Mg=_e(OY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const nd="ElUpload",FY=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},DY=(e,t)=>{const n=A([]),o=p=>n.value.find(f=>f.uid===p.uid);function r(p){var f;(f=t.value)==null||f.abort(p)}function a(p=["ready","uploading","success","fail"]){n.value=n.value.filter(f=>!p.includes(f.status))}const i=(p,f)=>{const h=o(f);!h||(h.status="fail",n.value.splice(n.value.indexOf(h),1),e.onError(p,h,n.value),e.onChange(h,n.value))},l=(p,f)=>{const h=o(f);!h||(e.onProgress(p,h,n.value),h.status="uploading",h.percentage=Math.round(p.percent))},s=(p,f)=>{const h=o(f);!h||(h.status="success",h.response=p,e.onSuccess(p,h,n.value),e.onChange(h,n.value))},c=p=>{const f={name:p.name,percentage:0,status:"ready",size:p.size,raw:p,uid:p.uid};if(e.listType==="picture-card"||e.listType==="picture")try{f.url=URL.createObjectURL(p)}catch(h){h.message,e.onError(h,f,n.value)}n.value.push(f),e.onChange(f,n.value)},d=async(p,f)=>{f&&il({scope:nd,from:"handleRemove second argument",version:"2.2",replacement:"first argument `file`",ref:"https://element-plus.org/en-US/component/upload.html#methods"},!0);const h=f||p,b=h instanceof File?o(h):h;b||Wt(nd,"file to be removed not found");const m=g=>{r(g);const v=n.value;v.splice(v.indexOf(g),1),e.onRemove(g,v),FY(g)};e.beforeRemove?await e.beforeRemove(b,n.value)!==!1&&m(b):m(b)};function u(){n.value.filter(({status:p})=>p==="ready").forEach(({raw:p})=>{var f;return p&&((f=t.value)==null?void 0:f.upload(p))})}return ge(()=>e.listType,p=>{p!=="picture-card"&&p!=="picture"||(n.value=n.value.map(f=>{const{raw:h,url:b}=f;if(!b&&h)try{f.url=URL.createObjectURL(h)}catch(m){e.onError(m,f,n.value)}return f}))}),ge(()=>e.fileList,p=>{for(const f of p)f.uid||(f.uid=d1()),f.status||(f.status="success");n.value=p},{immediate:!0,deep:!0}),{abort:r,clearFiles:a,handleError:i,handleProgress:l,handleStart:c,handleSuccess:s,handleRemove:d,submit:u,uploadFiles:n}},LY={name:"ElUpload"},VY=ee(ze(he({},LY),{props:gY,setup(e,{expose:t}){const n=e,o=nl(),r=Zr(),a=Kt(),{abort:i,submit:l,clearFiles:s,uploadFiles:c,handleStart:d,handleError:u,handleRemove:p,handleSuccess:f,handleProgress:h}=DY(n,a),b=C(()=>n.listType==="picture-card"),m=C(()=>ze(he({},n),{onStart:d,onProgress:h,onSuccess:f,onError:u,onRemove:p}));return $t(()=>{c.value.forEach(({url:g})=>{g!=null&&g.startsWith("blob:")&&URL.revokeObjectURL(g)})}),ot(gy,{accept:Yt(n,"accept")}),t({abort:i,submit:l,clearFiles:s,handleStart:d,handleRemove:p}),(g,v)=>(w(),I("div",null,[_(b)&&g.showFileList?(w(),Q(Ng,{key:0,disabled:_(r),"list-type":g.listType,files:_(c),"handle-preview":g.onPreview,onRemove:_(p)},dr({append:K(()=>[g.listType==="picture-card"?(w(),Q(Mg,St({key:0,ref_key:"uploadRef",ref:a},_(m)),{default:K(()=>[_(o).trigger?ue(g.$slots,"trigger",{key:0}):G("v-if",!0),!_(o).trigger&&_(o).default?ue(g.$slots,"default",{key:1}):G("v-if",!0)]),_:3},16)):G("v-if",!0)]),_:2},[g.$slots.file?{name:"default",fn:K(({file:y})=>[ue(g.$slots,"file",{file:y})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):G("v-if",!0),g.listType!=="picture-card"?(w(),Q(Mg,St({key:1,ref_key:"uploadRef",ref:a},_(m)),{default:K(()=>[_(o).trigger?ue(g.$slots,"trigger",{key:0}):G("v-if",!0),!_(o).trigger&&_(o).default?ue(g.$slots,"default",{key:1}):G("v-if",!0)]),_:3},16)):G("v-if",!0),g.$slots.trigger?ue(g.$slots,"default",{key:2}):G("v-if",!0),ue(g.$slots,"tip"),!_(b)&&g.showFileList?(w(),Q(Ng,{key:3,disabled:_(r),"list-type":g.listType,files:_(c),"handle-preview":g.onPreview,onRemove:_(p)},dr({_:2},[g.$slots.file?{name:"default",fn:K(({file:y})=>[ue(g.$slots,"file",{file:y})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):G("v-if",!0)]))}}));var BY=_e(VY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const jY=rt(BY);var HY=[R8,K8,hM,wM,AM,Zy,BM,jM,Vn,n0,XR,tP,fP,hP,zO,mO,OO,lo,RP,$0,LO,eF,tF,UO,AF,IF,HF,qF,KF,WF,UF,C7,N7,M7,K7,X7,iL,r9,a9,i9,q9,RV,PV,qe,GV,h_,Gn,m_,lB,AB,EB,zB,OB,Pj,Vj,Uj,Gy,k_,M0,ZP,XP,uH,gH,yH,qo,qr,zs,uj,uq,yq,_q,Dq,Kq,Zq,Jq,dK,mW,gW,zW,IW,mc,PR,FW,jW,HW,vn,uU,CU,LU,KU,dY,jY];const Jn="ElInfiniteScroll",qY=50,KY=200,WY=0,UY={delay:{type:Number,default:KY},distance:{type:Number,default:WY},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},Zp=(e,t)=>Object.entries(UY).reduce((n,[o,r])=>{var a,i;const{type:l,default:s}=r,c=e.getAttribute(`infinite-scroll-${o}`);let d=(i=(a=t[c])!=null?a:c)!=null?i:s;return d=d==="false"?!1:d,d=l(d),n[o]=Number.isNaN(d)?s:d,n},{}),p1=e=>{const{observer:t}=e[Jn];t&&(t.disconnect(),delete e[Jn].observer)},YY=(e,t)=>{const{container:n,containerEl:o,instance:r,observer:a,lastScrollTop:i}=e[Jn],{disabled:l,distance:s}=Zp(e,r),{clientHeight:c,scrollHeight:d,scrollTop:u}=o,p=u-i;if(e[Jn].lastScrollTop=u,a||l||p<0)return;let f=!1;if(n===e)f=d-(c+u)<=s;else{const{clientTop:h,scrollHeight:b}=e,m=f$(e,o);f=u+c>=m+h+b-s}f&&t.call(r)};function od(e,t){const{containerEl:n,instance:o}=e[Jn],{disabled:r}=Zp(e,o);r||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(o):p1(e))}const GY={async mounted(e,t){const{instance:n,value:o}=t;Je(o)||Wt(Jn,"'v-infinite-scroll' binding value must be a function"),await je();const{delay:r,immediate:a}=Zp(e,n),i=ap(e,!0),l=i===window?document.documentElement:i,s=Pr(YY.bind(null,e,o),r);if(!!i){if(e[Jn]={instance:n,container:i,containerEl:l,delay:r,cb:o,onScroll:s,lastScrollTop:l.scrollTop},a){const c=new MutationObserver(Pr(od.bind(null,e,o),qY));e[Jn].observer=c,c.observe(e,{childList:!0,subtree:!0}),od(e,o)}i.addEventListener("scroll",s)}},unmounted(e){const{container:t,onScroll:n}=e[Jn];t==null||t.removeEventListener("scroll",n),p1(e)},async updated(e){e[Jn]||await je();const{containerEl:t,cb:n,observer:o}=e[Jn];t.clientHeight&&o&&od(e,n)}},pu=GY;pu.install=e=>{e.directive("InfiniteScroll",pu)};const XY=pu;function ZY(e){let t;const n=A(!1),o=vt(ze(he({},e),{originalPosition:"",originalOverflow:"",visible:!1}));function r(u){o.text=u}function a(){const u=o.parent;if(!u.vLoadingAddClassList){let p=u.getAttribute("loading-number");p=Number.parseInt(p)-1,p?u.setAttribute("loading-number",p.toString()):(hn(u,"el-loading-parent--relative"),u.removeAttribute("loading-number")),hn(u,"el-loading-parent--hidden")}i()}function i(){var u,p;(p=(u=d.$el)==null?void 0:u.parentNode)==null||p.removeChild(d.$el)}function l(){var u;if(e.beforeClose&&!e.beforeClose())return;const p=o.parent;p.vLoadingAddClassList=void 0,n.value=!0,clearTimeout(t),t=window.setTimeout(()=>{n.value&&(n.value=!1,a())},400),o.visible=!1,(u=e.closed)==null||u.call(e)}function s(){!n.value||(n.value=!1,a())}const d=Ub({name:"ElLoading",setup(){return()=>{const u=o.spinner||o.svg,p=Re("svg",he({class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"25 25 50 50"},u?{innerHTML:u}:{}),[Re("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"})]),f=o.text?Re("p",{class:"el-loading-text"},[o.text]):void 0;return Re(qt,{name:"el-loading-fade",onAfterLeave:s},{default:K(()=>[Ue(U("div",{style:{backgroundColor:o.background||""},class:["el-loading-mask",o.customClass,o.fullscreen?"is-fullscreen":""]},[Re("div",{class:"el-loading-spinner"},[p,f])]),[[ft,o.visible]])])})}}}).mount(document.createElement("div"));return ze(he({},Gt(o)),{setText:r,remvoeElLoadingChild:i,close:l,handleAfterLeave:s,vm:d,get $el(){return d.$el}})}let oi;const fu=function(e={}){if(!dt)return;const t=JY(e);t.fullscreen&&oi&&(oi.remvoeElLoadingChild(),oi.close());const n=ZY(ze(he({},t),{closed:()=>{var r;(r=t.closed)==null||r.call(t),t.fullscreen&&(oi=void 0)}}));QY(t,t.parent,n),Rg(t,t.parent,n),t.parent.vLoadingAddClassList=()=>Rg(t,t.parent,n);let o=t.parent.getAttribute("loading-number");return o?o=`${Number.parseInt(o)+1}`:o="1",t.parent.setAttribute("loading-number",o),t.parent.appendChild(n.$el),je(()=>n.visible.value=t.visible),t.fullscreen&&(oi=n),n},JY=e=>{var t,n,o,r;let a;return Qe(e.target)?a=(t=document.querySelector(e.target))!=null?t:document.body:a=e.target||document.body,{parent:a===document.body||e.body?document.body:a,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:a===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(o=e.lock)!=null?o:!1,customClass:e.customClass||"",visible:(r=e.visible)!=null?r:!0,target:a}},QY=async(e,t,n)=>{const{nextZIndex:o}=jo(),r={};if(e.fullscreen)n.originalPosition.value=go(document.body,"position"),n.originalOverflow.value=go(document.body,"overflow"),r.zIndex=o();else if(e.parent===document.body){n.originalPosition.value=go(document.body,"position"),await je();for(const a of["top","left"]){const i=a==="top"?"scrollTop":"scrollLeft";r[a]=`${e.target.getBoundingClientRect()[a]+document.body[i]+document.documentElement[i]-Number.parseInt(go(document.body,`margin-${a}`),10)}px`}for(const a of["height","width"])r[a]=`${e.target.getBoundingClientRect()[a]}px`}else n.originalPosition.value=go(t,"position");for(const[a,i]of Object.entries(r))n.$el.style[a]=i},Rg=(e,t,n)=>{n.originalPosition.value!=="absolute"&&n.originalPosition.value!=="fixed"?bo(t,"el-loading-parent--relative"):hn(t,"el-loading-parent--relative"),e.fullscreen&&e.lock?bo(t,"el-loading-parent--hidden"):hn(t,"el-loading-parent--hidden")},hu=Symbol("ElLoading"),Pg=(e,t)=>{var n,o,r,a;const i=t.instance,l=p=>ut(t.value)?t.value[p]:void 0,s=p=>{const f=Qe(p)&&(i==null?void 0:i[p])||p;return f&&A(f)},c=p=>s(l(p)||e.getAttribute(`element-loading-${fr(p)}`)),d=(n=l("fullscreen"))!=null?n:t.modifiers.fullscreen,u={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:d,target:(o=l("target"))!=null?o:d?void 0:e,body:(r=l("body"))!=null?r:t.modifiers.body,lock:(a=l("lock"))!=null?a:t.modifiers.lock};e[hu]={options:u,instance:fu(u)}},eG=(e,t)=>{for(const n of Object.keys(t))Vt(t[n])&&(t[n].value=e[n])},Og={mounted(e,t){t.value&&Pg(e,t)},updated(e,t){const n=e[hu];t.oldValue!==t.value&&(t.value&&!t.oldValue?Pg(e,t):t.value&&t.oldValue?ut(t.value)&&eG(t.value,n.options):n==null||n.instance.close())},unmounted(e){var t;(t=e[hu])==null||t.instance.close()}},tG={install(e){e.directive("loading",Og),e.config.globalProperties.$loading=fu},directive:Og,service:fu},f1=["success","info","warning","error"],nG=Le({customClass:{type:String,default:""},center:{type:Boolean,default:!1},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:3e3},icon:{type:an,default:""},id:{type:String,default:""},message:{type:Te([String,Object,Function]),default:""},onClose:{type:Te(Function),required:!1},showClose:{type:Boolean,default:!1},type:{type:String,values:f1,default:"info"},offset:{type:Number,default:20},zIndex:{type:Number,default:0},grouping:{type:Boolean,default:!1},repeatNum:{type:Number,default:1}}),oG={destroy:()=>!0},rG=ee({name:"ElMessage",components:he({ElBadge:Zy,ElIcon:qe},ic),props:nG,emits:oG,setup(e){const t=ke("message"),n=A(!1),o=A(e.type?e.type==="error"?"danger":e.type:"info");let r;const a=C(()=>{const p=e.type;return{[t.bm("icon",p)]:p&&Fo[p]}}),i=C(()=>e.icon||Fo[e.type]||""),l=C(()=>({top:`${e.offset}px`,zIndex:e.zIndex}));function s(){e.duration>0&&({stop:r}=jr(()=>{n.value&&d()},e.duration))}function c(){r==null||r()}function d(){n.value=!1}function u({code:p}){p===Pe.esc?n.value&&d():s()}return et(()=>{s(),n.value=!0}),ge(()=>e.repeatNum,()=>{c(),s()}),Ht(document,"keydown",u),{ns:t,typeClass:a,iconComponent:i,customStyle:l,visible:n,badgeType:o,close:d,clearTimer:c,startTimer:s}}}),aG=["id"],iG=["innerHTML"];function lG(e,t,n,o,r,a){const i=le("el-badge"),l=le("el-icon"),s=le("close");return w(),Q(qt,{name:e.ns.b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t[2]||(t[2]=c=>e.$emit("destroy"))},{default:K(()=>[Ue(M("div",{id:e.id,class:S([e.ns.b(),{[e.ns.m(e.type)]:e.type&&!e.icon},e.ns.is("center",e.center),e.ns.is("closable",e.showClose),e.customClass]),style:Oe(e.customStyle),role:"alert",onMouseenter:t[0]||(t[0]=(...c)=>e.clearTimer&&e.clearTimer(...c)),onMouseleave:t[1]||(t[1]=(...c)=>e.startTimer&&e.startTimer(...c))},[e.repeatNum>1?(w(),Q(i,{key:0,value:e.repeatNum,type:e.badgeType,class:S(e.ns.e("badge"))},null,8,["value","type","class"])):G("v-if",!0),e.iconComponent?(w(),Q(l,{key:1,class:S([e.ns.e("icon"),e.typeClass])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])):G("v-if",!0),ue(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(w(),I(Fe,{key:1},[G(" Caution here, message could've been compromised, never use user's input as message "),M("p",{class:S(e.ns.e("content")),innerHTML:e.message},null,10,iG)],2112)):(w(),I("p",{key:0,class:S(e.ns.e("content"))},ve(e.message),3))]),e.showClose?(w(),Q(l,{key:2,class:S(e.ns.e("closeBtn")),onClick:He(e.close,["stop"])},{default:K(()=>[U(s)]),_:1},8,["class","onClick"])):G("v-if",!0)],46,aG),[[ft,e.visible]])]),_:3},8,["name","onBeforeLeave"])}var sG=_e(rG,[["render",lG],["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);const xn=[];let cG=1;const Pa=function(e={},t){if(!dt)return{close:()=>{}};if(mt(Xd.max)&&xn.length>=Xd.max)return{close:()=>{}};if(!jt(e)&&ut(e)&&e.grouping&&!jt(e.message)&&xn.length){const u=xn.find(p=>{var f,h,b;return`${(h=(f=p.vm.props)==null?void 0:f.message)!=null?h:""}`==`${(b=e.message)!=null?b:""}`});if(u)return u.vm.component.props.repeatNum+=1,u.vm.component.props.type=(e==null?void 0:e.type)||"info",{close:()=>d.component.proxy.visible=!1}}(Qe(e)||jt(e))&&(e={message:e});let n=e.offset||20;xn.forEach(({vm:u})=>{var p;n+=(((p=u.el)==null?void 0:p.offsetHeight)||0)+16}),n+=16;const{nextZIndex:o}=jo(),r=`message_${cG++}`,a=e.onClose,i=ze(he({zIndex:o()},e),{offset:n,id:r,onClose:()=>{dG(r,a)}});let l=document.body;Hr(e.appendTo)?l=e.appendTo:Qe(e.appendTo)&&(l=document.querySelector(e.appendTo)),Hr(l)||(l=document.body);const s=document.createElement("div");s.className=`container_${r}`;const c=i.message,d=U(sG,i,Je(c)?{default:c}:jt(c)?{default:()=>c}:null);return d.appContext=t||Pa._context,d.props.onDestroy=()=>{wa(null,s)},wa(d,s),xn.push({vm:d}),l.appendChild(s.firstElementChild),{close:()=>d.component.proxy.visible=!1}};f1.forEach(e=>{Pa[e]=(t={},n)=>((Qe(t)||jt(t))&&(t={message:t}),Pa(ze(he({},t),{type:e}),n))});function dG(e,t){const n=xn.findIndex(({vm:i})=>e===i.component.props.id);if(n===-1)return;const{vm:o}=xn[n];if(!o)return;t==null||t(o);const r=o.el.offsetHeight;xn.splice(n,1);const a=xn.length;if(!(a<1))for(let i=n;i=0;t--){const n=xn[t].vm.component;(e=n==null?void 0:n.proxy)==null||e.close()}}Pa.closeAll=uG;Pa._context=null;const pG=ey(Pa,"$message"),fG=ee({name:"ElMessageBox",directives:{TrapFocus:c0},components:he({ElButton:Vn,ElInput:Gn,ElOverlay:Np,ElIcon:qe},ic),inheritAttrs:!1,props:{buttonSize:{type:String,validator:Nn},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{t:n}=Tt(),o=A(!1),{nextZIndex:r}=jo(),a=vt({beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:r()}),i=C(()=>{const z=a.type;return z&&Fo[z]?`el-message-box-icon--${z}`:""}),l=Ut(C(()=>e.buttonSize),{prop:!0,form:!0,formItem:!0}),s=C(()=>a.icon||Fo[a.type]||""),c=C(()=>!!a.message),d=A(),u=A(),p=A(),f=A(),h=C(()=>a.confirmButtonClass);ge(()=>a.inputValue,async z=>{await je(),e.boxType==="prompt"&&z!==null&&x()},{immediate:!0}),ge(()=>o.value,z=>{z&&((e.boxType==="alert"||e.boxType==="confirm")&&je().then(()=>{var P,O,D;(D=(O=(P=f.value)==null?void 0:P.$el)==null?void 0:O.focus)==null||D.call(O)}),a.zIndex=r()),e.boxType==="prompt"&&(z?je().then(()=>{p.value&&p.value.$el&&k().focus()}):(a.editorErrorMessage="",a.validateError=!1))});const b=C(()=>e.draggable);wy(d,u,b),et(async()=>{await je(),e.closeOnHashChange&&At(window,"hashchange",m)}),$t(()=>{e.closeOnHashChange&&Bt(window,"hashchange",m)});function m(){!o.value||(o.value=!1,je(()=>{a.action&&t("action",a.action)}))}const g=()=>{e.closeOnClickModal&&T(a.distinguishCancelAndClose?"close":"cancel")},v=pp(g),y=z=>{if(a.inputType!=="textarea")return z.preventDefault(),T("confirm")},T=z=>{var P;e.boxType==="prompt"&&z==="confirm"&&!x()||(a.action=z,a.beforeClose?(P=a.beforeClose)==null||P.call(a,z,a,m):m())},x=()=>{if(e.boxType==="prompt"){const z=a.inputPattern;if(z&&!z.test(a.inputValue||""))return a.editorErrorMessage=a.inputErrorMessage||n("el.messagebox.error"),a.validateError=!0,!1;const P=a.inputValidator;if(typeof P=="function"){const O=P(a.inputValue);if(O===!1)return a.editorErrorMessage=a.inputErrorMessage||n("el.messagebox.error"),a.validateError=!0,!1;if(typeof O=="string")return a.editorErrorMessage=O,a.validateError=!0,!1}}return a.editorErrorMessage="",a.validateError=!1,!0},k=()=>{const z=p.value.$refs;return z.input||z.textarea},$=()=>{T("close")};return e.closeOnPressEscape?ky({handleClose:$},o):Zz(o,"keydown",z=>z.code===Pe.esc),e.lockScroll&&xy(o),Ty(o),ze(he({},Gt(a)),{overlayEvent:v,visible:o,hasMessage:c,typeClass:i,btnSize:l,iconComponent:s,confirmButtonClasses:h,rootRef:d,headerRef:u,inputRef:p,confirmRef:f,doClose:m,handleClose:$,handleWrapperClick:g,handleInputEnter:y,handleAction:T,t:n})}}),hG=["aria-label"],mG={key:0,ref:"headerRef",class:"el-message-box__header"},gG={class:"el-message-box__title"},bG={class:"el-message-box__content"},vG={class:"el-message-box__container"},yG={key:1,class:"el-message-box__message"},_G={key:0},wG=["innerHTML"],xG={class:"el-message-box__input"},kG={class:"el-message-box__btns"};function TG(e,t,n,o,r,a){const i=le("el-icon"),l=le("close"),s=le("el-input"),c=le("el-button"),d=le("el-overlay"),u=In("trap-focus");return w(),Q(qt,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=p=>e.$emit("vanish"))},{default:K(()=>[Ue(U(d,{"z-index":e.zIndex,"overlay-class":["is-message-box",e.modalClass],mask:e.modal},{default:K(()=>[M("div",{class:"el-overlay-message-box",onClick:t[8]||(t[8]=(...p)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...p)),onMousedown:t[9]||(t[9]=(...p)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...p)),onMouseup:t[10]||(t[10]=(...p)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...p))},[Ue((w(),I("div",{ref:"rootRef",role:"dialog","aria-label":e.title||"dialog","aria-modal":"true",class:S(["el-message-box",e.customClass,{"el-message-box--center":e.center,"is-draggable":e.draggable}]),style:Oe(e.customStyle),onClick:t[7]||(t[7]=He(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(w(),I("div",mG,[M("div",gG,[e.iconComponent&&e.center?(w(),Q(i,{key:0,class:S(["el-message-box__status",e.typeClass])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])):G("v-if",!0),M("span",null,ve(e.title),1)]),e.showClose?(w(),I("button",{key:0,type:"button",class:"el-message-box__headerbtn","aria-label":"Close",onClick:t[0]||(t[0]=p=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=st(He(p=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[U(i,{class:"el-message-box__close"},{default:K(()=>[U(l)]),_:1})],32)):G("v-if",!0)],512)):G("v-if",!0),M("div",bG,[M("div",vG,[e.iconComponent&&!e.center&&e.hasMessage?(w(),Q(i,{key:0,class:S(["el-message-box__status",e.typeClass])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])):G("v-if",!0),e.hasMessage?(w(),I("div",yG,[ue(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(w(),I("p",{key:1,innerHTML:e.message},null,8,wG)):(w(),I("p",_G,ve(e.message),1))])])):G("v-if",!0)]),Ue(M("div",xG,[U(s,{ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=p=>e.inputValue=p),type:e.inputType,placeholder:e.inputPlaceholder,class:S({invalid:e.validateError}),onKeydown:st(e.handleInputEnter,["enter"])},null,8,["modelValue","type","placeholder","class","onKeydown"]),M("div",{class:"el-message-box__errormsg",style:Oe({visibility:e.editorErrorMessage?"visible":"hidden"})},ve(e.editorErrorMessage),5)],512),[[ft,e.showInput]])]),M("div",kG,[e.showCancelButton?(w(),Q(c,{key:0,loading:e.cancelButtonLoading,class:S([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=p=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=st(He(p=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:K(()=>[it(ve(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):G("v-if",!0),Ue(U(c,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,class:S([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=p=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=st(He(p=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:K(()=>[it(ve(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[ft,e.showConfirmButton]])])],14,hG)),[[u]])],32)]),_:3},8,["z-index","overlay-class","mask"]),[[ft,e.visible]])]),_:3})}var CG=_e(fG,[["render",TG],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const Xi=new Map,SG=(e,t,n=null)=>{const o=Re(CG,e);return o.appContext=n,wa(o,t),document.body.appendChild(t.firstElementChild),o.component},$G=()=>document.createElement("div"),AG=(e,t)=>{const n=$G();e.onVanish=()=>{wa(null,n),Xi.delete(r)},e.onAction=a=>{const i=Xi.get(r);let l;e.showInput?l={value:r.inputValue,action:a}:l=a,e.callback?e.callback(l,o.proxy):a==="cancel"||a==="close"?e.distinguishCancelAndClose&&a!=="cancel"?i.reject("close"):i.reject("cancel"):i.resolve(l)};const o=SG(e,n,t),r=o.proxy;for(const a in e)lt(e,a)&&!lt(r.$props,a)&&(r[a]=e[a]);return ge(()=>r.message,(a,i)=>{jt(a)?o.slots.default=()=>[a]:jt(i)&&!jt(a)&&delete o.slots.default},{immediate:!0}),r.visible=!0,r};function Ya(e,t=null){if(!dt)return Promise.reject();let n;return Qe(e)||jt(e)?e={message:e}:n=e.callback,new Promise((o,r)=>{const a=AG(e,t!=null?t:Ya._context);Xi.set(a,{options:e,callback:n,resolve:o,reject:r})})}const EG=["alert","confirm","prompt"],zG={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};EG.forEach(e=>{Ya[e]=IG(e)});function IG(e){return(t,n,o,r)=>{let a;return ut(n)?(o=n,a=""):Cn(n)?a="":a=n,Ya(Object.assign(he({title:a,message:t,type:""},zG[e]),o,{boxType:e}),r)}}Ya.close=()=>{Xi.forEach((e,t)=>{t.doClose()}),Xi.clear()};Ya._context=null;const er=Ya;er.install=e=>{er._context=e._context,e.config.globalProperties.$msgbox=er,e.config.globalProperties.$messageBox=er,e.config.globalProperties.$alert=er.alert,e.config.globalProperties.$confirm=er.confirm,e.config.globalProperties.$prompt=er.prompt};const NG=er,h1=["success","info","warning","error"],MG=Le({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:Te([String,Object]),default:""},id:{type:String,default:""},message:{type:Te([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:Te(Function),default:()=>{}},onClose:{type:Te(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...h1,""],default:""},zIndex:{type:Number,default:0}}),RG={destroy:()=>!0},PG=ee({name:"ElNotification",components:he({ElIcon:qe},ic),props:MG,emits:RG,setup(e){const t=ke("notification"),n=A(!1);let o;const r=C(()=>{const f=e.type;return f&&Fo[e.type]?t.m(f):""}),a=C(()=>Fo[e.type]||e.icon||""),i=C(()=>e.position.endsWith("right")?"right":"left"),l=C(()=>e.position.startsWith("top")?"top":"bottom"),s=C(()=>({[l.value]:`${e.offset}px`,zIndex:e.zIndex}));function c(){e.duration>0&&({stop:o}=jr(()=>{n.value&&u()},e.duration))}function d(){o==null||o()}function u(){n.value=!1}function p({code:f}){f===Pe.delete||f===Pe.backspace?d():f===Pe.esc?n.value&&u():c()}return et(()=>{c(),n.value=!0}),Ht(document,"keydown",p),{ns:t,horizontalClass:i,typeClass:r,iconComponent:a,positionStyle:s,visible:n,close:u,clearTimer:d,startTimer:c}}}),OG=["id"],FG=["textContent"],DG={key:0},LG=["innerHTML"];function VG(e,t,n,o,r,a){const i=le("el-icon"),l=le("close");return w(),Q(qt,{name:e.ns.b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t[3]||(t[3]=s=>e.$emit("destroy"))},{default:K(()=>[Ue(M("div",{id:e.id,class:S([e.ns.b(),e.customClass,e.horizontalClass]),style:Oe(e.positionStyle),role:"alert",onMouseenter:t[0]||(t[0]=(...s)=>e.clearTimer&&e.clearTimer(...s)),onMouseleave:t[1]||(t[1]=(...s)=>e.startTimer&&e.startTimer(...s)),onClick:t[2]||(t[2]=(...s)=>e.onClick&&e.onClick(...s))},[e.iconComponent?(w(),Q(i,{key:0,class:S([e.ns.e("icon"),e.typeClass])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])):G("v-if",!0),M("div",{class:S(e.ns.e("group"))},[M("h2",{class:S(e.ns.e("title")),textContent:ve(e.title)},null,10,FG),Ue(M("div",{class:S(e.ns.e("content")),style:Oe(e.title?void 0:{margin:0})},[ue(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(w(),I(Fe,{key:1},[G(" Caution here, message could've been compromized, nerver use user's input as message "),G(" eslint-disable-next-line "),M("p",{innerHTML:e.message},null,8,LG)],2112)):(w(),I("p",DG,ve(e.message),1))])],6),[[ft,e.message]]),e.showClose?(w(),Q(i,{key:0,class:S(e.ns.e("closeBtn")),onClick:He(e.close,["stop"])},{default:K(()=>[U(l)]),_:1},8,["class","onClick"])):G("v-if",!0)],2)],46,OG),[[ft,e.visible]])]),_:3},8,["name","onBeforeLeave"])}var BG=_e(PG,[["render",VG],["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const Os={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},mu=16;let jG=1;const Oa=function(e={},t=null){if(!dt)return{close:()=>{}};(typeof e=="string"||jt(e))&&(e={message:e});const n=e.position||"top-right";let o=e.offset||0;Os[n].forEach(({vm:u})=>{var p;o+=(((p=u.el)==null?void 0:p.offsetHeight)||0)+mu}),o+=mu;const{nextZIndex:r}=jo(),a=`notification_${jG++}`,i=e.onClose,l=ze(he({zIndex:r(),offset:o},e),{id:a,onClose:()=>{HG(a,n,i)}});let s=document.body;Hr(e.appendTo)?s=e.appendTo:Qe(e.appendTo)&&(s=document.querySelector(e.appendTo)),Hr(s)||(s=document.body);const c=document.createElement("div"),d=U(BG,l,jt(l.message)?{default:()=>l.message}:null);return d.appContext=t!=null?t:Oa._context,d.props.onDestroy=()=>{wa(null,c)},wa(d,c),Os[n].push({vm:d}),s.appendChild(c.firstElementChild),{close:()=>{d.component.proxy.visible=!1}}};h1.forEach(e=>{Oa[e]=(t={})=>((typeof t=="string"||jt(t))&&(t={message:t}),Oa(ze(he({},t),{type:e})))});function HG(e,t,n){const o=Os[t],r=o.findIndex(({vm:c})=>{var d;return((d=c.component)==null?void 0:d.props.id)===e});if(r===-1)return;const{vm:a}=o[r];if(!a)return;n==null||n(a);const i=a.el.offsetHeight,l=t.split("-")[0];o.splice(r,1);const s=o.length;if(!(s<1))for(let c=r;c{t.component.proxy.visible=!1})}Oa.closeAll=qG;Oa._context=null;const KG=ey(Oa,"$notify");var WG=[XY,tG,pG,NG,KG,Yj],UG=A8([...HY,...WG]);const YG=window.jQuery;Ub(t2).use(sk).use(UG).mount("#app")});export default GG(); + */var aK=/["'&<>]/,iK=lK;function lK(e){var t=""+e,n=aK.exec(t);if(!n)return t;var o,r="",a=0,i=0;for(a=n.index;atypeof c=="string"?Pt(l,c):c(l,s,e))):(t!=="$key"&&wg(l)&&"$value"in l&&(l=l.$value),[wg(l)?Pt(l,t):l])},i=function(l,s){if(o)return o(l.value,s.value);for(let c=0,d=l.key.length;cs.key[c])return 1}return 0};return e.map((l,s)=>({value:l,index:s,key:a?a(l,s):null})).sort((l,s)=>{let c=i(l,s);return c||(c=l.index-s.index),c*+n}).map(l=>l.value)},D_=function(e,t){let n=null;return e.columns.forEach(o=>{o.id===t&&(n=o)}),n},cK=function(e,t){let n=null;for(let o=0;o{if(!e)throw new Error("Row is required when get row identity");if(typeof t=="string"){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let o=e;for(const r of n)o=o[r];return`${o}`}else if(typeof t=="function")return t.call(null,e)},Nr=function(e,t){const n={};return(e||[]).forEach((o,r)=>{n[nn(o,t)]={row:o,index:r}}),n};function dK(e,t){const n={};let o;for(o in e)n[o]=e[o];for(o in t)if(it(t,o)){const r=t[o];typeof r!="undefined"&&(n[o]=r)}return n}function Vp(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function L_(e){return e===""||e!==void 0&&(e=Vp(e),Number.isNaN(e)&&(e=80)),e}function iu(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function uK(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...o)=>t(n(...o)))}function rs(e,t,n){let o=!1;const r=e.indexOf(t),a=r!==-1,i=()=>{e.push(t),o=!0},l=()=>{e.splice(r,1),o=!0};return typeof n=="boolean"?n&&!a?i():!n&&a&&l():a?l():i(),o}function pK(e,t,n="children",o="hasChildren"){const r=i=>!(Array.isArray(i)&&i.length);function a(i,l,s){t(i,l,s),l.forEach(c=>{if(c[o]){t(c,null,s+1);return}const d=c[n];r(d)||a(c,d,s+1)})}e.forEach(i=>{if(i[o]){t(i,null,0);return}const l=i[n];r(l)||a(i,l,0)})}let Rs;function fK(e,t,n,o){const{nextZIndex:r}=jo();function a(){const u=o==="light",p=document.createElement("div");return p.className=`el-popper ${u?"is-light":"is-dark"}`,t=iK(t),p.innerHTML=t,p.style.zIndex=String(r()),document.body.appendChild(p),p}function i(){const u=document.createElement("div");return u.className="el-popper__arrow",u}function l(){s&&s.update()}Rs=function u(){try{s&&s.destroy(),c&&document.body.removeChild(c),Bt(e,"mouseenter",l),Bt(e,"mouseleave",u)}catch{}};let s=null;const c=a(),d=i();return c.appendChild(d),s=Uy(e,c,he({modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"arrow",options:{element:d,padding:10}}]},n)),At(e,"mouseenter",l),At(e,"mouseleave",Rs),s}const V_=(e,t,n,o)=>{let r=0,a=e;if(o){if(o[e].colSpan>1)return{};for(let s=0;s=l.value.length-n.states.rightFixedLeafColumnsLength.value&&(i="right");break;default:a=l.value.length-n.states.rightFixedLeafColumnsLength.value&&(i="right")}return i?{direction:i,start:r,after:a}:{}},Bp=(e,t,n,o,r)=>{const a=[],{direction:i,start:l}=V_(t,n,o,r);if(i){const s=i==="left";a.push(`${e}-fixed-column--${i}`),s&&l===o.states.fixedLeafColumnsLength.value-1?a.push("is-last-column"):!s&&l===o.states.columns.value.length-o.states.rightFixedLeafColumnsLength.value&&a.push("is-first-column")}return a};function kg(e,t){return e+(t.realWidth===null||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const jp=(e,t,n,o)=>{const{direction:r,start:a=0}=V_(e,t,n,o);if(!r)return;const i={},l=r==="left",s=n.states.columns.value;return l?i.left=s.slice(0,e).reduce(kg,0):i.right=s.slice(a+1).reverse().reduce(kg,0),i},Ra=(e,t)=>{!e||Number.isNaN(e[t])||(e[t]=`${e[t]}px`)};function hK(e){const t=nt(),n=A(!1),o=A([]);return{updateExpandRows:()=>{const s=e.data.value||[],c=e.rowKey.value;if(n.value)o.value=s.slice();else if(c){const d=Nr(o.value,c);o.value=s.reduce((u,p)=>{const f=nn(p,c);return d[f]&&u.push(p),u},[])}else o.value=[]},toggleRowExpansion:(s,c)=>{rs(o.value,s,c)&&t.emit("expand-change",s,o.value.slice())},setExpandRowKeys:s=>{t.store.assertRowKey();const c=e.data.value||[],d=e.rowKey.value,u=Nr(c,d);o.value=s.reduce((p,f)=>{const h=u[f];return h&&p.push(h.row),p},[])},isRowExpanded:s=>{const c=e.rowKey.value;return c?!!Nr(o.value,c)[nn(s,c)]:o.value.includes(s)},states:{expandRows:o,defaultExpandAll:n}}}function mK(e){const t=nt(),n=A(null),o=A(null),r=c=>{t.store.assertRowKey(),n.value=c,i(c)},a=()=>{n.value=null},i=c=>{const{data:d,rowKey:u}=e;let p=null;u.value&&(p=(_(d)||[]).find(f=>nn(f,u.value)===c)),o.value=p,t.emit("current-change",o.value,null)};return{setCurrentRowKey:r,restoreCurrentRowKey:a,setCurrentRowByKey:i,updateCurrentRow:c=>{const d=o.value;if(c&&c!==d){o.value=c,t.emit("current-change",o.value,d);return}!c&&d&&(o.value=null,t.emit("current-change",null,d))},updateCurrentRowData:()=>{const c=e.rowKey.value,d=e.data.value||[],u=o.value;if(!d.includes(u)&&u){if(c){const p=nn(u,c);i(p)}else o.value=null;o.value===null&&t.emit("current-change",null,u)}else n.value&&(i(n.value),a())},states:{_currentRowKey:n,currentRow:o}}}function gK(e){const t=A([]),n=A({}),o=A(16),r=A(!1),a=A({}),i=A("hasChildren"),l=A("children"),s=nt(),c=C(()=>{if(!e.rowKey.value)return{};const g=e.data.value||[];return u(g)}),d=C(()=>{const g=e.rowKey.value,v=Object.keys(a.value),y={};return v.length&&v.forEach(T=>{if(a.value[T].length){const x={children:[]};a.value[T].forEach(k=>{const $=nn(k,g);x.children.push($),k[i.value]&&!y[$]&&(y[$]={children:[]})}),y[T]=x}}),y}),u=g=>{const v=e.rowKey.value,y={};return pK(g,(T,x,k)=>{const $=nn(T,v);Array.isArray(x)?y[$]={children:x.map(z=>nn(z,v)),level:k}:r.value&&(y[$]={children:[],lazy:!0,level:k})},l.value,i.value),y},p=(g=!1,v=(y=>(y=s.store)==null?void 0:y.states.defaultExpandAll.value)())=>{var y;const T=c.value,x=d.value,k=Object.keys(T),$={};if(k.length){const z=_(n),P=[],O=(L,F)=>{if(g)return t.value?v||t.value.includes(F):!!(v||(L==null?void 0:L.expanded));{const V=v||t.value&&t.value.includes(F);return!!((L==null?void 0:L.expanded)||V)}};k.forEach(L=>{const F=z[L],V=he({},T[L]);if(V.expanded=O(F,L),V.lazy){const{loaded:q=!1,loading:M=!1}=F||{};V.loaded=!!q,V.loading=!!M,P.push(L)}$[L]=V});const D=Object.keys(x);r.value&&D.length&&P.length&&D.forEach(L=>{const F=z[L],V=x[L].children;if(P.includes(L)){if($[L].children.length!==0)throw new Error("[ElTable]children must be an empty array.");$[L].children=V}else{const{loaded:q=!1,loading:M=!1}=F||{};$[L]={lazy:!0,loaded:!!q,loading:!!M,expanded:O(F,L),children:V,level:""}}})}n.value=$,(y=s.store)==null||y.updateTableScrollY()};ge(()=>t.value,()=>{p(!0)}),ge(()=>c.value,()=>{p()}),ge(()=>d.value,()=>{p()});const f=g=>{t.value=g,p()},h=(g,v)=>{s.store.assertRowKey();const y=e.rowKey.value,T=nn(g,y),x=T&&n.value[T];if(T&&x&&"expanded"in x){const k=x.expanded;v=typeof v=="undefined"?!x.expanded:v,n.value[T].expanded=v,k!==v&&s.emit("expand-change",g,v),s.store.updateTableScrollY()}},b=g=>{s.store.assertRowKey();const v=e.rowKey.value,y=nn(g,v),T=n.value[y];r.value&&T&&"loaded"in T&&!T.loaded?m(g,y,T):h(g,void 0)},m=(g,v,y)=>{const{load:T}=s.props;T&&!n.value[v].loaded&&(n.value[v].loading=!0,T(g,y,x=>{if(!Array.isArray(x))throw new TypeError("[ElTable] data must be an array");n.value[v].loading=!1,n.value[v].loaded=!0,n.value[v].expanded=!0,x.length&&(a.value[v]=x),s.emit("expand-change",g,!0)}))};return{loadData:m,loadOrToggle:b,toggleTreeExpansion:h,updateTreeExpandKeys:f,updateTreeData:p,normalize:u,states:{expandRowKeys:t,treeData:n,indent:o,lazy:r,lazyTreeNodeMap:a,lazyColumnIdentifier:i,childrenColumnName:l}}}const bK=(e,t)=>{const n=t.sortingColumn;return!n||typeof n.sortable=="string"?e:sK(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},as=e=>{const t=[];return e.forEach(n=>{n.children?t.push.apply(t,as(n.children)):t.push(n)}),t};function vK(){var e;const t=nt(),{size:n}=Gt((e=t.proxy)==null?void 0:e.$props),o=A(null),r=A([]),a=A([]),i=A(!1),l=A([]),s=A([]),c=A([]),d=A([]),u=A([]),p=A([]),f=A([]),h=A([]),b=A(0),m=A(0),g=A(0),v=A(!1),y=A([]),T=A(!1),x=A(!1),k=A(null),$=A({}),z=A(null),P=A(null),O=A(null),D=A(null),L=A(null);ge(r,()=>t.state&&q(!1),{deep:!0});const F=()=>{if(!o.value)throw new Error("[ElTable] prop row-key is required")},V=()=>{d.value=l.value.filter(Ee=>Ee.fixed===!0||Ee.fixed==="left"),u.value=l.value.filter(Ee=>Ee.fixed==="right"),d.value.length>0&&l.value[0]&&l.value[0].type==="selection"&&!l.value[0].fixed&&(l.value[0].fixed=!0,d.value.unshift(l.value[0]));const Ve=l.value.filter(Ee=>!Ee.fixed);s.value=[].concat(d.value).concat(Ve).concat(u.value);const re=as(Ve),ye=as(d.value),fe=as(u.value);b.value=re.length,m.value=ye.length,g.value=fe.length,c.value=[].concat(ye).concat(re).concat(fe),i.value=d.value.length>0||u.value.length>0},q=(Ve,re=!1)=>{Ve&&V(),re?t.state.doLayout():t.state.debouncedUpdateLayout()},M=Ve=>y.value.includes(Ve),E=()=>{v.value=!1,y.value.length&&(y.value=[],t.emit("selection-change",[]))},N=()=>{let Ve;if(o.value){Ve=[];const re=Nr(y.value,o.value),ye=Nr(r.value,o.value);for(const fe in re)it(re,fe)&&!ye[fe]&&Ve.push(re[fe].row)}else Ve=y.value.filter(re=>!r.value.includes(re));if(Ve.length){const re=y.value.filter(ye=>!Ve.includes(ye));y.value=re,t.emit("selection-change",re.slice())}},W=()=>(y.value||[]).slice(),Y=(Ve,re=void 0,ye=!0)=>{if(rs(y.value,Ve,re)){const Ee=(y.value||[]).slice();ye&&t.emit("select",Ee,Ve),t.emit("selection-change",Ee)}},J=()=>{var Ve,re;const ye=x.value?!v.value:!(v.value||y.value.length);v.value=ye;let fe=!1,Ee=0;const We=(re=(Ve=t==null?void 0:t.store)==null?void 0:Ve.states)==null?void 0:re.rowKey.value;r.value.forEach((gt,Ct)=>{const _t=Ct+Ee;k.value?k.value.call(null,gt,_t)&&rs(y.value,gt,ye)&&(fe=!0):rs(y.value,gt,ye)&&(fe=!0),Ee+=Se(nn(gt,We))}),fe&&t.emit("selection-change",y.value?y.value.slice():[]),t.emit("select-all",y.value)},Z=()=>{const Ve=Nr(y.value,o.value);r.value.forEach(re=>{const ye=nn(re,o.value),fe=Ve[ye];fe&&(y.value[fe.index]=re)})},se=()=>{var Ve,re,ye;if(((Ve=r.value)==null?void 0:Ve.length)===0){v.value=!1;return}let fe;o.value&&(fe=Nr(y.value,o.value));const Ee=function(_t){return fe?!!fe[nn(_t,o.value)]:y.value.includes(_t)};let We=!0,gt=0,Ct=0;for(let _t=0,Et=(r.value||[]).length;_t{var re;if(!t||!t.store)return 0;const{treeData:ye}=t.store.states;let fe=0;const Ee=(re=ye.value[Ve])==null?void 0:re.children;return Ee&&(fe+=Ee.length,Ee.forEach(We=>{fe+=Se(We)})),fe},oe=(Ve,re)=>{Array.isArray(Ve)||(Ve=[Ve]);const ye={};return Ve.forEach(fe=>{$.value[fe.id]=re,ye[fe.columnKey||fe.id]=re}),ye},H=(Ve,re,ye)=>{P.value&&P.value!==Ve&&(P.value.order=null),P.value=Ve,O.value=re,D.value=ye},ne=()=>{let Ve=_(a);Object.keys($.value).forEach(re=>{const ye=$.value[re];if(!ye||ye.length===0)return;const fe=D_({columns:c.value},re);fe&&fe.filterMethod&&(Ve=Ve.filter(Ee=>ye.some(We=>fe.filterMethod.call(null,We,Ee,fe))))}),z.value=Ve},ie=()=>{r.value=bK(z.value,{sortingColumn:P.value,sortProp:O.value,sortOrder:D.value})},be=(Ve=void 0)=>{Ve&&Ve.filter||ne(),ie()},$e=Ve=>{const{tableHeaderRef:re}=t.refs;if(!re)return;const ye=Object.assign({},re.filterPanels),fe=Object.keys(ye);if(!!fe.length)if(typeof Ve=="string"&&(Ve=[Ve]),Array.isArray(Ve)){const Ee=Ve.map(We=>cK({columns:c.value},We));fe.forEach(We=>{const gt=Ee.find(Ct=>Ct.id===We);gt&&(gt.filteredValue=[])}),t.store.commit("filterChange",{column:Ee,values:[],silent:!0,multi:!0})}else fe.forEach(Ee=>{const We=c.value.find(gt=>gt.id===Ee);We&&(We.filteredValue=[])}),$.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},Ne=()=>{!P.value||(H(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Me,toggleRowExpansion:j,updateExpandRows:X,states:de,isRowExpanded:xe}=hK({data:r,rowKey:o}),{updateTreeExpandKeys:we,toggleTreeExpansion:Ae,updateTreeData:ce,loadOrToggle:ae,states:te}=gK({data:r,rowKey:o}),{updateCurrentRowData:pe,updateCurrentRow:De,setCurrentRowKey:B,states:me}=mK({data:r,rowKey:o});return{assertRowKey:F,updateColumns:V,scheduleLayout:q,isSelected:M,clearSelection:E,cleanSelection:N,getSelectionRows:W,toggleRowSelection:Y,_toggleAllSelection:J,toggleAllSelection:null,updateSelectionByRowKey:Z,updateAllSelected:se,updateFilters:oe,updateCurrentRow:De,updateSort:H,execFilter:ne,execSort:ie,execQuery:be,clearFilter:$e,clearSort:Ne,toggleRowExpansion:j,setExpandRowKeysAdapter:Ve=>{Me(Ve),we(Ve)},setCurrentRowKey:B,toggleRowExpansionAdapter:(Ve,re)=>{c.value.some(({type:fe})=>fe==="expand")?j(Ve,re):Ae(Ve,re)},isRowExpanded:xe,updateExpandRows:X,updateCurrentRowData:pe,loadOrToggle:ae,updateTreeData:ce,states:he(he(he({tableSize:n,rowKey:o,data:r,_data:a,isComplex:i,_columns:l,originColumns:s,columns:c,fixedColumns:d,rightFixedColumns:u,leafColumns:p,fixedLeafColumns:f,rightFixedLeafColumns:h,leafColumnsLength:b,fixedLeafColumnsLength:m,rightFixedLeafColumnsLength:g,isAllSelected:v,selection:y,reserveSelection:T,selectOnIndeterminate:x,selectable:k,filters:$,filteredData:z,sortingColumn:P,sortProp:O,sortOrder:D,hoverRow:L},de),te),me)}}function lu(e,t){return e.map(n=>{var o;return n.id===t.id?t:((o=n.children)!=null&&o.length&&(n.children=lu(n.children,t)),n)})}function B_(e){e.forEach(t=>{var n,o;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(o=t.children)!=null&&o.length&&B_(t.children)}),e.sort((t,n)=>t.no-n.no)}function yK(){const e=nt(),t=vK(),n=ke("table"),o={setData(i,l){const s=_(i._data)!==l;i.data.value=l,i._data.value=l,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),_(i.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):s?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(i,l,s){const c=_(i._columns);let d=[];s?(s&&!s.children&&(s.children=[]),s.children.push(l),d=lu(c,s)):(c.push(l),d=c),B_(d),i._columns.value=d,l.type==="selection"&&(i.selectable.value=l.selectable,i.reserveSelection.value=l.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},removeColumn(i,l,s){const c=_(i._columns)||[];if(s)s.children.splice(s.children.findIndex(d=>d.id===l.id),1),s.children.length===0&&delete s.children,i._columns.value=lu(c,s);else{const d=c.indexOf(l);d>-1&&(c.splice(d,1),i._columns.value=c)}e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(i,l){const{prop:s,order:c,init:d}=l;if(s){const u=_(i.columns).find(p=>p.property===s);u&&(u.order=c,e.store.updateSort(u,s,c),e.store.commit("changeSortCondition",{init:d}))}},changeSortCondition(i,l){const{sortingColumn:s,sortProp:c,sortOrder:d}=i;_(d)===null&&(i.sortingColumn.value=null,i.sortProp.value=null);const u={filter:!0};e.store.execQuery(u),(!l||!(l.silent||l.init))&&e.emit("sort-change",{column:_(s),prop:_(c),order:_(d)}),e.store.updateTableScrollY()},filterChange(i,l){const{column:s,values:c,silent:d}=l,u=e.store.updateFilters(s,c);e.store.execQuery(),d||e.emit("filter-change",u),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(i,l){e.store.toggleRowSelection(l),e.store.updateAllSelected()},setHoverRow(i,l){i.hoverRow.value=l},setCurrentRow(i,l){e.store.updateCurrentRow(l)}},r=function(i,...l){const s=e.store.mutations;if(s[i])s[i].apply(e,[e.store.states].concat(l));else throw new Error(`Action not found: ${i}`)},a=function(){je(()=>e.layout.updateScrollY.apply(e.layout))};return ze(he({ns:n},t),{mutations:o,commit:r,updateTableScrollY:a})}const Ti={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data",["treeProps.hasChildren"]:{key:"lazyColumnIdentifier",default:"hasChildren"},["treeProps.children"]:{key:"childrenColumnName",default:"children"}};function _K(e,t){if(!e)throw new Error("Table is required.");const n=yK();return n.toggleAllSelection=bn(n._toggleAllSelection,10),Object.keys(Ti).forEach(o=>{j_(H_(t,o),o,n)}),wK(n,t),n}function wK(e,t){Object.keys(Ti).forEach(n=>{ge(()=>H_(t,n),o=>{j_(o,n,e)})})}function j_(e,t,n){let o=e,r=Ti[t];typeof Ti[t]=="object"&&(r=r.key,o=o||Ti[t].default),n.states[r].value=o}function H_(e,t){if(t.includes(".")){const n=t.split(".");let o=e;return n.forEach(r=>{o=o[r]}),o}else return e[t]}class xK{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=A(null),this.scrollX=A(!1),this.scrollY=A(!1),this.bodyWidth=A(null),this.fixedWidth=A(null),this.rightFixedWidth=A(null),this.tableHeight=A(null),this.headerHeight=A(44),this.appendHeight=A(0),this.footerHeight=A(44),this.viewportHeight=A(null),this.bodyHeight=A(null),this.bodyScrollHeight=A(0),this.fixedBodyHeight=A(null),this.gutterWidth=0;for(const n in t)it(t,n)&&(Vt(this[n])?this[n].value=t[n]:this[n]=t[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const n=this.table.refs.bodyWrapper;if(this.table.vnode.el&&n){let o=!0;const r=this.scrollY.value;return this.bodyHeight.value===null?o=!1:o=n.scrollHeight>this.bodyHeight.value,this.scrollY.value=o,r!==o}return!1}setHeight(t,n="height"){if(!dt)return;const o=this.table.vnode.el;if(t=iu(t),this.height.value=Number(t),!o&&(t||t===0))return je(()=>this.setHeight(t,n));typeof t=="number"?(o.style[n]=`${t}px`,this.updateElsHeight()):typeof t=="string"&&(o.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(o=>{o.isColumnGroup?t.push.apply(t,o.columns):t.push(o)}),t}updateElsHeight(){var t,n;if(!this.table.$ready)return je(()=>this.updateElsHeight());const{tableWrapper:o,headerWrapper:r,appendWrapper:a,footerWrapper:i,tableHeader:l,tableBody:s}=this.table.refs;if(o&&o.style.display==="none")return;const{tableLayout:c}=this.table.props;if(this.appendHeight.value=a?a.offsetHeight:0,this.showHeader&&!r&&c==="fixed")return;const d=l||null,u=this.headerDisplayNone(d),p=(r==null?void 0:r.offsetHeight)||0,f=this.headerHeight.value=this.showHeader?p:0;if(this.showHeader&&!u&&p>0&&(this.table.store.states.columns.value||[]).length>0&&f<2)return je(()=>this.updateElsHeight());const h=this.tableHeight.value=(n=(t=this.table)==null?void 0:t.vnode.el)==null?void 0:n.clientHeight,b=this.footerHeight.value=i?i.offsetHeight:0;this.height.value!==null&&(this.bodyHeight.value===null&&requestAnimationFrame(()=>this.updateElsHeight()),this.bodyHeight.value=h-f-b+(i?1:0),this.bodyScrollHeight.value=s==null?void 0:s.scrollHeight),this.fixedBodyHeight.value=this.scrollX.value?this.bodyHeight.value-this.gutterWidth:this.bodyHeight.value,this.viewportHeight.value=this.scrollX.value?h-this.gutterWidth:h,this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let n=t;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){if(!dt)return;const t=this.fit,n=this.table.vnode.el.clientWidth;let o=0;const r=this.getFlattenColumns(),a=r.filter(s=>typeof s.width!="number");if(r.forEach(s=>{typeof s.width=="number"&&s.realWidth&&(s.realWidth=null)}),a.length>0&&t){if(r.forEach(s=>{o+=Number(s.width||s.minWidth||80)}),o<=n){this.scrollX.value=!1;const s=n-o;if(a.length===1)a[0].realWidth=Number(a[0].minWidth||80)+s;else{const c=a.reduce((p,f)=>p+Number(f.minWidth||80),0),d=s/c;let u=0;a.forEach((p,f)=>{if(f===0)return;const h=Math.floor(Number(p.minWidth||80)*d);u+=h,p.realWidth=Number(p.minWidth||80)+h}),a[0].realWidth=Number(a[0].minWidth||80)+s-u}}else this.scrollX.value=!0,a.forEach(s=>{s.realWidth=Number(s.minWidth)});this.bodyWidth.value=Math.max(o,n),this.table.state.resizeState.value.width=this.bodyWidth.value}else r.forEach(s=>{!s.width&&!s.minWidth?s.realWidth=80:s.realWidth=Number(s.width||s.minWidth),o+=s.realWidth}),this.scrollX.value=o>n,this.bodyWidth.value=o;const i=this.store.states.fixedColumns.value;if(i.length>0){let s=0;i.forEach(c=>{s+=Number(c.realWidth||c.width)}),this.fixedWidth.value=s}const l=this.store.states.rightFixedColumns.value;if(l.length>0){let s=0;l.forEach(c=>{s+=Number(c.realWidth||c.width)}),this.rightFixedWidth.value=s}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const n=this.observers.indexOf(t);n!==-1&&this.observers.splice(n,1)}notifyObservers(t){this.observers.forEach(o=>{var r,a;switch(t){case"columns":(r=o.state)==null||r.onColumnsChange(this);break;case"scrollable":(a=o.state)==null||a.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const{CheckboxGroup:kK}=lo,TK=ee({name:"ElTableFilterPanel",components:{ElCheckbox:lo,ElCheckboxGroup:kK,ElScrollbar:qo,ElTooltip:vn,ElIcon:qe,ArrowDown:Gr,ArrowUp:rl},directives:{ClickOutside:Jr},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(e){const t=nt(),{t:n}=Tt(),o=ke("table-filter"),r=t==null?void 0:t.parent;r.filterPanels.value[e.column.id]||(r.filterPanels.value[e.column.id]=t);const a=A(!1),i=A(null),l=C(()=>e.column&&e.column.filters),s=C({get:()=>{var T;return(((T=e.column)==null?void 0:T.filteredValue)||[])[0]},set:T=>{c.value&&(typeof T!="undefined"&&T!==null?c.value.splice(0,1,T):c.value.splice(0,1))}}),c=C({get(){return e.column?e.column.filteredValue||[]:[]},set(T){e.column&&e.upDataColumn("filteredValue",T)}}),d=C(()=>e.column?e.column.filterMultiple:!0),u=T=>T.value===s.value,p=()=>{a.value=!1},f=T=>{T.stopPropagation(),a.value=!a.value},h=()=>{a.value=!1},b=()=>{v(c.value),p()},m=()=>{c.value=[],v(c.value),p()},g=T=>{s.value=T,v(typeof T!="undefined"&&T!==null?c.value:[]),p()},v=T=>{e.store.commit("filterChange",{column:e.column,values:T}),e.store.updateAllSelected()};ge(a,T=>{e.column&&e.upDataColumn("filterOpened",T)},{immediate:!0});const y=C(()=>{var T,x;return(x=(T=i.value)==null?void 0:T.popperRef)==null?void 0:x.contentRef});return{tooltipVisible:a,multiple:d,filteredValue:c,filterValue:s,filters:l,handleConfirm:b,handleReset:m,handleSelect:g,isActive:u,t:n,ns:o,showFilterPanel:f,hideFilterPanel:h,popperPaneRef:y,tooltip:i}}}),CK={key:0},SK=["disabled"],$K=["label","onClick"];function AK(e,t,n,o,r,a){const i=le("el-checkbox"),l=le("el-checkbox-group"),s=le("el-scrollbar"),c=le("arrow-up"),d=le("arrow-down"),u=le("el-icon"),p=le("el-tooltip"),f=In("click-outside");return w(),Q(p,{ref:"tooltip",visible:e.tooltipVisible,"onUpdate:visible":t[5]||(t[5]=h=>e.tooltipVisible=h),offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,"append-to-body":"",effect:"light",pure:"","popper-class":e.ns.b(),persistent:""},{content:K(()=>[e.multiple?(w(),I("div",CK,[R("div",{class:S(e.ns.e("content"))},[U(s,{"wrap-class":e.ns.e("wrap")},{default:K(()=>[U(l,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=h=>e.filteredValue=h),class:S(e.ns.e("checkbox-group"))},{default:K(()=>[(w(!0),I(Fe,null,st(e.filters,h=>(w(),Q(i,{key:h.value,label:h.value},{default:K(()=>[ct(ve(h.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),R("div",{class:S(e.ns.e("bottom"))},[R("button",{class:S({[e.ns.is("disabled")]:e.filteredValue.length===0}),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...h)=>e.handleConfirm&&e.handleConfirm(...h))},ve(e.t("el.table.confirmFilter")),11,SK),R("button",{type:"button",onClick:t[2]||(t[2]=(...h)=>e.handleReset&&e.handleReset(...h))},ve(e.t("el.table.resetFilter")),1)],2)])):(w(),I("ul",{key:1,class:S(e.ns.e("list"))},[R("li",{class:S([e.ns.e("list-item"),{[e.ns.is("active")]:e.filterValue===void 0||e.filterValue===null}]),onClick:t[3]||(t[3]=h=>e.handleSelect(null))},ve(e.t("el.table.clearFilter")),3),(w(!0),I(Fe,null,st(e.filters,h=>(w(),I("li",{key:h.value,class:S([e.ns.e("list-item"),e.ns.is("active",e.isActive(h))]),label:h.value,onClick:b=>e.handleSelect(h.value)},ve(h.text),11,$K))),128))],2))]),default:K(()=>[Ue((w(),I("span",{class:S([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:t[4]||(t[4]=(...h)=>e.showFilterPanel&&e.showFilterPanel(...h))},[U(u,null,{default:K(()=>[e.column.filterOpened?(w(),Q(c,{key:0})):(w(),Q(d,{key:1}))]),_:1})],2)),[[f,e.hideFilterPanel,e.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var EK=_e(TK,[["render",AK],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function q_(e){const t=nt();Ji(()=>{n.value.addObserver(t)}),et(()=>{o(n.value),r(n.value)}),Un(()=>{o(n.value),r(n.value)}),Qi(()=>{n.value.removeObserver(t)});const n=C(()=>{const a=e.layout;if(!a)throw new Error("Can not find table layout.");return a}),o=a=>{var i;const l=((i=e.vnode.el)==null?void 0:i.querySelectorAll("colgroup > col"))||[];if(!l.length)return;const s=a.getFlattenColumns(),c={};s.forEach(d=>{c[d.id]=d});for(let d=0,u=l.length;d{var i,l;const s=((i=e.vnode.el)==null?void 0:i.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let d=0,u=s.length;d{b.stopPropagation()},a=(b,m)=>{!m.filters&&m.sortable?h(b,m,!1):m.filterable&&!m.sortable&&r(b),o==null||o.emit("header-click",m,b)},i=(b,m)=>{o==null||o.emit("header-contextmenu",m,b)},l=A(null),s=A(!1),c=A({}),d=(b,m)=>{if(!!dt&&!(m.children&&m.children.length>0)&&l.value&&e.border){s.value=!0;const g=o;t("set-drag-visible",!0);const y=(g==null?void 0:g.vnode.el).getBoundingClientRect().left,T=n.vnode.el.querySelector(`th.${m.id}`),x=T.getBoundingClientRect(),k=x.left-y+30;bo(T,"noclick"),c.value={startMouseLeft:b.clientX,startLeft:x.right-y,startColumnLeft:x.left-y,tableLeft:y};const $=g==null?void 0:g.refs.resizeProxy;$.style.left=`${c.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const z=O=>{const D=O.clientX-c.value.startMouseLeft,L=c.value.startLeft+D;$.style.left=`${Math.max(k,L)}px`},P=()=>{if(s.value){const{startColumnLeft:O,startLeft:D}=c.value,F=Number.parseInt($.style.left,10)-O;m.width=m.realWidth=F,g==null||g.emit("header-dragend",m.width,D-O,m,b),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",s.value=!1,l.value=null,c.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",z),document.removeEventListener("mouseup",P),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{hn(T,"noclick")},0)};document.addEventListener("mousemove",z),document.addEventListener("mouseup",P)}},u=(b,m)=>{if(m.children&&m.children.length>0)return;let g=b.target;for(;g&&g.tagName!=="TH";)g=g.parentNode;if(!(!m||!m.resizable)&&!s.value&&e.border){const v=g.getBoundingClientRect(),y=document.body.style;v.width>12&&v.right-b.pageX<8?(y.cursor="col-resize",oo(g,"is-sortable")&&(g.style.cursor="col-resize"),l.value=m):s.value||(y.cursor="",oo(g,"is-sortable")&&(g.style.cursor="pointer"),l.value=null)}},p=()=>{!dt||(document.body.style.cursor="")},f=({order:b,sortOrders:m})=>{if(b==="")return m[0];const g=m.indexOf(b||null);return m[g>m.length-2?0:g+1]},h=(b,m,g)=>{b.stopPropagation();const v=m.order===g?null:g||f(m);let y=b.target;for(;y&&y.tagName!=="TH";)y=y.parentNode;if(y&&y.tagName==="TH"&&oo(y,"noclick")){hn(y,"noclick");return}if(!m.sortable)return;const T=e.store.states;let x=T.sortProp.value,k;const $=T.sortingColumn.value;($!==m||$===m&&$.order===null)&&($&&($.order=null),T.sortingColumn.value=m,x=m.property),v?k=m.order=v:k=m.order=null,T.sortProp.value=x,T.sortOrder.value=k,o==null||o.store.commit("changeSortCondition")};return{handleHeaderClick:a,handleHeaderContextMenu:i,handleMouseDown:d,handleMouseMove:u,handleMouseOut:p,handleSortClick:h,handleFilterClick:r}}function IK(e){const t=Ie(xo),n=ke("table");return{getHeaderRowStyle:l=>{const s=t==null?void 0:t.props.headerRowStyle;return typeof s=="function"?s.call(null,{rowIndex:l}):s},getHeaderRowClass:l=>{const s=[],c=t==null?void 0:t.props.headerRowClassName;return typeof c=="string"?s.push(c):typeof c=="function"&&s.push(c.call(null,{rowIndex:l})),s.join(" ")},getHeaderCellStyle:(l,s,c,d)=>{var u;let p=(u=t==null?void 0:t.props.headerCellStyle)!=null?u:{};typeof p=="function"&&(p=p.call(null,{rowIndex:l,columnIndex:s,row:c,column:d}));const f=d.isSubColumn?null:jp(s,d.fixed,e.store,c);return Ra(f,"left"),Ra(f,"right"),Object.assign({},p,f)},getHeaderCellClass:(l,s,c,d)=>{const u=d.isSubColumn?[]:Bp(n.b(),s,d.fixed,e.store,c),p=[d.id,d.order,d.headerAlign,d.className,d.labelClassName,...u];d.children||p.push("is-leaf"),d.sortable&&p.push("is-sortable");const f=t==null?void 0:t.props.headerCellClassName;return typeof f=="string"?p.push(f):typeof f=="function"&&p.push(f.call(null,{rowIndex:l,columnIndex:s,row:c,column:d})),p.push(n.e("cell")),p.filter(h=>Boolean(h)).join(" ")}}}const K_=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,K_(n.children))):t.push(n)}),t},NK=e=>{let t=1;const n=(a,i)=>{if(i&&(a.level=i.level+1,t{n(s,a),l+=s.colSpan}),a.colSpan=l}else a.colSpan=1};e.forEach(a=>{a.level=1,n(a,void 0)});const o=[];for(let a=0;a{a.children?(a.rowSpan=1,a.children.forEach(i=>i.isSubColumn=!0)):a.rowSpan=t-a.level+1,o[a.level-1].push(a)}),o};function MK(e){const t=Ie(xo),n=C(()=>NK(e.store.states.originColumns.value));return{isGroup:C(()=>{const a=n.value.length>1;return a&&t&&(t.state.isGroup.value=!0),a}),toggleAllSelection:a=>{a.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var RK=ee({name:"ElTableHeader",components:{ElCheckbox:lo},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e,{emit:t}){const n=nt(),o=Ie(xo),r=ke("table"),a=A({}),{onColumnsChange:i,onScrollableChange:l}=q_(o);et(async()=>{await je(),await je();const{prop:k,order:$}=e.defaultSort;o==null||o.store.commit("sort",{prop:k,order:$,init:!0})});const{handleHeaderClick:s,handleHeaderContextMenu:c,handleMouseDown:d,handleMouseMove:u,handleMouseOut:p,handleSortClick:f,handleFilterClick:h}=zK(e,t),{getHeaderRowStyle:b,getHeaderRowClass:m,getHeaderCellStyle:g,getHeaderCellClass:v}=IK(e),{isGroup:y,toggleAllSelection:T,columnRows:x}=MK(e);return n.state={onColumnsChange:i,onScrollableChange:l},n.filterPanels=a,{ns:r,filterPanels:a,onColumnsChange:i,onScrollableChange:l,columnRows:x,getHeaderRowClass:m,getHeaderRowStyle:b,getHeaderCellClass:v,getHeaderCellStyle:g,handleHeaderClick:s,handleHeaderContextMenu:c,handleMouseDown:d,handleMouseMove:u,handleMouseOut:p,handleSortClick:f,handleFilterClick:h,isGroup:y,toggleAllSelection:T}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:o,getHeaderCellClass:r,getHeaderRowClass:a,getHeaderRowStyle:i,handleHeaderClick:l,handleHeaderContextMenu:s,handleMouseDown:c,handleMouseMove:d,handleSortClick:u,handleMouseOut:p,store:f,$parent:h}=this;let b=1;return Re("thead",{class:{[e.is("group")]:t}},n.map((m,g)=>Re("tr",{class:a(g),key:g,style:i(g)},m.map((v,y)=>(v.rowSpan>b&&(b=v.rowSpan),Re("th",{class:r(g,y,m,v),colspan:v.colSpan,key:`${v.id}-thead`,rowspan:v.rowSpan,style:o(g,y,m,v),onClick:T=>l(T,v),onContextmenu:T=>s(T,v),onMousedown:T=>c(T,v),onMousemove:T=>d(T,v),onMouseout:p},[Re("div",{class:["cell",v.filteredValue&&v.filteredValue.length>0?"highlight":"",v.labelClassName]},[v.renderHeader?v.renderHeader({column:v,$index:y,store:f,_self:h}):v.label,v.sortable&&Re("span",{onClick:T=>u(T,v),class:"caret-wrapper"},[Re("i",{onClick:T=>u(T,v,"ascending"),class:"sort-caret ascending"}),Re("i",{onClick:T=>u(T,v,"descending"),class:"sort-caret descending"})]),v.filterable&&Re(EK,{store:f,placement:v.filterPlacement||"bottom-start",column:v,upDataColumn:(T,x)=>{v[T]=x}})])]))))))}});function PK(e){const t=Ie(xo),n=A(""),o=A(Re("div")),r=(p,f,h)=>{var b;const m=t,g=Jc(p);let v;const y=(b=m==null?void 0:m.vnode.el)==null?void 0:b.dataset.prefix;g&&(v=xg({columns:e.store.states.columns.value},g,y),v&&(m==null||m.emit(`cell-${h}`,f,v,g,p))),m==null||m.emit(`row-${h}`,f,v,p)},a=(p,f)=>{r(p,f,"dblclick")},i=(p,f)=>{e.store.commit("setCurrentRow",f),r(p,f,"click")},l=(p,f)=>{r(p,f,"contextmenu")},s=bn(p=>{e.store.commit("setHoverRow",p)},30),c=bn(()=>{e.store.commit("setHoverRow",null)},30);return{handleDoubleClick:a,handleClick:i,handleContextMenu:l,handleMouseEnter:s,handleMouseLeave:c,handleCellMouseEnter:(p,f)=>{var h;const b=t,m=Jc(p),g=(h=b==null?void 0:b.vnode.el)==null?void 0:h.dataset.prefix;if(m){const k=xg({columns:e.store.states.columns.value},m,g),$=b.hoverState={cell:m,column:k,row:f};b==null||b.emit("cell-mouse-enter",$.row,$.column,$.cell,p)}const v=p.target.querySelector(".cell");if(!(oo(v,`${g}-tooltip`)&&v.childNodes.length))return;const y=document.createRange();y.setStart(v,0),y.setEnd(v,v.childNodes.length);const T=y.getBoundingClientRect().width,x=(Number.parseInt(go(v,"paddingLeft"),10)||0)+(Number.parseInt(go(v,"paddingRight"),10)||0);(T+x>v.offsetWidth||v.scrollWidth>v.offsetWidth)&&fK(m,m.innerText||m.textContent,{placement:"top",strategy:"fixed"},f.tooltipEffect)},handleCellMouseLeave:p=>{if(!Jc(p))return;const h=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",h==null?void 0:h.row,h==null?void 0:h.column,h==null?void 0:h.cell,p)},tooltipContent:n,tooltipTrigger:o}}function OK(e){const t=Ie(xo),n=ke("table");return{getRowStyle:(c,d)=>{const u=t==null?void 0:t.props.rowStyle;return typeof u=="function"?u.call(null,{row:c,rowIndex:d}):u||null},getRowClass:(c,d)=>{const u=[n.e("row")];(t==null?void 0:t.props.highlightCurrentRow)&&c===e.store.states.currentRow.value&&u.push("current-row"),e.stripe&&d%2===1&&u.push(n.em("row","striped"));const p=t==null?void 0:t.props.rowClassName;return typeof p=="string"?u.push(p):typeof p=="function"&&u.push(p.call(null,{row:c,rowIndex:d})),u},getCellStyle:(c,d,u,p)=>{const f=t==null?void 0:t.props.cellStyle;let h=f!=null?f:{};typeof f=="function"&&(h=f.call(null,{rowIndex:c,columnIndex:d,row:u,column:p}));const b=p.isSubColumn?null:jp(d,e==null?void 0:e.fixed,e.store);return Ra(b,"left"),Ra(b,"right"),Object.assign({},h,b)},getCellClass:(c,d,u,p)=>{const f=p.isSubColumn?[]:Bp(n.b(),d,e==null?void 0:e.fixed,e.store),h=[p.id,p.align,p.className,...f],b=t==null?void 0:t.props.cellClassName;return typeof b=="string"?h.push(b):typeof b=="function"&&h.push(b.call(null,{rowIndex:c,columnIndex:d,row:u,column:p})),h.push(n.e("cell")),h.filter(m=>Boolean(m)).join(" ")},getSpan:(c,d,u,p)=>{let f=1,h=1;const b=t==null?void 0:t.props.spanMethod;if(typeof b=="function"){const m=b({row:c,column:d,rowIndex:u,columnIndex:p});Array.isArray(m)?(f=m[0],h=m[1]):typeof m=="object"&&(f=m.rowspan,h=m.colspan)}return{rowspan:f,colspan:h}},getColspanRealWidth:(c,d,u)=>{if(d<1)return c[u].realWidth;const p=c.map(({realWidth:f,width:h})=>f||h).slice(u,u+d);return Number(p.reduce((f,h)=>Number(f)+Number(h),-1))}}}function FK(e){const t=Ie(xo),{handleDoubleClick:n,handleClick:o,handleContextMenu:r,handleMouseEnter:a,handleMouseLeave:i,handleCellMouseEnter:l,handleCellMouseLeave:s,tooltipContent:c,tooltipTrigger:d}=PK(e),{getRowStyle:u,getRowClass:p,getCellStyle:f,getCellClass:h,getSpan:b,getColspanRealWidth:m}=OK(e),g=C(()=>e.store.states.columns.value.findIndex(({type:k})=>k==="default")),v=(k,$)=>{const z=t.props.rowKey;return z?nn(k,z):$},y=(k,$,z,P=!1)=>{const{tooltipEffect:O,store:D}=e,{indent:L,columns:F}=D.states,V=p(k,$);let q=!0;return z&&(V.push(`el-table__row--level-${z.level}`),q=z.display),Re("tr",{style:[q?null:{display:"none"},u(k,$)],class:V,key:v(k,$),onDblclick:E=>n(E,k),onClick:E=>o(E,k),onContextmenu:E=>r(E,k),onMouseenter:()=>a($),onMouseleave:i},F.value.map((E,N)=>{const{rowspan:W,colspan:Y}=b(k,E,$,N);if(!W||!Y)return null;const J=he({},E);J.realWidth=m(F.value,Y,N);const Z={store:e.store,_self:e.context||t,column:J,row:k,$index:$,cellIndex:N,expanded:P};N===g.value&&z&&(Z.treeNode={indent:z.level*L.value,level:z.level},typeof z.expanded=="boolean"&&(Z.treeNode.expanded=z.expanded,"loading"in z&&(Z.treeNode.loading=z.loading),"noLazyChildren"in z&&(Z.treeNode.noLazyChildren=z.noLazyChildren)));const se=`${$},${N}`,Se=J.columnKey||J.rawColumnKey||"",oe=T(N,E,Z);return Re("td",{style:f($,N,k,E),class:h($,N,k,E),key:`${Se}${se}`,rowspan:W,colspan:Y,onMouseenter:H=>l(H,ze(he({},k),{tooltipEffect:O})),onMouseleave:s},[oe])}))},T=(k,$,z)=>$.renderCell(z);return{wrappedRowRender:(k,$)=>{const z=e.store,{isRowExpanded:P,assertRowKey:O}=z,{treeData:D,lazyTreeNodeMap:L,childrenColumnName:F,rowKey:V}=z.states,q=z.states.columns.value;if(q.some(({type:E})=>E==="expand")){const E=P(k),N=y(k,$,void 0,E),W=t.renderExpanded;return E?W?[[N,Re("tr",{key:`expanded-row__${N.key}`},[Re("td",{colspan:q.length,class:"el-table__cell el-table__expanded-cell"},[W({row:k,$index:$,store:z,expanded:E})])])]]:(console.error("[Element Error]renderExpanded is required."),N):[[N]]}else if(Object.keys(D.value).length){O();const E=nn(k,V.value);let N=D.value[E],W=null;N&&(W={expanded:N.expanded,level:N.level,display:!0},typeof N.lazy=="boolean"&&(typeof N.loaded=="boolean"&&N.loaded&&(W.noLazyChildren=!(N.children&&N.children.length)),W.loading=N.loading));const Y=[y(k,$,W)];if(N){let J=0;const Z=(Se,oe)=>{!(Se&&Se.length&&oe)||Se.forEach(H=>{const ne={display:oe.display&&oe.expanded,level:oe.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ie=nn(H,V.value);if(ie==null)throw new Error("For nested data item, row-key is required.");if(N=he({},D.value[ie]),N&&(ne.expanded=N.expanded,N.level=N.level||ne.level,N.display=!!(N.expanded&&ne.display),typeof N.lazy=="boolean"&&(typeof N.loaded=="boolean"&&N.loaded&&(ne.noLazyChildren=!(N.children&&N.children.length)),ne.loading=N.loading)),J++,Y.push(y(H,$+J,ne)),N){const be=L.value[ie]||H[F.value];Z(be,N)}})};N.display=!0;const se=L.value[E]||k[F.value];Z(se,N)}return Y}else return y(k,$,void 0)},tooltipContent:c,tooltipTrigger:d}}const DK={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var LK=ee({name:"ElTableBody",props:DK,setup(e){const t=nt(),n=Ie(xo),o=ke("table"),{wrappedRowRender:r,tooltipContent:a,tooltipTrigger:i}=FK(e),{onColumnsChange:l,onScrollableChange:s}=q_(n);return ge(e.store.states.hoverRow,(c,d)=>{if(!e.store.states.isComplex.value||!dt)return;let u=window.requestAnimationFrame;u||(u=p=>window.setTimeout(p,16)),u(()=>{var p;const f=(p=t==null?void 0:t.vnode.el)==null?void 0:p.querySelectorAll(`.${o.e("row")}`),h=f[d],b=f[c];h&&hn(h,"hover-row"),b&&bo(b,"hover-row")})}),Qi(()=>{var c;(c=Rs)==null||c()}),Un(()=>{var c;(c=Rs)==null||c()}),{ns:o,onColumnsChange:l,onScrollableChange:s,wrappedRowRender:r,tooltipContent:a,tooltipTrigger:i}},render(){const{wrappedRowRender:e,store:t}=this,n=t.states.data.value||[];return Re("tbody",{},[n.reduce((o,r)=>o.concat(e(r,o.length)),[])])}});function Hp(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(r=>r.width===void 0)&&(n=[]);const o=r=>{const a={key:`${e.tableLayout}_${r.id}`,style:{},name:void 0};return t?a.style={width:`${r.width}px`}:a.name=r.id,a};return Re("colgroup",{},n.map(r=>Re("col",o(r))))}Hp.props=["columns","tableLayout"];function VK(){const e=Ie(xo),t=e==null?void 0:e.store,n=C(()=>t.states.fixedLeafColumnsLength.value),o=C(()=>t.states.rightFixedColumns.value.length),r=C(()=>t.states.columns.value.length),a=C(()=>t.states.fixedColumns.value.length),i=C(()=>t.states.rightFixedColumns.value.length);return{leftFixedLeafCount:n,rightFixedLeafCount:o,columnsCount:r,leftFixedCount:a,rightFixedCount:i,columns:t.states.columns}}function BK(e){const{columns:t}=VK(),n=ke("table");return{getCellClasses:(a,i)=>{const l=a[i],s=[n.e("cell"),l.id,l.align,l.labelClassName,...Bp(n.b(),i,l.fixed,e.store)];return l.className&&s.push(l.className),l.children||s.push(n.is("leaf")),s},getCellStyles:(a,i)=>{const l=jp(i,a.fixed,e.store);return Ra(l,"left"),Ra(l,"right"),l},columns:t}}var jK=ee({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const{getCellClasses:t,getCellStyles:n,columns:o}=BK(e);return{ns:ke("table"),getCellClasses:t,getCellStyles:n,columns:o}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:o,sumText:r,ns:a}=this,i=this.store.states.data.value;let l=[];return o?l=o({columns:e,data:i}):e.forEach((s,c)=>{if(c===0){l[c]=r;return}const d=i.map(h=>Number(h[s.property])),u=[];let p=!0;d.forEach(h=>{if(!Number.isNaN(+h)){p=!1;const b=`${h}`.split(".")[1];u.push(b?b.length:0)}});const f=Math.max.apply(null,u);p?l[c]="":l[c]=d.reduce((h,b)=>{const m=Number(b);return Number.isNaN(+m)?h:Number.parseFloat((h+b).toFixed(Math.min(f,20)))},0)}),Re("table",{class:a.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[Hp({columns:e}),Re("tbody",[Re("tr",{},[...e.map((s,c)=>Re("td",{key:c,colspan:s.colSpan,rowspan:s.rowSpan,class:n(e,c),style:t(s,c)},[Re("div",{class:["cell",s.labelClassName]},[l[c]])]))])])])}});function HK(e){return{setCurrentRow:d=>{e.commit("setCurrentRow",d)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(d,u)=>{e.toggleRowSelection(d,u,!1),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:d=>{e.clearFilter(d)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(d,u)=>{e.toggleRowExpansionAdapter(d,u)},clearSort:()=>{e.clearSort()},sort:(d,u)=>{e.commit("sort",{prop:d,order:u})}}}function qK(e,t,n,o){const r=A(!1),a=A(null),i=A(!1),l=N=>{i.value=N},s=A({width:null,height:null}),c=A(!1),d={display:"inline-block",verticalAlign:"middle"},u=A();Dn(()=>{t.setHeight(e.height)}),Dn(()=>{t.setMaxHeight(e.maxHeight)}),ge(()=>[e.currentRowKey,n.states.rowKey],([N,W])=>{!_(W)||n.setCurrentRowKey(`${N}`)},{immediate:!0}),ge(()=>e.data,N=>{o.store.commit("setData",N)},{immediate:!0,deep:!0}),Dn(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const p=()=>{o.store.commit("setHoverRow",null),o.hoverState&&(o.hoverState=null)},f=(N,W)=>{const{pixelX:Y,pixelY:J}=W;Math.abs(Y)>=Math.abs(J)&&(o.refs.bodyWrapper.scrollLeft+=W.pixelX/5)},h=C(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),b=C(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),m=()=>{h.value&&t.updateElsHeight(),t.updateColumnsWidth(),requestAnimationFrame(T)};et(async()=>{await je(),n.updateColumns(),x(),requestAnimationFrame(m),s.value={width:u.value=o.vnode.el.offsetWidth,height:o.vnode.el.offsetHeight},n.states.columns.value.forEach(N=>{N.filteredValue&&N.filteredValue.length&&o.store.commit("filterChange",{column:N,values:N.filteredValue,silent:!0})}),o.$ready=!0});const g=(N,W)=>{if(!N)return;const Y=Array.from(N.classList).filter(J=>!J.startsWith("is-scrolling-"));Y.push(t.scrollX.value?W:"is-scrolling-none"),N.className=Y.join(" ")},v=N=>{const{tableWrapper:W}=o.refs;g(W,N)},y=N=>{const{tableWrapper:W}=o.refs;return!!(W&&W.classList.contains(N))},T=function(){if(!o.refs.scrollBarRef)return;if(!t.scrollX.value){const oe="is-scrolling-none";y(oe)||v(oe);return}const N=o.refs.scrollBarRef.wrap$;if(!N)return;const{scrollLeft:W,offsetWidth:Y,scrollWidth:J}=N,{headerWrapper:Z,footerWrapper:se}=o.refs;Z&&(Z.scrollLeft=W),se&&(se.scrollLeft=W);const Se=J-Y-1;W>=Se?v("is-scrolling-right"):v(W===0?"is-scrolling-left":"is-scrolling-middle")},x=()=>{var N;!o.refs.scrollBarRef||((N=o.refs.scrollBarRef.wrap$)==null||N.addEventListener("scroll",T,{passive:!0}),e.fit?ja(o.vnode.el,$):At(window,"resize",m))};$t(()=>{k()});const k=()=>{var N;(N=o.refs.scrollBarRef.wrap$)==null||N.removeEventListener("scroll",T,!0),e.fit?Ha(o.vnode.el,$):Bt(window,"resize",m)},$=()=>{if(!o.$ready)return;let N=!1;const W=o.vnode.el,{width:Y,height:J}=s.value,Z=u.value=W.offsetWidth;Y!==Z&&(N=!0);const se=W.offsetHeight;(e.height||h.value)&&J!==se&&(N=!0),N&&(s.value={width:Z,height:se},m())},z=Ut(),P=C(()=>{const{bodyWidth:N,scrollY:W,gutterWidth:Y}=t;return N.value?`${N.value-(W.value?Y:0)}px`:""}),O=C(()=>e.maxHeight?"fixed":e.tableLayout);function D(N,W,Y){const J=iu(N),Z=e.showHeader?Y:0;if(J!==null)return Qe(J)?`calc(${J} - ${W}px - ${Z}px)`:J-W-Z}const L=C(()=>{const N=t.headerHeight.value||0,W=t.bodyHeight.value,Y=t.footerHeight.value||0;if(e.height)return W||void 0;if(e.maxHeight)return D(e.maxHeight,Y,N)}),F=C(()=>{const N=t.headerHeight.value||0,W=t.bodyHeight.value,Y=t.footerHeight.value||0;if(e.height)return{height:W?`${W}px`:""};if(e.maxHeight){const J=D(e.maxHeight,Y,N);if(J!==null)return{"max-height":`${J}${mt(J)?"px":""}`}}return{}}),V=C(()=>{if(e.data&&e.data.length)return null;let N="100%";return t.appendHeight.value&&(N=`calc(100% - ${t.appendHeight.value}px)`),{width:u.value?`${u.value}px`:"",height:N}}),q=(N,W)=>{const Y=o.refs.bodyWrapper;if(Math.abs(W.spinY)>0){const J=Y.scrollTop;W.pixelY<0&&J!==0&&N.preventDefault(),W.pixelY>0&&Y.scrollHeight-Y.clientHeight>J&&N.preventDefault(),Y.scrollTop+=Math.ceil(W.pixelY/5)}else Y.scrollLeft+=Math.ceil(W.pixelX/5)},M=C(()=>e.maxHeight?e.showSummary?{bottom:0}:{bottom:t.scrollX.value&&e.data.length?`${t.gutterWidth}px`:""}:e.showSummary?{height:t.tableHeight.value?`${t.tableHeight.value}px`:""}:{height:t.viewportHeight.value?`${t.viewportHeight.value}px`:""}),E=C(()=>{if(e.height)return{height:t.fixedBodyHeight.value?`${t.fixedBodyHeight.value}px`:""};if(e.maxHeight){let N=iu(e.maxHeight);if(typeof N=="number")return N=t.scrollX.value?N-t.gutterWidth:N,e.showHeader&&(N-=t.headerHeight.value),N-=t.footerHeight.value,{"max-height":`${N}px`}}return{}});return{isHidden:r,renderExpanded:a,setDragVisible:l,isGroup:c,handleMouseLeave:p,handleHeaderFooterMousewheel:f,tableSize:z,bodyHeight:F,height:L,emptyBlockStyle:V,handleFixedMousewheel:q,fixedHeight:M,fixedBodyHeight:E,resizeProxyVisible:i,bodyWidth:P,resizeState:s,doLayout:m,tableBodyStyles:b,tableLayout:O,scrollbarViewStyle:d}}var KK={data:{type:Array,default:()=>[]},size:String,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1}};const WK=()=>{const e=A(),t=(a,i)=>{const l=e.value;l&&l.scrollTo(a,i)},n=(a,i)=>{const l=e.value;l&&mt(i)&&["Top","Left"].includes(a)&&l[`setScroll${a}`](i)};return{scrollBarRef:e,scrollTo:t,setScrollTop:a=>n("Top",a),setScrollLeft:a=>n("Left",a)}};let UK=1;const YK=ee({name:"ElTable",directives:{Mousewheel:gR},components:{TableHeader:RK,TableBody:LK,TableFooter:jK,ElScrollbar:qo,hColgroup:Hp},props:KK,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(e){const{t}=Tt(),n=ke("table"),o=nt();ot(xo,o);const r=_K(o,e);o.store=r;const a=new xK({store:o.store,table:o,fit:e.fit,showHeader:e.showHeader});o.layout=a;const i=C(()=>(r.states.data.value||[]).length===0),{setCurrentRow:l,getSelectionRows:s,toggleRowSelection:c,clearSelection:d,clearFilter:u,toggleAllSelection:p,toggleRowExpansion:f,clearSort:h,sort:b}=HK(r),{isHidden:m,renderExpanded:g,setDragVisible:v,isGroup:y,handleMouseLeave:T,handleHeaderFooterMousewheel:x,tableSize:k,bodyHeight:$,height:z,emptyBlockStyle:P,handleFixedMousewheel:O,fixedHeight:D,fixedBodyHeight:L,resizeProxyVisible:F,bodyWidth:V,resizeState:q,doLayout:M,tableBodyStyles:E,tableLayout:N,scrollbarViewStyle:W}=qK(e,a,r,o),{scrollBarRef:Y,scrollTo:J,setScrollLeft:Z,setScrollTop:se}=WK(),Se=bn(M,50),oe=`el-table_${UK++}`;o.tableId=oe,o.state={isGroup:y,resizeState:q,doLayout:M,debouncedUpdateLayout:Se};const H=C(()=>e.sumText||t("el.table.sumText")),ne=C(()=>e.emptyText||t("el.table.emptyText"));return{ns:n,layout:a,store:r,handleHeaderFooterMousewheel:x,handleMouseLeave:T,tableId:oe,tableSize:k,isHidden:m,isEmpty:i,renderExpanded:g,resizeProxyVisible:F,resizeState:q,isGroup:y,bodyWidth:V,bodyHeight:$,height:z,tableBodyStyles:E,emptyBlockStyle:P,debouncedUpdateLayout:Se,handleFixedMousewheel:O,fixedHeight:D,fixedBodyHeight:L,setCurrentRow:l,getSelectionRows:s,toggleRowSelection:c,clearSelection:d,clearFilter:u,toggleAllSelection:p,toggleRowExpansion:f,clearSort:h,doLayout:M,sort:b,t,setDragVisible:v,context:o,computedSumText:H,computedEmptyText:ne,tableLayout:N,scrollbarViewStyle:W,scrollBarRef:Y,scrollTo:J,setScrollLeft:Z,setScrollTop:se}}}),GK=["data-prefix"],XK={ref:"hiddenColumns",class:"hidden-columns"};function ZK(e,t,n,o,r,a){const i=le("hColgroup"),l=le("table-header"),s=le("table-body"),c=le("el-scrollbar"),d=le("table-footer"),u=In("mousewheel");return w(),I("div",{ref:"tableWrapper",class:S([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:Oe(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[0]||(t[0]=p=>e.handleMouseLeave())},[R("div",{class:S(e.ns.e("inner-wrapper"))},[R("div",XK,[ue(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?Ue((w(),I("div",{key:0,ref:"headerWrapper",class:S(e.ns.e("header-wrapper"))},[R("table",{ref:"tableHeader",class:S(e.ns.e("header")),style:Oe(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[U(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),U(l,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[u,e.handleHeaderFooterMousewheel]]):G("v-if",!0),R("div",{ref:"bodyWrapper",style:Oe(e.bodyHeight),class:S(e.ns.e("body-wrapper"))},[U(c,{ref:"scrollBarRef",height:e.maxHeight?void 0:e.height,"max-height":e.maxHeight?e.height:void 0,"view-style":e.scrollbarViewStyle,always:e.scrollbarAlwaysOn},{default:K(()=>[R("table",{ref:"tableBody",class:S(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:Oe({width:e.bodyWidth,tableLayout:e.tableLayout})},[U(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(w(),Q(l,{key:0,border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):G("v-if",!0),U(s,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","row-style","store","stripe"])],6),e.isEmpty?(w(),I("div",{key:0,ref:"emptyBlock",style:Oe(e.emptyBlockStyle),class:S(e.ns.e("empty-block"))},[R("span",{class:S(e.ns.e("empty-text"))},[ue(e.$slots,"empty",{},()=>[ct(ve(e.computedEmptyText),1)])],2)],6)):G("v-if",!0),e.$slots.append?(w(),I("div",{key:1,ref:"appendWrapper",class:S(e.ns.e("append-wrapper"))},[ue(e.$slots,"append")],2)):G("v-if",!0)]),_:3},8,["height","max-height","view-style","always"])],6),e.border||e.isGroup?(w(),I("div",{key:1,class:S(e.ns.e("border-left-patch"))},null,2)):G("v-if",!0)],2),e.showSummary?Ue((w(),I("div",{key:0,ref:"footerWrapper",class:S(e.ns.e("footer-wrapper"))},[U(d,{border:e.border,"default-sort":e.defaultSort,store:e.store,style:Oe(e.tableBodyStyles),"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[ft,!e.isEmpty],[u,e.handleHeaderFooterMousewheel]]):G("v-if",!0),Ue(R("div",{ref:"resizeProxy",class:S(e.ns.e("column-resize-proxy"))},null,2),[[ft,e.resizeProxyVisible]])],46,GK)}var JK=_e(YK,[["render",ZK],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const QK={selection:"table-column--selection",expand:"table__expand-column"},eW={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},tW=e=>QK[e]||"",nW={selection:{renderHeader({store:e}){function t(){return e.states.data.value&&e.states.data.value.length===0}return Re(lo,{disabled:t(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value})},renderCell({row:e,column:t,store:n,$index:o}){return Re(lo,{disabled:t.selectable?!t.selectable.call(null,e,o):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:r=>r.stopPropagation(),modelValue:n.isSelected(e)})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const o=e.index;return typeof o=="number"?n=t+o:typeof o=="function"&&(n=o(t)),Re("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({row:e,store:t,expanded:n}){const{ns:o}=t,r=[o.e("expand-icon")];return n&&r.push(o.em("expand-icon","expanded")),Re("div",{class:r,onClick:function(i){i.stopPropagation(),t.toggleRowExpansion(e)}},{default:()=>[Re(qe,null,{default:()=>[Re(Yn)]})]})},sortable:!1,resizable:!1}};function oW({row:e,column:t,$index:n}){var o;const r=t.property,a=r&&Bl(e,r).value;return t&&t.formatter?t.formatter(e,t,a,n):((o=a==null?void 0:a.toString)==null?void 0:o.call(a))||""}function rW({row:e,treeNode:t,store:n},o=!1){const{ns:r}=n;if(!t)return o?[Re("span",{class:r.e("placeholder")})]:null;const a=[],i=function(l){l.stopPropagation(),n.loadOrToggle(e)};if(t.indent&&a.push(Re("span",{class:r.e("indent"),style:{"padding-left":`${t.indent}px`}})),typeof t.expanded=="boolean"&&!t.noLazyChildren){const l=[r.e("expand-icon"),t.expanded?r.em("expand-icon","expanded"):""];let s=Yn;t.loading&&(s=hr),a.push(Re("div",{class:l,onClick:i},{default:()=>[Re(qe,{class:{[r.is("loading")]:t.loading}},{default:()=>[Re(s)]})]}))}else a.push(Re("span",{class:r.e("placeholder")}));return a}function Tg(e,t){return e.reduce((n,o)=>(n[o]=o,n),t)}function aW(e,t){const n=nt();return{registerComplexWatchers:()=>{const a=["fixed"],i={realWidth:"width",realMinWidth:"minWidth"},l=Tg(a,i);Object.keys(l).forEach(s=>{const c=i[s];it(t,c)&&ge(()=>t[c],d=>{let u=d;c==="width"&&s==="realWidth"&&(u=Vp(d)),c==="minWidth"&&s==="realMinWidth"&&(u=L_(d)),n.columnConfig.value[c]=u,n.columnConfig.value[s]=u;const p=c==="fixed";e.value.store.scheduleLayout(p)})})},registerNormalWatchers:()=>{const a=["label","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],i={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},l=Tg(a,i);Object.keys(l).forEach(s=>{const c=i[s];it(t,c)&&ge(()=>t[c],d=>{n.columnConfig.value[s]=d})})}}}function iW(e,t,n){const o=nt(),r=A(""),a=A(!1),i=A(),l=A(),s=ke("table");Dn(()=>{i.value=e.align?`is-${e.align}`:null,i.value}),Dn(()=>{l.value=e.headerAlign?`is-${e.headerAlign}`:i.value,l.value});const c=C(()=>{let y=o.vnode.vParent||o.parent;for(;y&&!y.tableId&&!y.columnId;)y=y.vnode.vParent||y.parent;return y}),d=C(()=>{const{store:y}=o.parent;if(!y)return!1;const{treeData:T}=y.states,x=T.value;return x&&Object.keys(x).length>0}),u=A(Vp(e.width)),p=A(L_(e.minWidth)),f=y=>(u.value&&(y.width=u.value),p.value&&(y.minWidth=p.value),y.minWidth||(y.minWidth=80),y.realWidth=Number(y.width===void 0?y.minWidth:y.width),y),h=y=>{const T=y.type,x=nW[T]||{};Object.keys(x).forEach($=>{const z=x[$];$!=="className"&&z!==void 0&&(y[$]=z)});const k=tW(T);if(k){const $=`${_(s.namespace)}-${k}`;y.className=y.className?`${y.className} ${$}`:$}return y},b=y=>{Array.isArray(y)?y.forEach(x=>T(x)):T(y);function T(x){var k;((k=x==null?void 0:x.type)==null?void 0:k.name)==="ElTableColumn"&&(x.vParent=o)}};return{columnId:r,realAlign:i,isSubColumn:a,realHeaderAlign:l,columnOrTableParent:c,setColumnWidth:f,setColumnForcedProps:h,setColumnRenders:y=>{e.renderHeader||y.type!=="selection"&&(y.renderHeader=k=>{o.columnConfig.value.label;const $=t.header;return $?$(k):y.label});let T=y.renderCell;const x=d.value;return y.type==="expand"?(y.renderCell=k=>Re("div",{class:"cell"},[T(k)]),n.value.renderExpanded=k=>t.default?t.default(k):t.default):(T=T||oW,y.renderCell=k=>{let $=null;if(t.default){const D=t.default(k);$=D.some(L=>L.type!==dn)?D:T(k)}else $=T(k);const z=x&&k.cellIndex===0,P=rW(k,z),O={class:"cell",style:{}};return y.showOverflowTooltip&&(O.class=`${O.class} ${_(s.namespace)}-tooltip`,O.style={width:`${(k.column.realWidth||Number(k.column.width))-1}px`}),b($),Re("div",O,[P,$])}),y},getPropsData:(...y)=>y.reduce((T,x)=>(Array.isArray(x)&&x.forEach(k=>{T[k]=e[k]}),T),{}),getColumnElIndex:(y,T)=>Array.prototype.indexOf.call(y,T)}}var lW={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showTooltipWhenOverflow:Boolean,showOverflowTooltip:Boolean,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let sW=1;var W_=ee({name:"ElTableColumn",components:{ElCheckbox:lo},props:lW,setup(e,{slots:t}){const n=nt(),o=A({}),r=C(()=>{let v=n.parent;for(;v&&!v.tableId;)v=v.parent;return v}),{registerNormalWatchers:a,registerComplexWatchers:i}=aW(r,e),{columnId:l,isSubColumn:s,realHeaderAlign:c,columnOrTableParent:d,setColumnWidth:u,setColumnForcedProps:p,setColumnRenders:f,getPropsData:h,getColumnElIndex:b,realAlign:m}=iW(e,t,r),g=d.value;l.value=`${g.tableId||g.columnId}_column_${sW++}`,Ji(()=>{s.value=r.value!==g;const v=e.type||"default",y=e.sortable===""?!0:e.sortable,T=ze(he({},eW[v]),{id:l.value,type:v,property:e.prop||e.property,align:m,headerAlign:c,showOverflowTooltip:e.showOverflowTooltip||e.showTooltipWhenOverflow,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:y,index:e.index,rawColumnKey:n.vnode.key});let P=h(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);P=dK(T,P),P=uK(f,u,p)(P),o.value=P,a(),i()}),et(()=>{var v;const y=d.value,T=s.value?y.vnode.el.children:(v=y.refs.hiddenColumns)==null?void 0:v.children,x=()=>b(T||[],n.vnode.el);o.value.getColumnIndex=x,x()>-1&&r.value.store.commit("insertColumn",o.value,s.value?y.columnConfig.value:null)}),$t(()=>{r.value.store.commit("removeColumn",o.value,s.value?g.columnConfig.value:null)}),n.columnId=l.value,n.columnConfig=o},render(){var e,t,n;try{const o=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),r=[];if(Array.isArray(o))for(const i of o)((n=i.type)==null?void 0:n.name)==="ElTableColumn"||i.shapeFlag&2?r.push(i):i.type===Fe&&Array.isArray(i.children)&&i.children.forEach(l=>{(l==null?void 0:l.patchFlag)!==1024&&!Qe(l==null?void 0:l.children)&&r.push(l)});return Re("div",r)}catch{return Re("div",[])}}});const cW=rt(JK,{TableColumn:W_}),dW=Dt(W_),uW=Le({tabs:{type:Te(Array),default:()=>Ft([])}}),pW={name:"ElTabBar"},fW=ee(ze(he({},pW),{props:uW,setup(e,{expose:t}){const n=e,o="ElTabBar",r=nt(),a=Ie(lc);a||Wt(o,"");const i=ke("tabs"),l=A(),s=A(),c=()=>{let u=0,p=0;const f=["top","bottom"].includes(a.props.tabPosition)?"width":"height",h=f==="width"?"x":"y";return n.tabs.every(b=>{var m,g,v,y;const T=(g=(m=r.parent)==null?void 0:m.refs)==null?void 0:g[`tab-${b.paneName}`];if(!T)return!1;if(!b.active)return!0;p=T[`client${kn(f)}`];const x=h==="x"?"left":"top";u=T.getBoundingClientRect()[x]-((y=(v=T.parentElement)==null?void 0:v.getBoundingClientRect()[x])!=null?y:0);const k=window.getComputedStyle(T);return f==="width"&&(n.tabs.length>1&&(p-=Number.parseFloat(k.paddingLeft)+Number.parseFloat(k.paddingRight)),u+=Number.parseFloat(k.paddingLeft)),!1}),{[f]:`${p}px`,transform:`translate${kn(h)}(${u}px)`}},d=()=>s.value=c();return ge(()=>n.tabs,async()=>{await je(),d()},{immediate:!0}),Ba(l,()=>d()),t({ref:l,update:d}),(u,p)=>(w(),I("div",{ref_key:"barRef",ref:l,class:S([_(i).e("active-bar"),_(i).is(_(a).props.tabPosition)]),style:Oe(s.value)},null,6))}}));var hW=_e(fW,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const mW=Le({panes:{type:Te(Array),default:()=>Ft([])},currentName:{type:[String,Number],default:""},editable:Boolean,onTabClick:{type:Te(Function),default:wt},onTabRemove:{type:Te(Function),default:wt},type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),Cg="ElTabNav",gW=ee({name:Cg,props:mW,setup(e,{expose:t}){const n=Ie(lc);n||Wt(Cg,"");const o=ke("tabs"),r=e$(),a=r$(),i=A(),l=A(),s=A(),c=A(!1),d=A(0),u=A(!1),p=A(!0),f=C(()=>["top","bottom"].includes(n.props.tabPosition)?"width":"height"),h=C(()=>({transform:`translate${f.value==="width"?"X":"Y"}(-${d.value}px)`})),b=()=>{if(!i.value)return;const k=i.value[`offset${kn(f.value)}`],$=d.value;if(!$)return;const z=$>k?$-k:0;d.value=z},m=()=>{if(!i.value||!l.value)return;const k=l.value[`offset${kn(f.value)}`],$=i.value[`offset${kn(f.value)}`],z=d.value;if(k-z<=$)return;const P=k-z>$*2?z+$:k-$;d.value=P},g=()=>{const k=l.value;if(!c.value||!s.value||!i.value||!k)return;const $=s.value.querySelector(".is-active");if(!$)return;const z=i.value,P=["top","bottom"].includes(n.props.tabPosition),O=$.getBoundingClientRect(),D=z.getBoundingClientRect(),L=P?k.offsetWidth-D.width:k.offsetHeight-D.height,F=d.value;let V=F;P?(O.leftD.right&&(V=F+O.right-D.right)):(O.topD.bottom&&(V=F+(O.bottom-D.bottom))),V=Math.max(V,0),d.value=Math.min(V,L)},v=()=>{if(!l.value||!i.value)return;const k=l.value[`offset${kn(f.value)}`],$=i.value[`offset${kn(f.value)}`],z=d.value;if($0&&(d.value=0)},y=k=>{const $=k.code,{up:z,down:P,left:O,right:D}=Pe;if(![z,P,O,D].includes($))return;const L=Array.from(k.currentTarget.querySelectorAll("[role=tab]")),F=L.indexOf(k.target);let V;$===O||$===z?F===0?V=L.length-1:V=F-1:F{p.value&&(u.value=!0)},x=()=>u.value=!1;return ge(r,k=>{k==="hidden"?p.value=!1:k==="visible"&&setTimeout(()=>p.value=!0,50)}),ge(a,k=>{k?setTimeout(()=>p.value=!0,50):p.value=!1}),Ba(s,v),et(()=>setTimeout(()=>g(),0)),Un(()=>v()),t({scrollToActiveTab:g,removeFocus:x}),()=>{const k=c.value?[U("span",{class:[o.e("nav-prev"),o.is("disabled",!c.value.prev)],onClick:b},[U(qe,null,{default:()=>[U(Xr,null,null)]})]),U("span",{class:[o.e("nav-next"),o.is("disabled",!c.value.next)],onClick:m},[U(qe,null,{default:()=>[U(Yn,null,null)]})])]:null,$=e.panes.map((z,P)=>{var O,D;const L=z.props.name||z.index||`${P}`,F=z.isClosable||e.editable;z.index=`${P}`;const V=F?U(qe,{class:"is-icon-close",onClick:E=>e.onTabRemove(z,E)},{default:()=>[U(Hn,null,null)]}):null,q=((D=(O=z.instance.slots).label)==null?void 0:D.call(O))||z.props.label,M=z.active?0:-1;return U("div",{ref:`tab-${L}`,class:[o.e("item"),o.is(n.props.tabPosition),o.is("active",z.active),o.is("disabled",z.props.disabled),o.is("closable",F),o.is("focus",u.value)],id:`tab-${L}`,key:`tab-${L}`,"aria-controls":`pane-${L}`,role:"tab","aria-selected":z.active,tabindex:M,onFocus:()=>T(),onBlur:()=>x(),onClick:E=>{x(),e.onTabClick(z,L,E)},onKeydown:E=>{F&&(E.code===Pe.delete||E.code===Pe.backspace)&&e.onTabRemove(z,E)}},[q,V])});return U("div",{ref:s,class:[o.e("nav-wrap"),o.is("scrollable",!!c.value),o.is(n.props.tabPosition)]},[k,U("div",{class:o.e("nav-scroll"),ref:i},[U("div",{class:[o.e("nav"),o.is(n.props.tabPosition),o.is("stretch",e.stretch&&["top","bottom"].includes(n.props.tabPosition))],ref:l,style:h.value,role:"tablist",onKeydown:y},[e.type?null:U(hW,{tabs:[...e.panes]},null),$])])])}}}),bW=Le({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number],default:""},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:Te(Function),default:()=>!0},stretch:Boolean}),zl=e=>Qe(e)||mt(e),vW={[tt]:e=>zl(e),[pr]:e=>zl(e),"tab-click":(e,t)=>t instanceof Event,"tab-change":e=>zl(e),edit:(e,t)=>["remove","add"].includes(t),"tab-remove":e=>zl(e),"tab-add":()=>!0},U_=(e,t=[])=>{const n=e.children||[];return Array.from(n).forEach(o=>{let r=o.type;r=r.name||r,r==="ElTabPane"&&o.component?t.push(o.component):(r===Fe||r==="template")&&U_(o,t)}),t};var yW=ee({name:"ElTabs",props:bW,emits:vW,setup(e,{emit:t,slots:n,expose:o}){const r=nt();il({scope:"el-tabs",type:"Event",from:"input",replacement:"tab-change",version:"2.5.0",ref:"https://element-plus.org/en-US/component/tabs.html#tabs-events"},C(()=>{var m;return Je((m=r.vnode.props)==null?void 0:m.onInput)}));const a=ke("tabs"),i=A(),l=A([]),s=A(e.modelValue||e.activeName||"0"),c={},d=(m=!1)=>{if(n.default){const g=r.subTree.children,v=Array.from(g).find(({props:x})=>(x==null?void 0:x.class)===a.e("content"));if(!v)return;const y=U_(v).map(x=>c[x.uid]),T=!(y.length===l.value.length&&y.every((x,k)=>x.uid===l.value[k].uid));(m||T)&&(l.value=y)}else l.value.length!==0&&(l.value=[])},u=m=>{s.value=m,t(pr,m),t(tt,m),t("tab-change",m)},p=m=>{var g;if(s.value===m)return;const v=(g=e.beforeLeave)==null?void 0:g.call(e,m,s.value);Vr(v)?v.then(()=>{var y,T;u(m),(T=(y=i.value)==null?void 0:y.removeFocus)==null||T.call(y)},wt):v!==!1&&u(m)},f=(m,g,v)=>{m.props.disabled||(p(g),t("tab-click",m,v))},h=(m,g)=>{m.props.disabled||(g.stopPropagation(),t("edit",m.props.name,"remove"),t("tab-remove",m.props.name))},b=()=>{t("edit",void 0,"add"),t("tab-add")};return Un(()=>d()),et(()=>d()),ge(()=>e.activeName,m=>p(m)),ge(()=>e.modelValue,m=>p(m)),ge(s,async()=>{var m,g;d(!0),await je(),await((m=i.value)==null?void 0:m.$nextTick()),(g=i.value)==null||g.scrollToActiveTab()}),ot(lc,{props:e,currentName:s,updatePaneState:m=>c[m.uid]=m}),o({currentName:s}),()=>{const m=e.editable||e.addable?U("span",{class:a.e("new-tab"),tabindex:"0",onClick:b,onKeydown:y=>{y.code===Pe.enter&&b()}},[U(qe,{class:a.is("icon-plus")},{default:()=>[U(Xv,null,null)]})]):null,g=U("div",{class:[a.e("header"),a.is(e.tabPosition)]},[m,U(gW,{ref:i,currentName:s.value,editable:e.editable,type:e.type,panes:l.value,stretch:e.stretch,onTabClick:f,onTabRemove:h},null)]),v=U("div",{class:a.e("content")},[ue(n,"default")]);return U("div",{class:[a.b(),a.m(e.tabPosition),{[a.m("card")]:e.type==="card",[a.m("border-card")]:e.type==="border-card"}]},[...e.tabPosition!=="bottom"?[g,v]:[v,g]])}}});const _W=Le({label:{type:String,default:""},name:{type:[String,Number],default:""},closable:Boolean,disabled:Boolean,lazy:Boolean}),wW=["id","aria-hidden","aria-labelledby"],xW={name:"ElTabPane"},kW=ee(ze(he({},xW),{props:_W,setup(e){const t=e,n="ElTabPane",o=nt(),r=Ie(lc);r||Wt(n,"usage: ");const a=ke("tab-pane"),i=A(),l=C(()=>t.closable||r.props.closable),s=Hh(()=>r.currentName.value===(t.name||i.value)),c=A(s.value),d=C(()=>t.name||i.value),u=Hh(()=>!t.lazy||c.value||s.value);return ge(s,p=>{p&&(c.value=!0)}),r.updatePaneState(vt({uid:o.uid,instance:Ai(o),props:t,paneName:d,active:s,index:i,isClosable:l})),(p,f)=>_(u)?Ue((w(),I("div",{key:0,id:`pane-${_(d)}`,class:S(_(a).b()),role:"tabpanel","aria-hidden":!_(s),"aria-labelledby":`tab-${_(d)}`},[ue(p.$slots,"default")],10,wW)),[[ft,_(s)]]):G("v-if",!0)}}));var Y_=_e(kW,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const TW=rt(yW,{TabPane:Y_}),CW=Dt(Y_);Ge.extend(Tp);const{Option:SW}=qr,$o=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const o=Number.parseInt(t[1],10),r=e.toUpperCase();return r.includes("AM")&&n===12?n=0:r.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:o}}return null},Qc=(e,t)=>{const n=$o(e),o=$o(t),r=n.minutes+n.hours*60,a=o.minutes+o.hours*60;return r===a?0:r>a?1:-1},Sg=e=>`${e}`.padStart(2,"0"),sa=e=>`${Sg(e.hours)}:${Sg(e.minutes)}`,$W=(e,t)=>{const n=$o(e),o=$o(t),r={hours:n.hours,minutes:n.minutes};return r.minutes+=o.minutes,r.hours+=o.hours,r.hours+=Math.floor(r.minutes/60),r.minutes=r.minutes%60,sa(r)},AW=ee({name:"ElTimeSelect",components:{ElSelect:qr,ElOption:SW,ElIcon:qe},model:{prop:"value",event:"change"},props:{format:{type:String,default:"HH:mm"},modelValue:String,disabled:{type:Boolean,default:!1},editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:{type:String,values:wo,default:""},placeholder:{type:String,default:""},start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:{type:String,default:""},maxTime:{type:String,default:""},name:{type:String,default:""},prefixIcon:{type:[String,Object],default:Gv},clearIcon:{type:[String,Object],default:Oo}},emits:["change","blur","focus","update:modelValue"],setup(e){const t=A(null),n=C(()=>e.modelValue),o=C(()=>{const u=$o(e.start);return sa(u)}),r=C(()=>{const u=$o(e.end);return sa(u)}),a=C(()=>{const u=$o(e.step);return sa(u)}),i=C(()=>{const u=$o(e.minTime);return u?sa(u):null}),l=C(()=>{const u=$o(e.maxTime);return u?sa(u):null}),s=C(()=>{const u=[];if(e.start&&e.end&&e.step){let p=o.value,f;for(;Qc(p,r.value)<=0;)f=Ge(p,"HH:mm").format(e.format),u.push({value:f,disabled:Qc(p,i.value||"-1:-1")<=0||Qc(p,l.value||"100:100")>=0}),p=$W(p,a.value)}return u});return{select:t,value:n,items:s,blur:()=>{var u,p;(p=(u=t.value)==null?void 0:u.blur)==null||p.call(u)},focus:()=>{var u,p;(p=(u=t.value)==null?void 0:u.focus)==null||p.call(u)}}}});function EW(e,t,n,o,r,a){const i=le("el-option"),l=le("el-icon"),s=le("el-select");return w(),Q(s,{ref:"select","model-value":e.value,disabled:e.disabled,clearable:e.clearable,"clear-icon":e.clearIcon,size:e.size,effect:e.effect,placeholder:e.placeholder,"default-first-option":"",filterable:e.editable,"onUpdate:modelValue":t[0]||(t[0]=c=>e.$emit("update:modelValue",c)),onChange:t[1]||(t[1]=c=>e.$emit("change",c)),onBlur:t[2]||(t[2]=c=>e.$emit("blur",c)),onFocus:t[3]||(t[3]=c=>e.$emit("focus",c))},{prefix:K(()=>[e.prefixIcon?(w(),Q(l,{key:0,class:"el-input__prefix-icon"},{default:K(()=>[(w(),Q(pt(e.prefixIcon)))]),_:1})):G("v-if",!0)]),default:K(()=>[(w(!0),I(Fe,null,st(e.items,c=>(w(),Q(i,{key:c.value,label:c.value,value:c.value,disabled:c.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable"])}var is=_e(AW,[["render",EW],["__file","/home/runner/work/element-plus/element-plus/packages/components/time-select/src/time-select.vue"]]);is.install=e=>{e.component(is.name,is)};const zW=is,IW=zW,NW=ee({name:"ElTimeline",setup(e,{slots:t}){const n=ke("timeline");return ot("timeline",t),()=>Re("ul",{class:[n.b()]},[ue(t,"default")])}}),MW=Le({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},type:{type:String,default:""},color:{type:String,default:""},size:{type:String,default:"normal"},icon:{type:an,default:""},hollow:{type:Boolean,default:!1}}),RW=ee({name:"ElTimelineItem",components:{ElIcon:qe},props:MW,setup(){return{ns:ke("timeline-item")}}});function PW(e,t,n,o,r,a){const i=le("el-icon");return w(),I("li",{class:S([e.ns.b(),{[e.ns.e("center")]:e.center}])},[R("div",{class:S(e.ns.e("tail"))},null,2),e.$slots.dot?G("v-if",!0):(w(),I("div",{key:0,class:S([e.ns.e("node"),e.ns.em("node",e.size||""),e.ns.em("node",e.type||""),e.ns.is("hollow",e.hollow)]),style:Oe({backgroundColor:e.color})},[e.icon?(w(),Q(i,{key:0,class:S(e.ns.e("icon"))},{default:K(()=>[(w(),Q(pt(e.icon)))]),_:1},8,["class"])):G("v-if",!0)],6)),e.$slots.dot?(w(),I("div",{key:1,class:S(e.ns.e("dot"))},[ue(e.$slots,"dot")],2)):G("v-if",!0),R("div",{class:S(e.ns.e("wrapper"))},[!e.hideTimestamp&&e.placement==="top"?(w(),I("div",{key:0,class:S([e.ns.e("timestamp"),e.ns.is("top")])},ve(e.timestamp),3)):G("v-if",!0),R("div",{class:S(e.ns.e("content"))},[ue(e.$slots,"default")],2),!e.hideTimestamp&&e.placement==="bottom"?(w(),I("div",{key:1,class:S([e.ns.e("timestamp"),e.ns.is("bottom")])},ve(e.timestamp),3)):G("v-if",!0)],2)],2)}var G_=_e(RW,[["render",PW],["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);const OW=rt(NW,{TimelineItem:G_}),FW=Dt(G_),X_=Le({nowrap:Boolean});var Z_=(e=>(e.top="top",e.bottom="bottom",e.left="left",e.right="right",e))(Z_||{});const DW=Object.values(Z_),qp=Le({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:Te(Object),default:null}}),LW=Le({side:{type:Te(String),values:DW,required:!0}}),VW=["absolute","fixed"],BW=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],Kp=Le({ariaLabel:String,arrowPadding:{type:Te(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:Te(String),values:BW,default:"bottom"},reference:{type:Te(Object),default:null},offset:{type:Number,default:8},strategy:{type:Te(String),values:VW,default:"absolute"},showArrow:{type:Boolean,default:!1}}),Wp=Le({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:Te(Function)},"onUpdate:open":{type:Te(Function)}}),ra={type:Te(Function)},Up=Le({onBlur:ra,onClick:ra,onFocus:ra,onMouseDown:ra,onMouseEnter:ra,onMouseLeave:ra}),jW=Le(ze(he(he(he(he({},Wp),qp),Up),Kp),{alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:Te(Object),default:null},teleported:Boolean,to:{type:Te(String),default:"body"}})),HW={name:"ElTooltipV2Root"},qW=ee(ze(he({},HW),{props:Wp,setup(e,{expose:t}){const n=e,o=A(n.defaultOpen),r=A(null),a=C({get:()=>c$(n.open)?o.value:n.open,set:m=>{var g;o.value=m,(g=n["onUpdate:open"])==null||g.call(n,m)}}),i=C(()=>mt(n.delayDuration)&&n.delayDuration>0),{start:l,stop:s}=jr(()=>{a.value=!0},C(()=>n.delayDuration),{immediate:!1}),c=ke("tooltip-v2"),d=pp(),u=()=>{s(),a.value=!0},p=()=>{_(i)?l():u()},f=u,h=()=>{s(),a.value=!1};return ge(a,m=>{var g;m&&(document.dispatchEvent(new CustomEvent(Mc)),f()),(g=n.onOpenChange)==null||g.call(n,m)}),et(()=>{document.addEventListener(Mc,h)}),$t(()=>{s(),document.removeEventListener(Mc,h)}),ot(sc,{contentId:d,triggerRef:r,ns:c,onClose:h,onDelayOpen:p,onOpen:f}),t({onOpen:f,onClose:h}),(m,g)=>ue(m.$slots,"default",{open:_(a)})}}));var KW=_e(qW,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/root.vue"]]);const WW={name:"ElTooltipV2Arrow"},UW=ee(ze(he({},WW),{props:he(he({},qp),LW),setup(e){const t=e,{ns:n}=Ie(sc),{arrowRef:o}=Ie(vy),r=C(()=>{const{style:a,width:i,height:l}=t,s=n.namespace.value;return he({[`--${s}-tooltip-v2-arrow-width`]:`${i}px`,[`--${s}-tooltip-v2-arrow-height`]:`${l}px`,[`--${s}-tooltip-v2-arrow-border-width`]:`${i/2}px`,[`--${s}-tooltip-v2-arrow-cover-width`]:i/2-1},a||{})});return(a,i)=>(w(),I("span",{ref_key:"arrowRef",ref:o,style:Oe(_(r)),class:S(_(n).e("arrow"))},null,6))}}));var $g=_e(UW,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/arrow.vue"]]);const YW=["data-side"],GW={name:"ElTooltipV2Content"},XW=ee(ze(he({},GW),{props:he(he({},Kp),X_),setup(e){const t=e,{triggerRef:n,contentId:o}=Ie(sc),r=A(t.placement),a=A(t.strategy),i=A(null),{referenceRef:l,contentRef:s,middlewareData:c,x:d,y:u,update:p}=y8({placement:r,strategy:a,middleware:C(()=>{const y=[p8(t.offset)];return t.showArrow&&y.push(_8({arrowRef:i})),y})}),f=jo().nextZIndex(),h=ke("tooltip-v2"),b=C(()=>r.value.split("-")[0]),m=C(()=>({position:_(a),top:`${_(u)||0}px`,left:`${_(d)||0}px`,zIndex:f})),g=C(()=>{if(!t.showArrow)return{};const{arrow:y}=_(c);return{[`--${h.namespace.value}-tooltip-v2-arrow-x`]:`${y==null?void 0:y.x}px`||"",[`--${h.namespace.value}-tooltip-v2-arrow-y`]:`${y==null?void 0:y.y}px`||""}}),v=C(()=>[h.e("content"),h.is("dark",t.effect==="dark"),h.is(_(a)),t.contentClass]);return ge(i,()=>p()),ge(()=>t.placement,y=>r.value=y),et(()=>{ge(()=>t.reference||n.value,y=>{l.value=y||void 0},{immediate:!0})}),ot(vy,{arrowRef:i}),(y,T)=>(w(),I("div",{ref_key:"contentRef",ref:s,style:Oe(_(m)),"data-tooltip-v2-root":""},[y.nowrap?G("v-if",!0):(w(),I("div",{key:0,"data-side":_(b),class:S(_(v))},[ue(y.$slots,"default",{contentStyle:_(m),contentClass:_(v)}),U(_(Xy),{id:_(o),role:"tooltip"},{default:K(()=>[y.ariaLabel?(w(),I(Fe,{key:0},[ct(ve(y.ariaLabel),1)],2112)):ue(y.$slots,"default",{key:1})]),_:3},8,["id"]),ue(y.$slots,"arrow",{style:Oe(_(g)),side:_(b)})],10,YW))],4))}}));var Ag=_e(XW,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/content.vue"]]);const ZW=Le({setRef:{type:Te(Function),required:!0},onlyChild:Boolean});var JW=ee({props:ZW,setup(e,{slots:t}){const n=A(),o=lp(n,r=>{r?e.setRef(r.nextElementSibling):e.setRef(null)});return()=>{var r;const[a]=((r=t.default)==null?void 0:r.call(t))||[],i=e.onlyChild?Iz(a.children):a.children;return U(Fe,{ref:o},[i])}}});const QW={name:"ElTooltipV2Trigger"},eU=ee(ze(he({},QW),{props:he(he({},X_),Up),setup(e){const t=e,{onClose:n,onOpen:o,onDelayOpen:r,triggerRef:a,contentId:i}=Ie(sc);let l=!1;const s=v=>{a.value=v},c=()=>{l=!1},d=Ot(t.onMouseEnter,r),u=Ot(t.onMouseLeave,n),p=Ot(t.onMouseDown,()=>{n(),l=!0,document.addEventListener("mouseup",c,{once:!0})}),f=Ot(t.onFocus,()=>{l||o()}),h=Ot(t.onBlur,n),b=Ot(t.onClick,v=>{v.detail===0&&n()}),m={blur:h,click:b,focus:f,mousedown:p,mouseenter:d,mouseleave:u},g=(v,y,T)=>{v&&Object.entries(y).forEach(([x,k])=>{v[T](x,k)})};return ge(a,(v,y)=>{g(v,m,"addEventListener"),g(y,m,"removeEventListener"),v&&v.setAttribute("aria-describedby",i.value)}),$t(()=>{g(a.value,m,"removeEventListener"),document.removeEventListener("mouseup",c)}),(v,y)=>v.nowrap?(w(),Q(_(JW),{key:0,"set-ref":s,"only-child":""},{default:K(()=>[ue(v.$slots,"default")]),_:3})):(w(),I("button",St({key:1,ref_key:"triggerRef",ref:a},v.$attrs),[ue(v.$slots,"default")],16))}}));var tU=_e(eU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/trigger.vue"]]);const nU={name:"ElTooltipV2"},oU=ee(ze(he({},nU),{props:jW,setup(e){const n=Gt(e),o=vt(rr(n,Object.keys(qp))),r=vt(rr(n,Object.keys(Kp))),a=vt(rr(n,Object.keys(Wp))),i=vt(rr(n,Object.keys(Up)));return(l,s)=>(w(),Q(KW,eo(ur(_(a))),{default:K(({open:c})=>[U(tU,St(_(i),{nowrap:""}),{default:K(()=>[ue(l.$slots,"trigger")]),_:3},16),(w(),Q(el,{to:l.to,disabled:!l.teleported},[l.fullTransition?(w(),Q(qt,eo(St({key:0},l.transitionProps)),{default:K(()=>[l.alwaysOn||c?(w(),Q(Ag,eo(St({key:0},_(r))),{arrow:K(({style:d,side:u})=>[l.showArrow?(w(),Q($g,St({key:0},_(o),{style:d,side:u}),null,16,["style","side"])):G("v-if",!0)]),default:K(()=>[ue(l.$slots,"default")]),_:3},16)):G("v-if",!0)]),_:2},1040)):(w(),I(Fe,{key:1},[l.alwaysOn||c?(w(),Q(Ag,eo(St({key:0},_(r))),{arrow:K(({style:d,side:u})=>[l.showArrow?(w(),Q($g,St({key:0},_(o),{style:d,side:u}),null,16,["style","side"])):G("v-if",!0)]),default:K(()=>[ue(l.$slots,"default")]),_:3},16)):G("v-if",!0)],2112))],8,["to","disabled"]))]),_:3},16))}}));var rU=_e(oU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/tooltip.vue"]]);const aU=rt(rU),su="checked-change",iU={data:{type:Array,default(){return[]}},optionRender:Function,placeholder:String,title:String,filterable:Boolean,format:Object,filterMethod:Function,defaultChecked:Array,props:Object},lU=(e,t)=>{const{emit:n}=nt(),o=C(()=>e.props.label||"label"),r=C(()=>e.props.key||"key"),a=C(()=>e.props.disabled||"disabled"),i=C(()=>e.data.filter(p=>typeof e.filterMethod=="function"?e.filterMethod(t.query,p):(p[o.value]||p[r.value].toString()).toLowerCase().includes(t.query.toLowerCase()))),l=C(()=>i.value.filter(p=>!p[a.value])),s=C(()=>{const p=t.checked.length,f=e.data.length,{noChecked:h,hasChecked:b}=e.format;return h&&b?p>0?b.replace(/\${checked}/g,p.toString()).replace(/\${total}/g,f.toString()):h.replace(/\${total}/g,f.toString()):`${p}/${f}`}),c=C(()=>{const p=t.checked.length;return p>0&&p{const p=l.value.map(f=>f[r.value]);t.allChecked=p.length>0&&p.every(f=>t.checked.includes(f))},u=p=>{t.checked=p?l.value.map(f=>f[r.value]):[]};return ge(()=>t.checked,(p,f)=>{if(d(),t.checkChangeByUser){const h=p.concat(f).filter(b=>!p.includes(b)||!f.includes(b));n(su,p,h)}else n(su,p),t.checkChangeByUser=!0}),ge(l,()=>{d()}),ge(()=>e.data,()=>{const p=[],f=i.value.map(h=>h[r.value]);t.checked.forEach(h=>{f.includes(h)&&p.push(h)}),t.checkChangeByUser=!1,t.checked=p}),ge(()=>e.defaultChecked,(p,f)=>{if(f&&p.length===f.length&&p.every(m=>f.includes(m)))return;const h=[],b=l.value.map(m=>m[r.value]);p.forEach(m=>{b.includes(m)&&h.push(m)}),t.checkChangeByUser=!1,t.checked=h},{immediate:!0}),{labelProp:o,keyProp:r,disabledProp:a,filteredData:i,checkableData:l,checkedSummary:s,isIndeterminate:c,updateAllChecked:d,handleAllCheckedChange:u}},sU=ee({name:"ElTransferPanel",components:{ElCheckboxGroup:$0,ElCheckbox:lo,ElInput:Gn,OptionContent:({option:e})=>e},props:iU,emits:[su],setup(e,{slots:t}){const{t:n}=Tt(),o=ke("transfer"),r=vt({checked:[],allChecked:!1,query:"",inputHover:!1,checkChangeByUser:!0}),{labelProp:a,keyProp:i,disabledProp:l,filteredData:s,checkedSummary:c,isIndeterminate:d,handleAllCheckedChange:u}=lU(e,r),p=C(()=>r.query.length>0&&s.value.length===0),f=C(()=>!!t.default()[0].children.length),{checked:h,allChecked:b,query:m,inputHover:g,checkChangeByUser:v}=Gt(r);return{ns:o,labelProp:a,keyProp:i,disabledProp:l,filteredData:s,checkedSummary:c,isIndeterminate:d,handleAllCheckedChange:u,checked:h,allChecked:b,query:m,inputHover:g,checkChangeByUser:v,hasNoMatch:p,SearchIcon:L5,hasFooter:f,t:n}}});function cU(e,t,n,o,r,a){const i=le("el-checkbox"),l=le("el-input"),s=le("option-content"),c=le("el-checkbox-group");return w(),I("div",{class:S(e.ns.b("panel"))},[R("p",{class:S(e.ns.be("panel","header"))},[U(i,{modelValue:e.allChecked,"onUpdate:modelValue":t[0]||(t[0]=d=>e.allChecked=d),indeterminate:e.isIndeterminate,onChange:e.handleAllCheckedChange},{default:K(()=>[ct(ve(e.title)+" ",1),R("span",null,ve(e.checkedSummary),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),R("div",{class:S([e.ns.be("panel","body"),e.ns.is("with-footer",e.hasFooter)])},[e.filterable?(w(),Q(l,{key:0,modelValue:e.query,"onUpdate:modelValue":t[1]||(t[1]=d=>e.query=d),class:S(e.ns.be("panel","filter")),size:"default",placeholder:e.placeholder,"prefix-icon":e.SearchIcon,clearable:"",onMouseenter:t[2]||(t[2]=d=>e.inputHover=!0),onMouseleave:t[3]||(t[3]=d=>e.inputHover=!1)},null,8,["modelValue","class","placeholder","prefix-icon"])):G("v-if",!0),Ue(U(c,{modelValue:e.checked,"onUpdate:modelValue":t[4]||(t[4]=d=>e.checked=d),class:S([e.ns.is("filterable",e.filterable),e.ns.be("panel","list")])},{default:K(()=>[(w(!0),I(Fe,null,st(e.filteredData,d=>(w(),Q(i,{key:d[e.keyProp],class:S(e.ns.be("panel","item")),label:d[e.keyProp],disabled:d[e.disabledProp]},{default:K(()=>[U(s,{option:e.optionRender(d)},null,8,["option"])]),_:2},1032,["class","label","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[ft,!e.hasNoMatch&&e.data.length>0]]),Ue(R("p",{class:S(e.ns.be("panel","empty"))},ve(e.hasNoMatch?e.t("el.transfer.noMatch"):e.t("el.transfer.noData")),3),[[ft,e.hasNoMatch||e.data.length===0]])],2),e.hasFooter?(w(),I("p",{key:0,class:S(e.ns.be("panel","footer"))},[ue(e.$slots,"default")],2)):G("v-if",!0)],2)}var dU=_e(sU,[["render",cU],["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const uU=e=>{const t=C(()=>e.props.key),n=C(()=>e.data.reduce((a,i)=>(a[i[t.value]]=i)&&a,{})),o=C(()=>e.data.filter(a=>!e.modelValue.includes(a[t.value]))),r=C(()=>e.targetOrder==="original"?e.data.filter(a=>e.modelValue.includes(a[t.value])):e.modelValue.reduce((a,i)=>{const l=n.value[i];return l&&a.push(l),a},[]));return{propsKey:t,sourceData:o,targetData:r}},J_="left-check-change",Q_="right-check-change",pU=(e,t)=>({onSourceCheckedChange:(r,a)=>{e.leftChecked=r,a!==void 0&&t(J_,r,a)},onTargetCheckedChange:(r,a)=>{e.rightChecked=r,a!==void 0&&t(Q_,r,a)}}),fU=(e,t,n,o)=>{const r=(l,s,c)=>{o(tt,l),o(Xt,l,s,c)};return{addToLeft:()=>{const l=e.modelValue.slice();t.rightChecked.forEach(s=>{const c=l.indexOf(s);c>-1&&l.splice(c,1)}),r(l,"left",t.rightChecked)},addToRight:()=>{let l=e.modelValue.slice();const s=e.data.filter(c=>{const d=c[n.value];return t.leftChecked.includes(d)&&!e.modelValue.includes(d)}).map(c=>c[n.value]);l=e.targetOrder==="unshift"?s.concat(l):l.concat(s),e.targetOrder==="original"&&(l=e.data.filter(c=>l.includes(c[n.value])).map(c=>c[n.value])),r(l,"right",t.leftChecked)}}},hU=ee({name:"ElTransfer",components:{TransferPanel:dU,ElButton:Vn,ElIcon:qe,ArrowLeft:Xr,ArrowRight:Yn},props:{data:{type:Array,default:()=>[]},titles:{type:Array,default:()=>[]},buttonTexts:{type:Array,default:()=>[]},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:()=>[]},rightDefaultChecked:{type:Array,default:()=>[]},renderContent:Function,modelValue:{type:Array,default:()=>[]},format:{type:Object,default:()=>({})},filterable:{type:Boolean,default:!1},props:{type:Object,default:()=>({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,default:"original",validator:e=>["original","push","unshift"].includes(e)}},emits:[tt,Xt,J_,Q_],setup(e,{emit:t,slots:n}){const{t:o}=Tt(),r=ke("transfer"),a=Ie(qn,{}),i=vt({leftChecked:[],rightChecked:[]}),{propsKey:l,sourceData:s,targetData:c}=uU(e),{onSourceCheckedChange:d,onTargetCheckedChange:u}=pU(i,t),{addToLeft:p,addToRight:f}=fU(e,i,l,t),h=A(),b=A(),m=k=>{switch(k){case"left":h.value.query="";break;case"right":b.value.query="";break}},g=C(()=>e.buttonTexts.length===2),v=C(()=>e.titles[0]||o("el.transfer.titles.0")),y=C(()=>e.titles[1]||o("el.transfer.titles.1")),T=C(()=>e.filterPlaceholder||o("el.transfer.filterPlaceholder"));ge(()=>e.modelValue,()=>{var k;(k=a.validate)==null||k.call(a,"change").catch($=>void 0)});const x=C(()=>k=>e.renderContent?e.renderContent(Re,k):n.default?n.default({option:k}):Re("span",k[e.props.label]||k[e.props.key]));return ze(he({ns:r,sourceData:s,targetData:c,onSourceCheckedChange:d,onTargetCheckedChange:u,addToLeft:p,addToRight:f},Gt(i)),{hasButtonTexts:g,leftPanelTitle:v,rightPanelTitle:y,panelFilterPlaceholder:T,clearQuery:m,leftPanel:h,rightPanel:b,optionRender:x})}}),mU={key:0},gU={key:0};function bU(e,t,n,o,r,a){const i=le("transfer-panel"),l=le("arrow-left"),s=le("el-icon"),c=le("el-button"),d=le("arrow-right");return w(),I("div",{class:S(e.ns.b())},[U(i,{ref:"leftPanel",data:e.sourceData,"option-render":e.optionRender,placeholder:e.panelFilterPlaceholder,title:e.leftPanelTitle,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,"default-checked":e.leftDefaultChecked,props:e.props,onCheckedChange:e.onSourceCheckedChange},{default:K(()=>[ue(e.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),R("div",{class:S(e.ns.e("buttons"))},[U(c,{type:"primary",class:S([e.ns.e("button"),e.ns.is("with-texts",e.hasButtonTexts)]),disabled:e.rightChecked.length===0,onClick:e.addToLeft},{default:K(()=>[U(s,null,{default:K(()=>[U(l)]),_:1}),e.buttonTexts[0]!==void 0?(w(),I("span",mU,ve(e.buttonTexts[0]),1)):G("v-if",!0)]),_:1},8,["class","disabled","onClick"]),U(c,{type:"primary",class:S([e.ns.e("button"),e.ns.is("with-texts",e.hasButtonTexts)]),disabled:e.leftChecked.length===0,onClick:e.addToRight},{default:K(()=>[e.buttonTexts[1]!==void 0?(w(),I("span",gU,ve(e.buttonTexts[1]),1)):G("v-if",!0),U(s,null,{default:K(()=>[U(d)]),_:1})]),_:1},8,["class","disabled","onClick"])],2),U(i,{ref:"rightPanel",data:e.targetData,"option-render":e.optionRender,placeholder:e.panelFilterPlaceholder,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,title:e.rightPanelTitle,"default-checked":e.rightDefaultChecked,props:e.props,onCheckedChange:e.onTargetCheckedChange},{default:K(()=>[ue(e.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2)}var ls=_e(hU,[["render",bU],["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/index.vue"]]);ls.install=e=>{e.component(ls.name,ls)};const vU=ls,yU=vU,ba="$treeNodeId",Eg=function(e,t){!t||t[ba]||Object.defineProperty(t,ba,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},Yp=function(e,t){return e?t[e]:t[ba]},cu=e=>{let t=!0,n=!0,o=!0;for(let r=0,a=e.length;r0&&t.lazy&&t.defaultExpandAll&&this.expand(),Array.isArray(this.data)||Eg(this,this.data),!this.data)return;const o=t.defaultExpandedKeys,r=t.key;r&&o&&o.includes(this.key)&&this.expand(null,t.autoExpandParent),r&&t.currentNodeKey!==void 0&&this.key===t.currentNodeKey&&(t.currentNode=this,t.currentNode.isCurrent=!0),t.lazy&&t._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(t){Array.isArray(t)||Eg(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&Array.isArray(this.data)?n=this.data:n=Il(this,"children")||[];for(let o=0,r=n.length;o-1)return t.childNodes[n+1]}return null}get previousSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return n>0?t.childNodes[n-1]:null}return null}contains(t,n=!0){return(this.childNodes||[]).some(o=>o===t||n&&o.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,o){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof Lr)){if(!o){const r=this.getChildren(!0);r.includes(t.data)||(typeof n=="undefined"||n<0?r.push(t.data):r.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=vt(new Lr(t)),t instanceof Lr&&t.initialize()}t.level=this.level+1,typeof n=="undefined"||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let o;n&&(o=this.childNodes.indexOf(n)),this.insertChild(t,o)}insertAfter(t,n){let o;n&&(o=this.childNodes.indexOf(n),o!==-1&&(o+=1)),this.insertChild(t,o)}removeChild(t){const n=this.getChildren()||[],o=n.indexOf(t.data);o>-1&&n.splice(o,1);const r=this.childNodes.indexOf(t);r>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(r,1)),this.updateLeafState()}removeChildByData(t){let n=null;for(let o=0;o{if(n){let r=this.parent;for(;r.level>0;)r.expanded=!0,r=r.parent}this.expanded=!0,t&&t(),this.childNodes.forEach(r=>{r.canFocus=!0})};this.shouldLoadData()?this.loadData(r=>{Array.isArray(r)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||ss(this),o())}):o()}doCreateChildren(t,n={}){t.forEach(o=>{this.insertChild(Object.assign({data:o},n),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(t=>{t.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser!="undefined"){this.isLeaf=this.isLeafByUser;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0;return}this.isLeaf=!1}setChecked(t,n,o,r){if(this.indeterminate=t==="half",this.checked=t===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:i,allWithoutDisable:l}=cu(this.childNodes);!this.isLeaf&&!i&&l&&(this.checked=!1,t=!1);const s=()=>{if(n){const c=this.childNodes;for(let p=0,f=c.length;p{s(),ss(this)},{checked:t!==!1});return}else s()}const a=this.parent;!a||a.level===0||o||ss(a)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const o=this.store.props;let r="children";return o&&(r=o.children||"children"),n[r]===void 0&&(n[r]=null),t&&!n[r]&&(n[r]=[]),n[r]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(a=>a.data),o={},r=[];t.forEach((a,i)=>{const l=a[ba];!!l&&n.findIndex(c=>c[ba]===l)>=0?o[l]={index:i,data:a}:r.push({index:i,data:a})}),this.store.lazy||n.forEach(a=>{o[a[ba]]||this.removeChildByData(a)}),r.forEach(({index:a,data:i})=>{this.insertChild({data:i},a)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const o=r=>{this.loaded=!0,this.loading=!1,this.childNodes=[],this.doCreateChildren(r,n),this.updateLeafState(),t&&t.call(this,r)};this.store.load(this,o)}else t&&t.call(this)}}class wU{constructor(t){this.currentNode=null,this.currentNodeKey=null;for(const n in t)it(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){this.root=new Lr({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load?this.load(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()}):this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,o=this.lazy,r=function(a){const i=a.root?a.root.childNodes:a.childNodes;if(i.forEach(l=>{l.visible=n.call(l,t,l.data,l),r(l)}),!a.visible&&i.length){let l=!0;l=!i.some(s=>s.visible),a.root?a.root.visible=l===!1:a.visible=l===!1}!t||a.visible&&!a.isLeaf&&!o&&a.expand()};r(this)}setData(t){t!==this.root.data?(this.root.setData(t),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(t){if(t instanceof Lr)return t;const n=typeof t!="object"?t:Yp(this.key,t);return this.nodesMap[n]||null}insertBefore(t,n){const o=this.getNode(n);o.parent.insertBefore({data:t},o)}insertAfter(t,n){const o=this.getNode(n);o.parent.insertAfter({data:t},o)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const o=n?this.getNode(n):this.root;o&&o.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(o=>{const r=n[o];r&&r.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){(this.defaultCheckedKeys||[]).includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;!t||!t.data||(n?t.key!==void 0&&(this.nodesMap[t.key]=t):this.nodesMap[t.id]=t)}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(o=>{this.deregisterNode(o)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const o=[],r=function(a){(a.root?a.root.childNodes:a.childNodes).forEach(l=>{(l.checked||n&&l.indeterminate)&&(!t||t&&l.isLeaf)&&o.push(l.data),r(l)})};return r(this),o}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(o){(o.root?o.root.childNodes:o.childNodes).forEach(a=>{a.indeterminate&&t.push(a.data),n(a)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const o in n)it(n,o)&&t.push(n[o]);return t}updateChildren(t,n){const o=this.nodesMap[t];if(!o)return;const r=o.childNodes;for(let a=r.length-1;a>=0;a--){const i=r[a];this.remove(i.data)}for(let a=0,i=n.length;as.level-l.level),a=Object.create(null),i=Object.keys(o);r.forEach(l=>l.setChecked(!1,!1));for(let l=0,s=r.length;l0;)a[p.data[t]]=!0,p=p.parent;if(c.isLeaf||this.checkStrictly){c.setChecked(!0,!1);continue}if(c.setChecked(!0,!0),n){c.setChecked(!1,!1);const f=function(h){h.childNodes.forEach(m=>{m.isLeaf||m.setChecked(!1,!1),f(m)})};f(c)}}}setCheckedNodes(t,n=!1){const o=this.key,r={};t.forEach(a=>{r[(a||{})[o]]=!0}),this._setCheckedKeys(o,n,r)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const o=this.key,r={};t.forEach(a=>{r[a]=!0}),this._setCheckedKeys(o,n,r)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const o=this.getNode(n);o&&o.expand(null,this.autoExpandParent)})}setChecked(t,n,o){const r=this.getNode(t);r&&r.setChecked(!!n,o)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,n=!0){const o=t[this.key],r=this.nodesMap[o];this.setCurrentNode(r),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(t,n=!0){if(t==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const o=this.getNode(t);o&&(this.setCurrentNode(o),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const xU=ee({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=ke("tree"),n=Ie("NodeInstance"),o=Ie("RootTree");return()=>{const r=e.node,{data:a,store:i}=r;return e.renderContent?e.renderContent(Re,{_self:n,node:r,data:a,store:i}):o.ctx.slots.default?o.ctx.slots.default({node:r,data:a}):Re("span",{class:t.be("node","label")},[r.label])}}});var kU=_e(xU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function e1(e){const t=Ie("TreeNodeMap",null),n={treeNodeExpand:o=>{e.node!==o&&e.node.collapse()},children:[]};return t&&t.children.push(n),ot("TreeNodeMap",n),{broadcastExpanded:o=>{if(!!e.accordion)for(const r of n.children)r.treeNodeExpand(o)}}}const t1=Symbol("dragEvents");function TU({props:e,ctx:t,el$:n,dropIndicator$:o,store:r}){const a=ke("tree"),i=A({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return ot(t1,{treeNodeDragStart:({event:d,treeNode:u})=>{if(typeof e.allowDrag=="function"&&!e.allowDrag(u.node))return d.preventDefault(),!1;d.dataTransfer.effectAllowed="move";try{d.dataTransfer.setData("text/plain","")}catch{}i.value.draggingNode=u,t.emit("node-drag-start",u.node,d)},treeNodeDragOver:({event:d,treeNode:u})=>{const p=u,f=i.value.dropNode;f&&f!==p&&hn(f.$el,a.is("drop-inner"));const h=i.value.draggingNode;if(!h||!p)return;let b=!0,m=!0,g=!0,v=!0;typeof e.allowDrop=="function"&&(b=e.allowDrop(h.node,p.node,"prev"),v=m=e.allowDrop(h.node,p.node,"inner"),g=e.allowDrop(h.node,p.node,"next")),d.dataTransfer.dropEffect=m||b||g?"move":"none",(b||m||g)&&f!==p&&(f&&t.emit("node-drag-leave",h.node,f.node,d),t.emit("node-drag-enter",h.node,p.node,d)),(b||m||g)&&(i.value.dropNode=p),p.node.nextSibling===h.node&&(g=!1),p.node.previousSibling===h.node&&(b=!1),p.node.contains(h.node,!1)&&(m=!1),(h.node===p.node||h.node.contains(p.node))&&(b=!1,m=!1,g=!1);const y=p.$el.getBoundingClientRect(),T=n.value.getBoundingClientRect();let x;const k=b?m?.25:g?.45:1:-1,$=g?m?.75:b?.55:0:1;let z=-9999;const P=d.clientY-y.top;Py.height*$?x="after":m?x="inner":x="none";const O=p.$el.querySelector(`.${a.be("node","expand-icon")}`).getBoundingClientRect(),D=o.value;x==="before"?z=O.top-T.top:x==="after"&&(z=O.bottom-T.top),D.style.top=`${z}px`,D.style.left=`${O.right-T.left}px`,x==="inner"?bo(p.$el,a.is("drop-inner")):hn(p.$el,a.is("drop-inner")),i.value.showDropIndicator=x==="before"||x==="after",i.value.allowDrop=i.value.showDropIndicator||v,i.value.dropType=x,t.emit("node-drag-over",h.node,p.node,d)},treeNodeDragEnd:d=>{const{draggingNode:u,dropType:p,dropNode:f}=i.value;if(d.preventDefault(),d.dataTransfer.dropEffect="move",u&&f){const h={data:u.node.data};p!=="none"&&u.node.remove(),p==="before"?f.node.parent.insertBefore(h,f.node):p==="after"?f.node.parent.insertAfter(h,f.node):p==="inner"&&f.node.insertChild(h),p!=="none"&&r.value.registerNode(h),hn(f.$el,a.is("drop-inner")),t.emit("node-drag-end",u.node,f.node,p,d),p!=="none"&&t.emit("node-drop",u.node,f.node,p,d)}u&&!f&&t.emit("node-drag-end",u.node,null,p,d),i.value.showDropIndicator=!1,i.value.draggingNode=null,i.value.dropNode=null,i.value.allowDrop=!0}}),{dragState:i}}const CU=ee({name:"ElTreeNode",components:{ElCollapseTransition:mc,ElCheckbox:lo,NodeContent:kU,ElIcon:qe,Loading:hr},props:{node:{type:Lr,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(e,t){const n=ke("tree"),{broadcastExpanded:o}=e1(e),r=Ie("RootTree"),a=A(!1),i=A(!1),l=A(null),s=A(null),c=A(null),d=Ie(t1),u=nt();ot("NodeInstance",u),e.node.expanded&&(a.value=!0,i.value=!0);const p=r.props.children||"children";ge(()=>{const P=e.node.data[p];return P&&[...P]},()=>{e.node.updateChildren()}),ge(()=>e.node.indeterminate,P=>{b(e.node.checked,P)}),ge(()=>e.node.checked,P=>{b(P,e.node.indeterminate)}),ge(()=>e.node.expanded,P=>{je(()=>a.value=P),P&&(i.value=!0)});const f=P=>Yp(r.props.nodeKey,P.data),h=P=>{const O=e.props.class;if(!O)return{};let D;if(Je(O)){const{data:L}=P;D=O(L,P)}else D=O;return Qe(D)?{[D]:!0}:D},b=(P,O)=>{(l.value!==P||s.value!==O)&&r.ctx.emit("check-change",e.node.data,P,O),l.value=P,s.value=O},m=P=>{const O=r.store.value;O.setCurrentNode(e.node),r.ctx.emit("current-change",O.currentNode?O.currentNode.data:null,O.currentNode),r.currentNode.value=e.node,r.props.expandOnClickNode&&v(),r.props.checkOnClickNode&&!e.node.disabled&&y(null,{target:{checked:!e.node.checked}}),r.ctx.emit("node-click",e.node.data,e.node,u,P)},g=P=>{r.instance.vnode.props.onNodeContextmenu&&(P.stopPropagation(),P.preventDefault()),r.ctx.emit("node-contextmenu",P,e.node.data,e.node,u)},v=()=>{e.node.isLeaf||(a.value?(r.ctx.emit("node-collapse",e.node.data,e.node,u),e.node.collapse()):(e.node.expand(),t.emit("node-expand",e.node.data,e.node,u)))},y=(P,O)=>{e.node.setChecked(O.target.checked,!r.props.checkStrictly),je(()=>{const D=r.store.value;r.ctx.emit("check",e.node.data,{checkedNodes:D.getCheckedNodes(),checkedKeys:D.getCheckedKeys(),halfCheckedNodes:D.getHalfCheckedNodes(),halfCheckedKeys:D.getHalfCheckedKeys()})})};return{ns:n,node$:c,tree:r,expanded:a,childNodeRendered:i,oldChecked:l,oldIndeterminate:s,getNodeKey:f,getNodeClass:h,handleSelectChange:b,handleClick:m,handleContextMenu:g,handleExpandIconClick:v,handleCheckChange:y,handleChildNodeExpand:(P,O,D)=>{o(O),r.ctx.emit("node-expand",P,O,D)},handleDragStart:P=>{!r.props.draggable||d.treeNodeDragStart({event:P,treeNode:e})},handleDragOver:P=>{P.preventDefault(),r.props.draggable&&d.treeNodeDragOver({event:P,treeNode:{$el:c.value,node:e.node}})},handleDrop:P=>{P.preventDefault()},handleDragEnd:P=>{!r.props.draggable||d.treeNodeDragEnd(P)},CaretRight:Yv}}}),SU=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],$U=["aria-expanded"];function AU(e,t,n,o,r,a){const i=le("el-icon"),l=le("el-checkbox"),s=le("loading"),c=le("node-content"),d=le("el-tree-node"),u=le("el-collapse-transition");return Ue((w(),I("div",{ref:"node$",class:S([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:t[1]||(t[1]=He((...p)=>e.handleClick&&e.handleClick(...p),["stop"])),onContextmenu:t[2]||(t[2]=(...p)=>e.handleContextMenu&&e.handleContextMenu(...p)),onDragstart:t[3]||(t[3]=He((...p)=>e.handleDragStart&&e.handleDragStart(...p),["stop"])),onDragover:t[4]||(t[4]=He((...p)=>e.handleDragOver&&e.handleDragOver(...p),["stop"])),onDragend:t[5]||(t[5]=He((...p)=>e.handleDragEnd&&e.handleDragEnd(...p),["stop"])),onDrop:t[6]||(t[6]=He((...p)=>e.handleDrop&&e.handleDrop(...p),["stop"]))},[R("div",{class:S(e.ns.be("node","content")),style:Oe({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(w(),Q(i,{key:0,class:S([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:He(e.handleExpandIconClick,["stop"])},{default:K(()=>[(w(),Q(pt(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):G("v-if",!0),e.showCheckbox?(w(),Q(l,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=He(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):G("v-if",!0),e.node.loading?(w(),Q(i,{key:2,class:S([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:K(()=>[U(s)]),_:1},8,["class"])):G("v-if",!0),U(c,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),U(u,null,{default:K(()=>[!e.renderAfterExpand||e.childNodeRendered?Ue((w(),I("div",{key:0,class:S(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded},[(w(!0),I(Fe,null,st(e.node.childNodes,p=>(w(),Q(d,{key:e.getNodeKey(p),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:p,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,$U)),[[ft,e.expanded]]):G("v-if",!0)]),_:1})],42,SU)),[[ft,e.node.visible]])}var EU=_e(CU,[["render",AU],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function zU({el$:e},t){const n=ke("tree"),o=Kt([]),r=Kt([]);et(()=>{i(),At(e.value,"keydown",a)}),$t(()=>{Bt(e.value,"keydown",a)}),Un(()=>{o.value=Array.from(e.value.querySelectorAll("[role=treeitem]")),r.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"))}),ge(r,l=>{l.forEach(s=>{s.setAttribute("tabindex","-1")})});const a=l=>{const s=l.target;if(!s.className.includes(n.b("node")))return;const c=l.code;o.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));const d=o.value.indexOf(s);let u;if([Pe.up,Pe.down].includes(c)){if(l.preventDefault(),c===Pe.up){u=d===-1?0:d!==0?d-1:o.value.length-1;const f=u;for(;!t.value.getNode(o.value[u].dataset.key).canFocus;){if(u--,u===f){u=-1;break}u<0&&(u=o.value.length-1)}}else{u=d===-1?0:d=o.value.length&&(u=0)}}u!==-1&&o.value[u].focus()}[Pe.left,Pe.right].includes(c)&&(l.preventDefault(),s.click());const p=s.querySelector('[type="checkbox"]');[Pe.enter,Pe.space].includes(c)&&p&&(l.preventDefault(),p.click())},i=()=>{var l;o.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),r.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"));const s=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(s.length){s[0].setAttribute("tabindex","0");return}(l=o.value[0])==null||l.setAttribute("tabindex","0")}}const IU=ee({name:"ElTree",components:{ElTreeNode:EU},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:[String,Object]},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=Tt(),o=ke("tree"),r=A(new wU({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));r.value.initialize();const a=A(r.value.root),i=A(null),l=A(null),s=A(null),{broadcastExpanded:c}=e1(e),{dragState:d}=TU({props:e,ctx:t,el$:l,dropIndicator$:s,store:r});zU({el$:l},r);const u=C(()=>{const{childNodes:E}=a.value;return!E||E.length===0||E.every(({visible:N})=>!N)});ge(()=>e.defaultCheckedKeys,E=>{r.value.setDefaultCheckedKey(E)}),ge(()=>e.defaultExpandedKeys,E=>{r.value.setDefaultExpandedKeys(E)}),ge(()=>e.data,E=>{r.value.setData(E)},{deep:!0}),ge(()=>e.checkStrictly,E=>{r.value.checkStrictly=E});const p=E=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");r.value.filter(E)},f=E=>Yp(e.nodeKey,E.data),h=E=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const N=r.value.getNode(E);if(!N)return[];const W=[N.data];let Y=N.parent;for(;Y&&Y!==a.value;)W.push(Y.data),Y=Y.parent;return W.reverse()},b=(E,N)=>r.value.getCheckedNodes(E,N),m=E=>r.value.getCheckedKeys(E),g=()=>{const E=r.value.getCurrentNode();return E?E.data:null},v=()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const E=g();return E?E[e.nodeKey]:null},y=(E,N)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");r.value.setCheckedNodes(E,N)},T=(E,N)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");r.value.setCheckedKeys(E,N)},x=(E,N,W)=>{r.value.setChecked(E,N,W)},k=()=>r.value.getHalfCheckedNodes(),$=()=>r.value.getHalfCheckedKeys(),z=(E,N=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");r.value.setUserCurrentNode(E,N)},P=(E,N=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");r.value.setCurrentNodeKey(E,N)},O=E=>r.value.getNode(E),D=E=>{r.value.remove(E)},L=(E,N)=>{r.value.append(E,N)},F=(E,N)=>{r.value.insertBefore(E,N)},V=(E,N)=>{r.value.insertAfter(E,N)},q=(E,N,W)=>{c(N),t.emit("node-expand",E,N,W)},M=(E,N)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");r.value.updateChildren(E,N)};return ot("RootTree",{ctx:t,props:e,store:r,root:a,currentNode:i,instance:nt()}),{ns:o,store:r,root:a,currentNode:i,dragState:d,el$:l,dropIndicator$:s,isEmpty:u,filter:p,getNodeKey:f,getNodePath:h,getCheckedNodes:b,getCheckedKeys:m,getCurrentNode:g,getCurrentKey:v,setCheckedNodes:y,setCheckedKeys:T,setChecked:x,getHalfCheckedNodes:k,getHalfCheckedKeys:$,setCurrentNode:z,setCurrentKey:P,t:n,getNode:O,remove:D,append:L,insertBefore:F,insertAfter:V,handleNodeExpand:q,updateKeyChildren:M}}});function NU(e,t,n,o,r,a){var i;const l=le("el-tree-node");return w(),I("div",{ref:"el$",class:S([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(w(!0),I(Fe,null,st(e.root.childNodes,s=>(w(),Q(l,{key:e.getNodeKey(s),node:s,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(w(),I("div",{key:0,class:S(e.ns.e("empty-block"))},[R("span",{class:S(e.ns.e("empty-text"))},ve((i=e.emptyText)!=null?i:e.t("el.tree.emptyText")),3)],2)):G("v-if",!0),Ue(R("div",{ref:"dropIndicator$",class:S(e.ns.e("drop-indicator"))},null,2),[[ft,e.dragState.showDropIndicator]])],2)}var cs=_e(IU,[["render",NU],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);cs.install=e=>{e.component(cs.name,cs)};const Ps=cs,MU=Ps,RU=(e,{attrs:t},{tree:n,key:o})=>{const r=ke("tree-select"),a=ze(he(he({},rr(Gt(e),Object.keys(qr.props))),t),{valueKey:o,popperClass:C(()=>{const i=[r.e("popper")];return e.popperClass&&i.push(e.popperClass),i.join(" ")}),filterMethod:(i="")=>{e.filterMethod&&e.filterMethod(i),je(()=>{var l;(l=n.value)==null||l.filter(i)})},onVisibleChange:i=>{var l;(l=t.onVisibleChange)==null||l.call(t,i),e.filterable&&i&&a.filterMethod()}});return a},PU=ee({extends:zs,setup(e,t){const n=zs.setup(e,t);return delete n.selectOptionClick,n},methods:{selectOptionClick(){this.$el.parentElement.click()}}}),OU=(e,{attrs:t,slots:n,emit:o},{select:r,tree:a,key:i})=>{ge(()=>e.modelValue,()=>{e.showCheckbox&&je(()=>{const c=a.value;c&&!En(c.getCheckedKeys(),ed(e.modelValue))&&c.setCheckedKeys(ed(e.modelValue))})},{immediate:!0,deep:!0});const l=C(()=>he({value:i.value},e.props)),s=(c,d)=>{var u;const p=l.value[c];return Je(p)?p(d,(u=a.value)==null?void 0:u.getNode(s("value",d))):d[p]};return ze(he(he({},rr(Gt(e),Object.keys(Ps.props))),t),{nodeKey:i,defaultExpandedKeys:C(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(e.modelValue):ed(e.modelValue)),renderContent:(c,{node:d,data:u,store:p})=>c(PU,{value:s("value",u),label:s("label",u),disabled:s("disabled",u)},e.renderContent?()=>e.renderContent(c,{node:d,data:u,store:p}):n.default?()=>n.default({node:d,data:u,store:p}):void 0),filterNodeMethod:(c,d,u)=>{var p;return e.filterNodeMethod?e.filterNodeMethod(c,d,u):c?(p=s("label",d))==null?void 0:p.includes(c):!0},onNodeClick:(c,d,u)=>{var p,f,h;if((p=t.onNodeClick)==null||p.call(t,c,d,u),e.checkStrictly||d.isLeaf){if(!s("disabled",c)){const b=(f=r.value)==null?void 0:f.options.get(s("value",c));(h=r.value)==null||h.handleOptionSelect(b,!0)}}else u.ctx.handleExpandIconClick()},onCheck:(c,d)=>{var u,p;(u=t.onCheck)==null||u.call(t,c,d);const f=e.checkStrictly?d.checkedKeys:(p=a.value)==null?void 0:p.getCheckedKeys(!0),h=s("value",c);o(tt,e.multiple?f:f.includes(h)?h:void 0)}})};function ed(e){return Array.isArray(e)?e:e||e===0?[e]:[]}const FU=ee({name:"ElTreeSelect",props:he(he({},qr.props),Ps.props),setup(e,t){const{slots:n,expose:o}=t,r=A(),a=A(),i=C(()=>e.valueKey||e.nodeKey||"value"),l=RU(e,t,{select:r,tree:a,key:i}),s=OU(e,t,{select:r,tree:a,key:i}),c=vt({});return o(c),et(()=>{Object.assign(c,he(he({},rr(a.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"])),rr(r.value,["focus","blur"])))}),()=>Re(qr,vt(ze(he({},l),{ref:d=>r.value=d})),ze(he({},n),{default:()=>Re(Ps,vt(ze(he({},s),{ref:d=>a.value=d})))}))}});var ds=_e(FU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-select/src/tree-select.vue"]]);ds.install=e=>{e.component(ds.name,ds)};const DU=ds,LU=DU,Gp=Symbol(),VU={key:-1,level:-1,data:{}};var si=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e))(si||{}),du=(e=>(e.ADD="add",e.DELETE="delete",e))(du||{});const BU=Le({data:{type:Te(Array),default:()=>Ft([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:Te(Object),default:()=>Ft({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:Te(Array),default:()=>Ft([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:Te(Array),default:()=>Ft([])},indent:{type:Number,default:16},icon:{type:String},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:Te([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:Te(Function)},perfMode:{type:Boolean,default:!0}}),jU=Le({node:{type:Te(Object),default:()=>Ft(VU)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1}}),HU=Le({node:{type:Te(Object),required:!0}}),n1="node-click",o1="node-expand",r1="node-collapse",a1="current-change",i1="check",l1="check-change",s1="node-contextmenu",qU={[n1]:(e,t,n)=>e&&t&&n,[o1]:(e,t)=>e&&t,[r1]:(e,t)=>e&&t,[a1]:(e,t)=>e&&t,[i1]:(e,t)=>e&&t,[l1]:(e,t)=>e&&typeof t=="boolean",[s1]:(e,t,n)=>e&&t&&n},KU={click:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&typeof t=="boolean"};function WU(e,t){const n=A(new Set),o=A(new Set),{emit:r}=nt();ge(()=>t.value,()=>je(()=>{v(e.defaultCheckedKeys)}),{immediate:!0});const a=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:y,maxLevel:T}=t.value,x=n.value,k=new Set;for(let $=T-1;$>=1;--$){const z=y.get($);!z||z.forEach(P=>{const O=P.children;if(O){let D=!0,L=!1;for(const F of O){const V=F.key;if(x.has(V))L=!0;else if(k.has(V)){D=!1,L=!0;break}else D=!1}D?x.add(P.key):L?(k.add(P.key),x.delete(P.key)):(x.delete(P.key),k.delete(P.key))}})}o.value=k},i=y=>n.value.has(y.key),l=y=>o.value.has(y.key),s=(y,T,x=!0)=>{const k=n.value,$=(z,P)=>{k[P?du.ADD:du.DELETE](z.key);const O=z.children;!e.checkStrictly&&O&&O.forEach(D=>{D.disabled||$(D,P)})};$(y,T),a(),x&&c(y,T)},c=(y,T)=>{const{checkedNodes:x,checkedKeys:k}=h(),{halfCheckedNodes:$,halfCheckedKeys:z}=b();r(i1,y.data,{checkedKeys:k,checkedNodes:x,halfCheckedKeys:z,halfCheckedNodes:$}),r(l1,y.data,T)};function d(y=!1){return h(y).checkedKeys}function u(y=!1){return h(y).checkedNodes}function p(){return b().halfCheckedKeys}function f(){return b().halfCheckedNodes}function h(y=!1){const T=[],x=[];if((t==null?void 0:t.value)&&e.showCheckbox){const{treeNodeMap:k}=t.value;n.value.forEach($=>{const z=k.get($);z&&(!y||y&&z.isLeaf)&&(x.push($),T.push(z.data))})}return{checkedKeys:x,checkedNodes:T}}function b(){const y=[],T=[];if((t==null?void 0:t.value)&&e.showCheckbox){const{treeNodeMap:x}=t.value;o.value.forEach(k=>{const $=x.get(k);$&&(T.push(k),y.push($.data))})}return{halfCheckedNodes:y,halfCheckedKeys:T}}function m(y){n.value.clear(),o.value.clear(),v(y)}function g(y,T){if((t==null?void 0:t.value)&&e.showCheckbox){const x=t.value.treeNodeMap.get(y);x&&s(x,T,!1)}}function v(y){if(t!=null&&t.value){const{treeNodeMap:T}=t.value;if(e.showCheckbox&&T&&y)for(const x of y){const k=T.get(x);k&&!i(k)&&s(k,!0,!1)}}}return{updateCheckedKeys:a,toggleCheckbox:s,isChecked:i,isIndeterminate:l,getCheckedKeys:d,getCheckedNodes:u,getHalfCheckedKeys:p,getHalfCheckedNodes:f,setChecked:g,setCheckedKeys:m}}function UU(e,t){const n=A(new Set([])),o=A(new Set([])),r=C(()=>Je(e.filterMethod));function a(l){var s;if(!r.value)return;const c=new Set,d=o.value,u=n.value,p=[],f=((s=t.value)==null?void 0:s.treeNodes)||[],h=e.filterMethod;u.clear();function b(m){m.forEach(g=>{p.push(g),h!=null&&h(l,g.data)?p.forEach(y=>{c.add(y.key)}):g.isLeaf&&u.add(g.key);const v=g.children;if(v&&b(v),!g.isLeaf){if(!c.has(g.key))u.add(g.key);else if(v){let y=!0;for(const T of v)if(!u.has(T.key)){y=!1;break}y?d.add(g.key):d.delete(g.key)}}p.pop()})}return b(f),c}function i(l){return o.value.has(l.key)}return{hiddenExpandIconKeySet:o,hiddenNodeKeySet:n,doFilter:a,isForceHiddenExpandIcon:i}}function YU(e,t){const n=A(new Set(e.defaultExpandedKeys)),o=A(),r=Kt();ge(()=>e.currentNodeKey,H=>{o.value=H},{immediate:!0}),ge(()=>e.data,H=>{oe(H)},{immediate:!0});const{isIndeterminate:a,isChecked:i,toggleCheckbox:l,getCheckedKeys:s,getCheckedNodes:c,getHalfCheckedKeys:d,getHalfCheckedNodes:u,setChecked:p,setCheckedKeys:f}=WU(e,r),{doFilter:h,hiddenNodeKeySet:b,isForceHiddenExpandIcon:m}=UU(e,r),g=C(()=>{var H;return((H=e.props)==null?void 0:H.value)||si.KEY}),v=C(()=>{var H;return((H=e.props)==null?void 0:H.children)||si.CHILDREN}),y=C(()=>{var H;return((H=e.props)==null?void 0:H.disabled)||si.DISABLED}),T=C(()=>{var H;return((H=e.props)==null?void 0:H.label)||si.LABEL}),x=C(()=>{const H=n.value,ne=b.value,ie=[],be=r.value&&r.value.treeNodes||[];function $e(){const Ne=[];for(let Me=be.length-1;Me>=0;--Me)Ne.push(be[Me]);for(;Ne.length;){const Me=Ne.pop();if(!!Me&&(ne.has(Me.key)||ie.push(Me),H.has(Me.key))){const j=Me.children;if(j){const X=j.length;for(let de=X-1;de>=0;--de)Ne.push(j[de])}}}}return $e(),ie}),k=C(()=>x.value.length>0);function $(H){const ne=new Map,ie=new Map;let be=1;function $e(Me,j=1,X=void 0){var de;const xe=[];for(const we of Me){const Ae=O(we),ce={level:j,key:Ae,data:we};ce.label=L(we),ce.parent=X;const ae=P(we);ce.disabled=D(we),ce.isLeaf=!ae||ae.length===0,ae&&ae.length&&(ce.children=$e(ae,j+1,ce)),xe.push(ce),ne.set(Ae,ce),ie.has(j)||ie.set(j,[]),(de=ie.get(j))==null||de.push(ce)}return j>be&&(be=j),xe}const Ne=$e(H);return{treeNodeMap:ne,levelTreeNodeMap:ie,maxLevel:be,treeNodes:Ne}}function z(H){const ne=h(H);ne&&(n.value=ne)}function P(H){return H[v.value]}function O(H){return H?H[g.value]:""}function D(H){return H[y.value]}function L(H){return H[T.value]}function F(H){n.value.has(H.key)?N(H):E(H)}function V(H,ne){t(n1,H.data,H,ne),q(H),e.expandOnClickNode&&F(H),e.showCheckbox&&e.checkOnClickNode&&!H.disabled&&l(H,!i(H),!0)}function q(H){J(H)||(o.value=H.key,t(a1,H.data,H))}function M(H,ne){l(H,ne)}function E(H){const ne=n.value;if((r==null?void 0:r.value)&&e.accordion){const{treeNodeMap:ie}=r.value;ne.forEach(be=>{const $e=ie.get(be);$e&&$e.level===$e.level&&ne.delete(be)})}ne.add(H.key),t(o1,H.data,H)}function N(H){n.value.delete(H.key),t(r1,H.data,H)}function W(H){return n.value.has(H.key)}function Y(H){return!!H.disabled}function J(H){const ne=o.value;return!!ne&&ne===H.key}function Z(){var H,ne;if(!!o.value)return(ne=(H=r==null?void 0:r.value)==null?void 0:H.treeNodeMap.get(o.value))==null?void 0:ne.data}function se(){return o.value}function Se(H){o.value=H}function oe(H){je(()=>r.value=$(H))}return{tree:r,flattenTree:x,isNotEmpty:k,getKey:O,getChildren:P,toggleExpand:F,toggleCheckbox:l,isExpanded:W,isChecked:i,isIndeterminate:a,isDisabled:Y,isCurrent:J,isForceHiddenExpandIcon:m,handleNodeClick:V,handleNodeCheck:M,getCurrentNode:Z,getCurrentKey:se,setCurrentKey:Se,getCheckedKeys:s,getCheckedNodes:c,getHalfCheckedKeys:d,getHalfCheckedNodes:u,setChecked:p,setCheckedKeys:f,filter:z,setData:oe}}var GU=ee({name:"ElTreeNodeContent",props:HU,setup(e){const t=Ie(Gp),n=ke("tree");return()=>{const o=e.node,{data:r}=o;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:o,data:r}):Re("span",{class:n.be("node","label")},[o==null?void 0:o.label])}}});const XU="caret-right",ZU=ee({name:"ElTreeNode",components:{ElIcon:qe,CaretRight:Yv,ElCheckbox:lo,ElNodeContent:GU},props:jU,emits:KU,setup(e,{emit:t}){const n=Ie(Gp),o=ke("tree"),r=C(()=>{var d;return(d=n==null?void 0:n.props.indent)!=null?d:16}),a=C(()=>{var d;return(d=n==null?void 0:n.props.icon)!=null?d:XU});return{ns:o,indent:r,icon:a,handleClick:d=>{t("click",e.node,d)},handleExpandIconClick:()=>{t("toggle",e.node)},handleCheckChange:d=>{t("check",e.node,d)},handleContextMenu:d=>{var u,p,f,h;(f=(p=(u=n==null?void 0:n.instance)==null?void 0:u.vnode)==null?void 0:p.props)!=null&&f.onNodeContextmenu&&(d.stopPropagation(),d.preventDefault()),n==null||n.ctx.emit(s1,d,(h=e.node)==null?void 0:h.data,e.node)}}}}),JU=["aria-expanded","aria-disabled","aria-checked","data-key"];function QU(e,t,n,o,r,a){var i,l,s;const c=le("el-icon"),d=le("el-checkbox"),u=le("el-node-content");return w(),I("div",{ref:"node$",class:S([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.current),e.ns.is("focusable",!e.disabled),e.ns.is("checked",!e.disabled&&e.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.disabled,"aria-checked":e.checked,"data-key":(i=e.node)==null?void 0:i.key,onClick:t[1]||(t[1]=He((...p)=>e.handleClick&&e.handleClick(...p),["stop"])),onContextmenu:t[2]||(t[2]=(...p)=>e.handleContextMenu&&e.handleContextMenu(...p))},[R("div",{class:S(e.ns.be("node","content")),style:Oe({paddingLeft:`${(e.node.level-1)*e.indent}px`})},[e.icon?(w(),Q(c,{key:0,class:S([e.ns.is("leaf",!!((l=e.node)!=null&&l.isLeaf)),e.ns.is("hidden",e.hiddenExpandIcon),{expanded:!((s=e.node)!=null&&s.isLeaf)&&e.expanded},e.ns.be("node","expand-icon")]),onClick:He(e.handleExpandIconClick,["stop"])},{default:K(()=>[(w(),Q(pt(e.icon)))]),_:1},8,["class","onClick"])):G("v-if",!0),e.showCheckbox?(w(),Q(d,{key:1,"model-value":e.checked,indeterminate:e.indeterminate,disabled:e.disabled,onChange:e.handleCheckChange,onClick:t[0]||(t[0]=He(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled","onChange"])):G("v-if",!0),U(u,{node:e.node},null,8,["node"])],6)],42,JU)}var eY=_e(ZU,[["render",QU],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const tY=ee({name:"ElTreeV2",components:{ElTreeNode:eY,FixedSizeList:R_},props:BU,emits:qU,setup(e,t){ot(Gp,{ctx:t,props:e,instance:nt()});const{t:n}=Tt(),o=ke("tree"),{flattenTree:r,isNotEmpty:a,toggleExpand:i,isExpanded:l,isIndeterminate:s,isChecked:c,isDisabled:d,isCurrent:u,isForceHiddenExpandIcon:p,toggleCheckbox:f,handleNodeClick:h,handleNodeCheck:b,getCurrentNode:m,getCurrentKey:g,setCurrentKey:v,getCheckedKeys:y,getCheckedNodes:T,getHalfCheckedKeys:x,getHalfCheckedNodes:k,setChecked:$,setCheckedKeys:z,filter:P,setData:O}=YU(e,t.emit);return t.expose({getCurrentNode:m,getCurrentKey:g,setCurrentKey:v,getCheckedKeys:y,getCheckedNodes:T,getHalfCheckedKeys:x,getHalfCheckedNodes:k,setChecked:$,setCheckedKeys:z,filter:P,setData:O}),{t:n,ns:o,flattenTree:r,itemSize:26,isNotEmpty:a,toggleExpand:i,toggleCheckbox:f,isExpanded:l,isIndeterminate:s,isChecked:c,isDisabled:d,isCurrent:u,isForceHiddenExpandIcon:p,handleNodeClick:h,handleNodeCheck:b}}});function nY(e,t,n,o,r,a){var i;const l=le("el-tree-node"),s=le("fixed-size-list");return w(),I("div",{class:S([e.ns.b(),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[e.isNotEmpty?(w(),Q(s,{key:0,"class-name":e.ns.b("virtual-list"),data:e.flattenTree,total:e.flattenTree.length,height:e.height,"item-size":e.itemSize,"perf-mode":e.perfMode},{default:K(({data:c,index:d,style:u})=>[(w(),Q(l,{key:c[d].key,style:Oe(u),node:c[d],expanded:e.isExpanded(c[d]),"show-checkbox":e.showCheckbox,checked:e.isChecked(c[d]),indeterminate:e.isIndeterminate(c[d]),disabled:e.isDisabled(c[d]),current:e.isCurrent(c[d]),"hidden-expand-icon":e.isForceHiddenExpandIcon(c[d]),onClick:e.handleNodeClick,onToggle:e.toggleExpand,onCheck:e.handleNodeCheck},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(w(),I("div",{key:1,class:S(e.ns.e("empty-block"))},[R("span",{class:S(e.ns.e("empty-text"))},ve((i=e.emptyText)!=null?i:e.t("el.tree.emptyText")),3)],2))],2)}var oY=_e(tY,[["render",nY],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree.vue"]]);const rY=rt(oY),aY="ElUpload";class iY extends Error{constructor(t,n,o,r){super(t),this.name="UploadAjaxError",this.status=n,this.method=o,this.url=r}}function zg(e,t,n){let o;return n.response?o=`${n.response.error||n.response}`:n.responseText?o=`${n.responseText}`:o=`fail to ${t.method} ${e} ${n.status}`,new iY(o,n.status,t.method,e)}function lY(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const sY=e=>{typeof XMLHttpRequest=="undefined"&&Wt(aY,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",a=>{const i=a;i.percent=a.total>0?a.loaded/a.total*100:0,e.onProgress(i)});const o=new FormData;if(e.data)for(const[a,i]of Object.entries(e.data))Array.isArray(i)?o.append(a,...i):o.append(a,i);o.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(zg(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(zg(n,e,t));e.onSuccess(lY(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const r=e.headers||{};if(r instanceof Headers)r.forEach((a,i)=>t.setRequestHeader(i,a));else for(const[a,i]of Object.entries(r))np(i)||t.setRequestHeader(a,String(i));return t.send(o),t},c1=["text","picture","picture-card"];let cY=1;const d1=()=>Date.now()+cY++,u1=Le({action:{type:String,required:!0},headers:{type:Te(Object)},method:{type:String,default:"post"},data:{type:Object,default:()=>Ft({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},type:{type:String,default:"select"},fileList:{type:Te(Array),default:()=>Ft([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:c1,default:"text"},httpRequest:{type:Te(Function),default:sY},disabled:Boolean,limit:Number}),dY=Le(ze(he({},u1),{beforeUpload:{type:Te(Function),default:wt},beforeRemove:{type:Te(Function)},onRemove:{type:Te(Function),default:wt},onChange:{type:Te(Function),default:wt},onPreview:{type:Te(Function),default:wt},onSuccess:{type:Te(Function),default:wt},onProgress:{type:Te(Function),default:wt},onError:{type:Te(Function),default:wt},onExceed:{type:Te(Function),default:wt}})),uY=Le({files:{type:Te(Array),default:()=>Ft([])},disabled:{type:Boolean,default:!1},handlePreview:{type:Te(Function),default:wt},listType:{type:String,values:c1,default:"text"}}),pY={remove:e=>!!e},fY=["onKeydown"],hY=["src"],mY=["onClick"],gY=["onClick"],bY=["onClick"],vY={name:"ElUploadList"},yY=ee(ze(he({},vY),{props:uY,emits:pY,setup(e,{emit:t}){const n=e,{t:o}=Tt(),r=ke("upload"),a=ke("icon"),i=ke("list"),l=A(!1),s=u=>{n.handlePreview(u)},c=u=>{u.target.focus()},d=u=>{t("remove",u)};return(u,p)=>(w(),Q(Lx,{tag:"ul",class:S([_(r).b("list"),_(r).bm("list",u.listType),_(r).is("disabled",u.disabled)]),name:_(i).b()},{default:K(()=>[(w(!0),I(Fe,null,st(u.files,f=>(w(),I("li",{key:f.uid||f.name,class:S([_(r).be("list","item"),_(r).is(f.status),{focusing:l.value}]),tabindex:"0",onKeydown:lt(h=>!u.disabled&&d(f),["delete"]),onFocus:p[0]||(p[0]=h=>l.value=!0),onBlur:p[1]||(p[1]=h=>l.value=!1),onClick:c},[ue(u.$slots,"default",{file:f},()=>[u.listType==="picture"||f.status!=="uploading"&&u.listType==="picture-card"?(w(),I("img",{key:0,class:S(_(r).be("list","item-thumbnail")),src:f.url,alt:""},null,10,hY)):G("v-if",!0),u.listType!=="picture"&&(f.status==="uploading"||u.listType!=="picture-card")?(w(),I("div",{key:1,class:S(_(r).be("list","item-info"))},[R("a",{class:S(_(r).be("list","item-name")),onClick:h=>s(f)},[U(_(qe),{class:S(_(a).m("document"))},{default:K(()=>[U(_(uE))]),_:1},8,["class"]),ct(" "+ve(f.name),1)],10,mY),f.status==="uploading"?(w(),Q(_(k_),{key:0,type:u.listType==="picture-card"?"circle":"line","stroke-width":u.listType==="picture-card"?6:2,percentage:Number(f.percentage),style:Oe(u.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):G("v-if",!0)],2)):G("v-if",!0),R("label",{class:S(_(r).be("list","item-status-label"))},[u.listType==="text"?(w(),Q(_(qe),{key:0,class:S([_(a).m("upload-success"),_(a).m("circle-check")])},{default:K(()=>[U(_(Ss))]),_:1},8,["class"])):["picture-card","picture"].includes(u.listType)?(w(),Q(_(qe),{key:1,class:S([_(a).m("upload-success"),_(a).m("check")])},{default:K(()=>[U(_(Ca))]),_:1},8,["class"])):G("v-if",!0)],2),u.disabled?G("v-if",!0):(w(),Q(_(qe),{key:2,class:S(_(a).m("close")),onClick:h=>d(f)},{default:K(()=>[U(_(Hn))]),_:2},1032,["class","onClick"])),G(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),G(" This is a bug which needs to be fixed "),G(" TODO: Fix the incorrect navigation interaction "),u.disabled?G("v-if",!0):(w(),I("i",{key:3,class:S(_(a).m("close-tip"))},ve(_(o)("el.upload.deleteTip")),3)),u.listType==="picture-card"?(w(),I("span",{key:4,class:S(_(r).be("list","item-actions"))},[R("span",{class:S(_(r).be("list","item-preview")),onClick:h=>u.handlePreview(f)},[U(_(qe),{class:S(_(a).m("zoom-in"))},{default:K(()=>[U(_(Jv))]),_:1},8,["class"])],10,gY),u.disabled?G("v-if",!0):(w(),I("span",{key:0,class:S(_(r).be("list","item-delete")),onClick:h=>d(f)},[U(_(qe),{class:S(_(a).m("delete"))},{default:K(()=>[U(_(aE))]),_:1},8,["class"])],10,bY))],2)):G("v-if",!0)])],42,fY))),128)),ue(u.$slots,"append")]),_:3},8,["class","name"]))}}));var Ig=_e(yY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const _Y=Le({disabled:{type:Boolean,default:!1}}),wY={file:e=>Ye(e)},xY=["onDrop","onDragover"],kY={name:"ElUploadDrag"},TY=ee(ze(he({},kY),{props:_Y,emits:wY,setup(e,{emit:t}){const n=e,o="ElUploadDrag",r=Ie(gy);r||Wt(o,"usage: ");const a=ke("upload"),i=A(!1),l=c=>{if(n.disabled)return;i.value=!1;const d=Array.from(c.dataTransfer.files),u=r.accept.value;if(!u){t("file",d);return}const p=d.filter(f=>{const{type:h,name:b}=f,m=b.includes(".")?`.${b.split(".").pop()}`:"",g=h.replace(/\/.*$/,"");return u.split(",").map(v=>v.trim()).filter(v=>v).some(v=>v.startsWith(".")?m===v:/\/\*$/.test(v)?g===v.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(v)?h===v:!1)});t("file",p)},s=()=>{n.disabled||(i.value=!0)};return(c,d)=>(w(),I("div",{class:S([_(a).b("dragger"),_(a).is("dragover",i.value)]),onDrop:He(l,["prevent"]),onDragover:He(s,["prevent"]),onDragleave:d[0]||(d[0]=He(u=>i.value=!1,["prevent"]))},[ue(c.$slots,"default")],42,xY))}}));var CY=_e(TY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const SY=Le(ze(he({},u1),{fileList:{type:Te(Array),default:()=>Ft([])},beforeUpload:{type:Te(Function),default:wt},onRemove:{type:Te(Function),default:wt},onStart:{type:Te(Function),default:wt},onSuccess:{type:Te(Function),default:wt},onProgress:{type:Te(Function),default:wt},onError:{type:Te(Function),default:wt},onExceed:{type:Te(Function),default:wt}})),$Y=["onKeydown"],AY=["name","multiple","accept"],EY={name:"ElUploadContent",inheritAttrs:!1},zY=ee(ze(he({},EY),{props:SY,setup(e,{expose:t}){const n=e,o=ke("upload"),r=Kt({}),a=Kt(),i=f=>{if(f.length===0)return;const{autoUpload:h,limit:b,fileList:m,multiple:g,onStart:v,onExceed:y}=n;if(b&&m.length+f.length>b){y(f,m);return}g||(f=f.slice(0,1));for(const T of f){const x=T;x.uid=d1(),v(x),h&&l(x)}},l=async f=>{if(a.value.value="",!n.beforeUpload)return s(f);let h;try{h=await n.beforeUpload(f)}catch{h=!1}if(h===!1){n.onRemove(f);return}let b=f;if(h instanceof Blob){h instanceof File?b=h:b=new File([h],f.name,{type:f.type});for(const m of Object.keys(f))b[m]=f[m]}s(f)},s=f=>{const{headers:h,data:b,method:m,withCredentials:g,name:v,action:y,onProgress:T,onSuccess:x,onError:k,httpRequest:$}=n,{uid:z}=f,P={headers:h||{},withCredentials:g,file:f,data:b,method:m,filename:v,action:y,onProgress:D=>{T(D,f)},onSuccess:D=>{x(D,f),delete r.value[z]},onError:D=>{k(D,f),delete r.value[z]}},O=$(P);r.value[z]=O,O instanceof Promise&&O.then(P.onSuccess,P.onError)},c=f=>{const h=f.target.files;!h||i(Array.from(h))},d=()=>{n.disabled||(a.value.value="",a.value.click())},u=()=>{d()};return t({abort:f=>{u$(r.value).filter(f?([b])=>String(f.uid)===b:()=>!0).forEach(([b,m])=>{m instanceof XMLHttpRequest&&m.abort(),delete r.value[b]})},upload:l}),(f,h)=>(w(),I("div",{class:S([_(o).b(),_(o).m(f.listType)]),tabindex:"0",onClick:d,onKeydown:lt(He(u,["self"]),["enter","space"])},[f.drag?(w(),Q(CY,{key:0,disabled:f.disabled,onFile:i},{default:K(()=>[ue(f.$slots,"default")]),_:3},8,["disabled"])):ue(f.$slots,"default",{key:1}),R("input",{ref_key:"inputRef",ref:a,class:S(_(o).e("input")),name:f.name,multiple:f.multiple,accept:f.accept,type:"file",onChange:c},null,42,AY)],42,$Y))}}));var Ng=_e(zY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const td="ElUpload",IY=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},NY=(e,t)=>{const n=A([]),o=p=>n.value.find(f=>f.uid===p.uid);function r(p){var f;(f=t.value)==null||f.abort(p)}function a(p=["ready","uploading","success","fail"]){n.value=n.value.filter(f=>!p.includes(f.status))}const i=(p,f)=>{const h=o(f);!h||(h.status="fail",n.value.splice(n.value.indexOf(h),1),e.onError(p,h,n.value),e.onChange(h,n.value))},l=(p,f)=>{const h=o(f);!h||(e.onProgress(p,h,n.value),h.status="uploading",h.percentage=Math.round(p.percent))},s=(p,f)=>{const h=o(f);!h||(h.status="success",h.response=p,e.onSuccess(p,h,n.value),e.onChange(h,n.value))},c=p=>{const f={name:p.name,percentage:0,status:"ready",size:p.size,raw:p,uid:p.uid};if(e.listType==="picture-card"||e.listType==="picture")try{f.url=URL.createObjectURL(p)}catch(h){h.message,e.onError(h,f,n.value)}n.value.push(f),e.onChange(f,n.value)},d=async(p,f)=>{f&&il({scope:td,from:"handleRemove second argument",version:"2.2",replacement:"first argument `file`",ref:"https://element-plus.org/en-US/component/upload.html#methods"},!0);const h=f||p,b=h instanceof File?o(h):h;b||Wt(td,"file to be removed not found");const m=g=>{r(g);const v=n.value;v.splice(v.indexOf(g),1),e.onRemove(g,v),IY(g)};e.beforeRemove?await e.beforeRemove(b,n.value)!==!1&&m(b):m(b)};function u(){n.value.filter(({status:p})=>p==="ready").forEach(({raw:p})=>{var f;return p&&((f=t.value)==null?void 0:f.upload(p))})}return ge(()=>e.listType,p=>{p!=="picture-card"&&p!=="picture"||(n.value=n.value.map(f=>{const{raw:h,url:b}=f;if(!b&&h)try{f.url=URL.createObjectURL(h)}catch(m){e.onError(m,f,n.value)}return f}))}),ge(()=>e.fileList,p=>{for(const f of p)f.uid||(f.uid=d1()),f.status||(f.status="success");n.value=p},{immediate:!0,deep:!0}),{abort:r,clearFiles:a,handleError:i,handleProgress:l,handleStart:c,handleSuccess:s,handleRemove:d,submit:u,uploadFiles:n}},MY={name:"ElUpload"},RY=ee(ze(he({},MY),{props:dY,setup(e,{expose:t}){const n=e,o=nl(),r=Zr(),a=Kt(),{abort:i,submit:l,clearFiles:s,uploadFiles:c,handleStart:d,handleError:u,handleRemove:p,handleSuccess:f,handleProgress:h}=NY(n,a),b=C(()=>n.listType==="picture-card"),m=C(()=>ze(he({},n),{onStart:d,onProgress:h,onSuccess:f,onError:u,onRemove:p}));return $t(()=>{c.value.forEach(({url:g})=>{g!=null&&g.startsWith("blob:")&&URL.revokeObjectURL(g)})}),ot(gy,{accept:Yt(n,"accept")}),t({abort:i,submit:l,clearFiles:s,handleStart:d,handleRemove:p}),(g,v)=>(w(),I("div",null,[_(b)&&g.showFileList?(w(),Q(Ig,{key:0,disabled:_(r),"list-type":g.listType,files:_(c),"handle-preview":g.onPreview,onRemove:_(p)},dr({append:K(()=>[g.listType==="picture-card"?(w(),Q(Ng,St({key:0,ref_key:"uploadRef",ref:a},_(m)),{default:K(()=>[_(o).trigger?ue(g.$slots,"trigger",{key:0}):G("v-if",!0),!_(o).trigger&&_(o).default?ue(g.$slots,"default",{key:1}):G("v-if",!0)]),_:3},16)):G("v-if",!0)]),_:2},[g.$slots.file?{name:"default",fn:K(({file:y})=>[ue(g.$slots,"file",{file:y})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):G("v-if",!0),g.listType!=="picture-card"?(w(),Q(Ng,St({key:1,ref_key:"uploadRef",ref:a},_(m)),{default:K(()=>[_(o).trigger?ue(g.$slots,"trigger",{key:0}):G("v-if",!0),!_(o).trigger&&_(o).default?ue(g.$slots,"default",{key:1}):G("v-if",!0)]),_:3},16)):G("v-if",!0),g.$slots.trigger?ue(g.$slots,"default",{key:2}):G("v-if",!0),ue(g.$slots,"tip"),!_(b)&&g.showFileList?(w(),Q(Ig,{key:3,disabled:_(r),"list-type":g.listType,files:_(c),"handle-preview":g.onPreview,onRemove:_(p)},dr({_:2},[g.$slots.file?{name:"default",fn:K(({file:y})=>[ue(g.$slots,"file",{file:y})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):G("v-if",!0)]))}}));var PY=_e(RY,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const OY=rt(PY);var FY=[A8,L8,sM,mM,xM,Zy,PM,OM,Vn,n0,qR,GR,lP,sP,TO,cO,zO,lo,AP,$0,MO,YO,GO,BO,xF,CF,FF,DF,LF,VF,BF,y7,S7,$7,L7,q7,eL,JL,QL,e9,D9,AV,EV,qe,HV,h_,Gn,m_,tB,xB,kB,TB,zB,Ej,Rj,Bj,Gy,k_,M0,KP,qP,aH,dH,fH,qo,qr,zs,aj,aq,fq,hq,Nq,Lq,Kq,Wq,rK,cW,dW,TW,CW,hc,ER,IW,OW,FW,vn,aU,yU,MU,LU,rY,OY];const Jn="ElInfiniteScroll",DY=50,LY=200,VY=0,BY={delay:{type:Number,default:LY},distance:{type:Number,default:VY},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},Xp=(e,t)=>Object.entries(BY).reduce((n,[o,r])=>{var a,i;const{type:l,default:s}=r,c=e.getAttribute(`infinite-scroll-${o}`);let d=(i=(a=t[c])!=null?a:c)!=null?i:s;return d=d==="false"?!1:d,d=l(d),n[o]=Number.isNaN(d)?s:d,n},{}),p1=e=>{const{observer:t}=e[Jn];t&&(t.disconnect(),delete e[Jn].observer)},jY=(e,t)=>{const{container:n,containerEl:o,instance:r,observer:a,lastScrollTop:i}=e[Jn],{disabled:l,distance:s}=Xp(e,r),{clientHeight:c,scrollHeight:d,scrollTop:u}=o,p=u-i;if(e[Jn].lastScrollTop=u,a||l||p<0)return;let f=!1;if(n===e)f=d-(c+u)<=s;else{const{clientTop:h,scrollHeight:b}=e,m=l$(e,o);f=u+c>=m+h+b-s}f&&t.call(r)};function nd(e,t){const{containerEl:n,instance:o}=e[Jn],{disabled:r}=Xp(e,o);r||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(o):p1(e))}const HY={async mounted(e,t){const{instance:n,value:o}=t;Je(o)||Wt(Jn,"'v-infinite-scroll' binding value must be a function"),await je();const{delay:r,immediate:a}=Xp(e,n),i=rp(e,!0),l=i===window?document.documentElement:i,s=Pr(jY.bind(null,e,o),r);if(!!i){if(e[Jn]={instance:n,container:i,containerEl:l,delay:r,cb:o,onScroll:s,lastScrollTop:l.scrollTop},a){const c=new MutationObserver(Pr(nd.bind(null,e,o),DY));e[Jn].observer=c,c.observe(e,{childList:!0,subtree:!0}),nd(e,o)}i.addEventListener("scroll",s)}},unmounted(e){const{container:t,onScroll:n}=e[Jn];t==null||t.removeEventListener("scroll",n),p1(e)},async updated(e){e[Jn]||await je();const{containerEl:t,cb:n,observer:o}=e[Jn];t.clientHeight&&o&&nd(e,n)}},uu=HY;uu.install=e=>{e.directive("InfiniteScroll",uu)};const qY=uu;function KY(e){let t;const n=A(!1),o=vt(ze(he({},e),{originalPosition:"",originalOverflow:"",visible:!1}));function r(u){o.text=u}function a(){const u=o.parent;if(!u.vLoadingAddClassList){let p=u.getAttribute("loading-number");p=Number.parseInt(p)-1,p?u.setAttribute("loading-number",p.toString()):(hn(u,"el-loading-parent--relative"),u.removeAttribute("loading-number")),hn(u,"el-loading-parent--hidden")}i()}function i(){var u,p;(p=(u=d.$el)==null?void 0:u.parentNode)==null||p.removeChild(d.$el)}function l(){var u;if(e.beforeClose&&!e.beforeClose())return;const p=o.parent;p.vLoadingAddClassList=void 0,n.value=!0,clearTimeout(t),t=window.setTimeout(()=>{n.value&&(n.value=!1,a())},400),o.visible=!1,(u=e.closed)==null||u.call(e)}function s(){!n.value||(n.value=!1,a())}const d=Ub({name:"ElLoading",setup(){return()=>{const u=o.spinner||o.svg,p=Re("svg",he({class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"25 25 50 50"},u?{innerHTML:u}:{}),[Re("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"})]),f=o.text?Re("p",{class:"el-loading-text"},[o.text]):void 0;return Re(qt,{name:"el-loading-fade",onAfterLeave:s},{default:K(()=>[Ue(U("div",{style:{backgroundColor:o.background||""},class:["el-loading-mask",o.customClass,o.fullscreen?"is-fullscreen":""]},[Re("div",{class:"el-loading-spinner"},[p,f])]),[[ft,o.visible]])])})}}}).mount(document.createElement("div"));return ze(he({},Gt(o)),{setText:r,remvoeElLoadingChild:i,close:l,handleAfterLeave:s,vm:d,get $el(){return d.$el}})}let oi;const pu=function(e={}){if(!dt)return;const t=WY(e);t.fullscreen&&oi&&(oi.remvoeElLoadingChild(),oi.close());const n=KY(ze(he({},t),{closed:()=>{var r;(r=t.closed)==null||r.call(t),t.fullscreen&&(oi=void 0)}}));UY(t,t.parent,n),Mg(t,t.parent,n),t.parent.vLoadingAddClassList=()=>Mg(t,t.parent,n);let o=t.parent.getAttribute("loading-number");return o?o=`${Number.parseInt(o)+1}`:o="1",t.parent.setAttribute("loading-number",o),t.parent.appendChild(n.$el),je(()=>n.visible.value=t.visible),t.fullscreen&&(oi=n),n},WY=e=>{var t,n,o,r;let a;return Qe(e.target)?a=(t=document.querySelector(e.target))!=null?t:document.body:a=e.target||document.body,{parent:a===document.body||e.body?document.body:a,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:a===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(o=e.lock)!=null?o:!1,customClass:e.customClass||"",visible:(r=e.visible)!=null?r:!0,target:a}},UY=async(e,t,n)=>{const{nextZIndex:o}=jo(),r={};if(e.fullscreen)n.originalPosition.value=go(document.body,"position"),n.originalOverflow.value=go(document.body,"overflow"),r.zIndex=o();else if(e.parent===document.body){n.originalPosition.value=go(document.body,"position"),await je();for(const a of["top","left"]){const i=a==="top"?"scrollTop":"scrollLeft";r[a]=`${e.target.getBoundingClientRect()[a]+document.body[i]+document.documentElement[i]-Number.parseInt(go(document.body,`margin-${a}`),10)}px`}for(const a of["height","width"])r[a]=`${e.target.getBoundingClientRect()[a]}px`}else n.originalPosition.value=go(t,"position");for(const[a,i]of Object.entries(r))n.$el.style[a]=i},Mg=(e,t,n)=>{n.originalPosition.value!=="absolute"&&n.originalPosition.value!=="fixed"?bo(t,"el-loading-parent--relative"):hn(t,"el-loading-parent--relative"),e.fullscreen&&e.lock?bo(t,"el-loading-parent--hidden"):hn(t,"el-loading-parent--hidden")},fu=Symbol("ElLoading"),Rg=(e,t)=>{var n,o,r,a;const i=t.instance,l=p=>ut(t.value)?t.value[p]:void 0,s=p=>{const f=Qe(p)&&(i==null?void 0:i[p])||p;return f&&A(f)},c=p=>s(l(p)||e.getAttribute(`element-loading-${fr(p)}`)),d=(n=l("fullscreen"))!=null?n:t.modifiers.fullscreen,u={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:d,target:(o=l("target"))!=null?o:d?void 0:e,body:(r=l("body"))!=null?r:t.modifiers.body,lock:(a=l("lock"))!=null?a:t.modifiers.lock};e[fu]={options:u,instance:pu(u)}},YY=(e,t)=>{for(const n of Object.keys(t))Vt(t[n])&&(t[n].value=e[n])},Pg={mounted(e,t){t.value&&Rg(e,t)},updated(e,t){const n=e[fu];t.oldValue!==t.value&&(t.value&&!t.oldValue?Rg(e,t):t.value&&t.oldValue?ut(t.value)&&YY(t.value,n.options):n==null||n.instance.close())},unmounted(e){var t;(t=e[fu])==null||t.instance.close()}},GY={install(e){e.directive("loading",Pg),e.config.globalProperties.$loading=pu},directive:Pg,service:pu},f1=["success","info","warning","error"],XY=Le({customClass:{type:String,default:""},center:{type:Boolean,default:!1},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:3e3},icon:{type:an,default:""},id:{type:String,default:""},message:{type:Te([String,Object,Function]),default:""},onClose:{type:Te(Function),required:!1},showClose:{type:Boolean,default:!1},type:{type:String,values:f1,default:"info"},offset:{type:Number,default:20},zIndex:{type:Number,default:0},grouping:{type:Boolean,default:!1},repeatNum:{type:Number,default:1}}),ZY={destroy:()=>!0},JY=ee({name:"ElMessage",components:he({ElBadge:Zy,ElIcon:qe},ac),props:XY,emits:ZY,setup(e){const t=ke("message"),n=A(!1),o=A(e.type?e.type==="error"?"danger":e.type:"info");let r;const a=C(()=>{const p=e.type;return{[t.bm("icon",p)]:p&&Fo[p]}}),i=C(()=>e.icon||Fo[e.type]||""),l=C(()=>({top:`${e.offset}px`,zIndex:e.zIndex}));function s(){e.duration>0&&({stop:r}=jr(()=>{n.value&&d()},e.duration))}function c(){r==null||r()}function d(){n.value=!1}function u({code:p}){p===Pe.esc?n.value&&d():s()}return et(()=>{s(),n.value=!0}),ge(()=>e.repeatNum,()=>{c(),s()}),Ht(document,"keydown",u),{ns:t,typeClass:a,iconComponent:i,customStyle:l,visible:n,badgeType:o,close:d,clearTimer:c,startTimer:s}}}),QY=["id"],eG=["innerHTML"];function tG(e,t,n,o,r,a){const i=le("el-badge"),l=le("el-icon"),s=le("close");return w(),Q(qt,{name:e.ns.b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t[2]||(t[2]=c=>e.$emit("destroy"))},{default:K(()=>[Ue(R("div",{id:e.id,class:S([e.ns.b(),{[e.ns.m(e.type)]:e.type&&!e.icon},e.ns.is("center",e.center),e.ns.is("closable",e.showClose),e.customClass]),style:Oe(e.customStyle),role:"alert",onMouseenter:t[0]||(t[0]=(...c)=>e.clearTimer&&e.clearTimer(...c)),onMouseleave:t[1]||(t[1]=(...c)=>e.startTimer&&e.startTimer(...c))},[e.repeatNum>1?(w(),Q(i,{key:0,value:e.repeatNum,type:e.badgeType,class:S(e.ns.e("badge"))},null,8,["value","type","class"])):G("v-if",!0),e.iconComponent?(w(),Q(l,{key:1,class:S([e.ns.e("icon"),e.typeClass])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])):G("v-if",!0),ue(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(w(),I(Fe,{key:1},[G(" Caution here, message could've been compromised, never use user's input as message "),R("p",{class:S(e.ns.e("content")),innerHTML:e.message},null,10,eG)],2112)):(w(),I("p",{key:0,class:S(e.ns.e("content"))},ve(e.message),3))]),e.showClose?(w(),Q(l,{key:2,class:S(e.ns.e("closeBtn")),onClick:He(e.close,["stop"])},{default:K(()=>[U(s)]),_:1},8,["class","onClick"])):G("v-if",!0)],46,QY),[[ft,e.visible]])]),_:3},8,["name","onBeforeLeave"])}var nG=_e(JY,[["render",tG],["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);const xn=[];let oG=1;const Pa=function(e={},t){if(!dt)return{close:()=>{}};if(mt(Gd.max)&&xn.length>=Gd.max)return{close:()=>{}};if(!jt(e)&&ut(e)&&e.grouping&&!jt(e.message)&&xn.length){const u=xn.find(p=>{var f,h,b;return`${(h=(f=p.vm.props)==null?void 0:f.message)!=null?h:""}`==`${(b=e.message)!=null?b:""}`});if(u)return u.vm.component.props.repeatNum+=1,u.vm.component.props.type=(e==null?void 0:e.type)||"info",{close:()=>d.component.proxy.visible=!1}}(Qe(e)||jt(e))&&(e={message:e});let n=e.offset||20;xn.forEach(({vm:u})=>{var p;n+=(((p=u.el)==null?void 0:p.offsetHeight)||0)+16}),n+=16;const{nextZIndex:o}=jo(),r=`message_${oG++}`,a=e.onClose,i=ze(he({zIndex:o()},e),{offset:n,id:r,onClose:()=>{rG(r,a)}});let l=document.body;Hr(e.appendTo)?l=e.appendTo:Qe(e.appendTo)&&(l=document.querySelector(e.appendTo)),Hr(l)||(l=document.body);const s=document.createElement("div");s.className=`container_${r}`;const c=i.message,d=U(nG,i,Je(c)?{default:c}:jt(c)?{default:()=>c}:null);return d.appContext=t||Pa._context,d.props.onDestroy=()=>{wa(null,s)},wa(d,s),xn.push({vm:d}),l.appendChild(s.firstElementChild),{close:()=>d.component.proxy.visible=!1}};f1.forEach(e=>{Pa[e]=(t={},n)=>((Qe(t)||jt(t))&&(t={message:t}),Pa(ze(he({},t),{type:e}),n))});function rG(e,t){const n=xn.findIndex(({vm:i})=>e===i.component.props.id);if(n===-1)return;const{vm:o}=xn[n];if(!o)return;t==null||t(o);const r=o.el.offsetHeight;xn.splice(n,1);const a=xn.length;if(!(a<1))for(let i=n;i=0;t--){const n=xn[t].vm.component;(e=n==null?void 0:n.proxy)==null||e.close()}}Pa.closeAll=aG;Pa._context=null;const iG=ey(Pa,"$message"),lG=ee({name:"ElMessageBox",directives:{TrapFocus:c0},components:he({ElButton:Vn,ElInput:Gn,ElOverlay:Ip,ElIcon:qe},ac),inheritAttrs:!1,props:{buttonSize:{type:String,validator:Nn},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{t:n}=Tt(),o=A(!1),{nextZIndex:r}=jo(),a=vt({beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:r()}),i=C(()=>{const z=a.type;return z&&Fo[z]?`el-message-box-icon--${z}`:""}),l=Ut(C(()=>e.buttonSize),{prop:!0,form:!0,formItem:!0}),s=C(()=>a.icon||Fo[a.type]||""),c=C(()=>!!a.message),d=A(),u=A(),p=A(),f=A(),h=C(()=>a.confirmButtonClass);ge(()=>a.inputValue,async z=>{await je(),e.boxType==="prompt"&&z!==null&&x()},{immediate:!0}),ge(()=>o.value,z=>{z&&((e.boxType==="alert"||e.boxType==="confirm")&&je().then(()=>{var P,O,D;(D=(O=(P=f.value)==null?void 0:P.$el)==null?void 0:O.focus)==null||D.call(O)}),a.zIndex=r()),e.boxType==="prompt"&&(z?je().then(()=>{p.value&&p.value.$el&&k().focus()}):(a.editorErrorMessage="",a.validateError=!1))});const b=C(()=>e.draggable);wy(d,u,b),et(async()=>{await je(),e.closeOnHashChange&&At(window,"hashchange",m)}),$t(()=>{e.closeOnHashChange&&Bt(window,"hashchange",m)});function m(){!o.value||(o.value=!1,je(()=>{a.action&&t("action",a.action)}))}const g=()=>{e.closeOnClickModal&&T(a.distinguishCancelAndClose?"close":"cancel")},v=up(g),y=z=>{if(a.inputType!=="textarea")return z.preventDefault(),T("confirm")},T=z=>{var P;e.boxType==="prompt"&&z==="confirm"&&!x()||(a.action=z,a.beforeClose?(P=a.beforeClose)==null||P.call(a,z,a,m):m())},x=()=>{if(e.boxType==="prompt"){const z=a.inputPattern;if(z&&!z.test(a.inputValue||""))return a.editorErrorMessage=a.inputErrorMessage||n("el.messagebox.error"),a.validateError=!0,!1;const P=a.inputValidator;if(typeof P=="function"){const O=P(a.inputValue);if(O===!1)return a.editorErrorMessage=a.inputErrorMessage||n("el.messagebox.error"),a.validateError=!0,!1;if(typeof O=="string")return a.editorErrorMessage=O,a.validateError=!0,!1}}return a.editorErrorMessage="",a.validateError=!1,!0},k=()=>{const z=p.value.$refs;return z.input||z.textarea},$=()=>{T("close")};return e.closeOnPressEscape?ky({handleClose:$},o):Kz(o,"keydown",z=>z.code===Pe.esc),e.lockScroll&&xy(o),Ty(o),ze(he({},Gt(a)),{overlayEvent:v,visible:o,hasMessage:c,typeClass:i,btnSize:l,iconComponent:s,confirmButtonClasses:h,rootRef:d,headerRef:u,inputRef:p,confirmRef:f,doClose:m,handleClose:$,handleWrapperClick:g,handleInputEnter:y,handleAction:T,t:n})}}),sG=["aria-label"],cG={key:0,ref:"headerRef",class:"el-message-box__header"},dG={class:"el-message-box__title"},uG={class:"el-message-box__content"},pG={class:"el-message-box__container"},fG={key:1,class:"el-message-box__message"},hG={key:0},mG=["innerHTML"],gG={class:"el-message-box__input"},bG={class:"el-message-box__btns"};function vG(e,t,n,o,r,a){const i=le("el-icon"),l=le("close"),s=le("el-input"),c=le("el-button"),d=le("el-overlay"),u=In("trap-focus");return w(),Q(qt,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=p=>e.$emit("vanish"))},{default:K(()=>[Ue(U(d,{"z-index":e.zIndex,"overlay-class":["is-message-box",e.modalClass],mask:e.modal},{default:K(()=>[R("div",{class:"el-overlay-message-box",onClick:t[8]||(t[8]=(...p)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...p)),onMousedown:t[9]||(t[9]=(...p)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...p)),onMouseup:t[10]||(t[10]=(...p)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...p))},[Ue((w(),I("div",{ref:"rootRef",role:"dialog","aria-label":e.title||"dialog","aria-modal":"true",class:S(["el-message-box",e.customClass,{"el-message-box--center":e.center,"is-draggable":e.draggable}]),style:Oe(e.customStyle),onClick:t[7]||(t[7]=He(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(w(),I("div",cG,[R("div",dG,[e.iconComponent&&e.center?(w(),Q(i,{key:0,class:S(["el-message-box__status",e.typeClass])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])):G("v-if",!0),R("span",null,ve(e.title),1)]),e.showClose?(w(),I("button",{key:0,type:"button",class:"el-message-box__headerbtn","aria-label":"Close",onClick:t[0]||(t[0]=p=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=lt(He(p=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[U(i,{class:"el-message-box__close"},{default:K(()=>[U(l)]),_:1})],32)):G("v-if",!0)],512)):G("v-if",!0),R("div",uG,[R("div",pG,[e.iconComponent&&!e.center&&e.hasMessage?(w(),Q(i,{key:0,class:S(["el-message-box__status",e.typeClass])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])):G("v-if",!0),e.hasMessage?(w(),I("div",fG,[ue(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(w(),I("p",{key:1,innerHTML:e.message},null,8,mG)):(w(),I("p",hG,ve(e.message),1))])])):G("v-if",!0)]),Ue(R("div",gG,[U(s,{ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=p=>e.inputValue=p),type:e.inputType,placeholder:e.inputPlaceholder,class:S({invalid:e.validateError}),onKeydown:lt(e.handleInputEnter,["enter"])},null,8,["modelValue","type","placeholder","class","onKeydown"]),R("div",{class:"el-message-box__errormsg",style:Oe({visibility:e.editorErrorMessage?"visible":"hidden"})},ve(e.editorErrorMessage),5)],512),[[ft,e.showInput]])]),R("div",bG,[e.showCancelButton?(w(),Q(c,{key:0,loading:e.cancelButtonLoading,class:S([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=p=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=lt(He(p=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:K(()=>[ct(ve(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):G("v-if",!0),Ue(U(c,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,class:S([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=p=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=lt(He(p=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:K(()=>[ct(ve(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[ft,e.showConfirmButton]])])],14,sG)),[[u]])],32)]),_:3},8,["z-index","overlay-class","mask"]),[[ft,e.visible]])]),_:3})}var yG=_e(lG,[["render",vG],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const Xi=new Map,_G=(e,t,n=null)=>{const o=Re(yG,e);return o.appContext=n,wa(o,t),document.body.appendChild(t.firstElementChild),o.component},wG=()=>document.createElement("div"),xG=(e,t)=>{const n=wG();e.onVanish=()=>{wa(null,n),Xi.delete(r)},e.onAction=a=>{const i=Xi.get(r);let l;e.showInput?l={value:r.inputValue,action:a}:l=a,e.callback?e.callback(l,o.proxy):a==="cancel"||a==="close"?e.distinguishCancelAndClose&&a!=="cancel"?i.reject("close"):i.reject("cancel"):i.resolve(l)};const o=_G(e,n,t),r=o.proxy;for(const a in e)it(e,a)&&!it(r.$props,a)&&(r[a]=e[a]);return ge(()=>r.message,(a,i)=>{jt(a)?o.slots.default=()=>[a]:jt(i)&&!jt(a)&&delete o.slots.default},{immediate:!0}),r.visible=!0,r};function Ya(e,t=null){if(!dt)return Promise.reject();let n;return Qe(e)||jt(e)?e={message:e}:n=e.callback,new Promise((o,r)=>{const a=xG(e,t!=null?t:Ya._context);Xi.set(a,{options:e,callback:n,resolve:o,reject:r})})}const kG=["alert","confirm","prompt"],TG={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};kG.forEach(e=>{Ya[e]=CG(e)});function CG(e){return(t,n,o,r)=>{let a;return ut(n)?(o=n,a=""):Cn(n)?a="":a=n,Ya(Object.assign(he({title:a,message:t,type:""},TG[e]),o,{boxType:e}),r)}}Ya.close=()=>{Xi.forEach((e,t)=>{t.doClose()}),Xi.clear()};Ya._context=null;const er=Ya;er.install=e=>{er._context=e._context,e.config.globalProperties.$msgbox=er,e.config.globalProperties.$messageBox=er,e.config.globalProperties.$alert=er.alert,e.config.globalProperties.$confirm=er.confirm,e.config.globalProperties.$prompt=er.prompt};const SG=er,h1=["success","info","warning","error"],$G=Le({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:Te([String,Object]),default:""},id:{type:String,default:""},message:{type:Te([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:Te(Function),default:()=>{}},onClose:{type:Te(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...h1,""],default:""},zIndex:{type:Number,default:0}}),AG={destroy:()=>!0},EG=ee({name:"ElNotification",components:he({ElIcon:qe},ac),props:$G,emits:AG,setup(e){const t=ke("notification"),n=A(!1);let o;const r=C(()=>{const f=e.type;return f&&Fo[e.type]?t.m(f):""}),a=C(()=>Fo[e.type]||e.icon||""),i=C(()=>e.position.endsWith("right")?"right":"left"),l=C(()=>e.position.startsWith("top")?"top":"bottom"),s=C(()=>({[l.value]:`${e.offset}px`,zIndex:e.zIndex}));function c(){e.duration>0&&({stop:o}=jr(()=>{n.value&&u()},e.duration))}function d(){o==null||o()}function u(){n.value=!1}function p({code:f}){f===Pe.delete||f===Pe.backspace?d():f===Pe.esc?n.value&&u():c()}return et(()=>{c(),n.value=!0}),Ht(document,"keydown",p),{ns:t,horizontalClass:i,typeClass:r,iconComponent:a,positionStyle:s,visible:n,close:u,clearTimer:d,startTimer:c}}}),zG=["id"],IG=["textContent"],NG={key:0},MG=["innerHTML"];function RG(e,t,n,o,r,a){const i=le("el-icon"),l=le("close");return w(),Q(qt,{name:e.ns.b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t[3]||(t[3]=s=>e.$emit("destroy"))},{default:K(()=>[Ue(R("div",{id:e.id,class:S([e.ns.b(),e.customClass,e.horizontalClass]),style:Oe(e.positionStyle),role:"alert",onMouseenter:t[0]||(t[0]=(...s)=>e.clearTimer&&e.clearTimer(...s)),onMouseleave:t[1]||(t[1]=(...s)=>e.startTimer&&e.startTimer(...s)),onClick:t[2]||(t[2]=(...s)=>e.onClick&&e.onClick(...s))},[e.iconComponent?(w(),Q(i,{key:0,class:S([e.ns.e("icon"),e.typeClass])},{default:K(()=>[(w(),Q(pt(e.iconComponent)))]),_:1},8,["class"])):G("v-if",!0),R("div",{class:S(e.ns.e("group"))},[R("h2",{class:S(e.ns.e("title")),textContent:ve(e.title)},null,10,IG),Ue(R("div",{class:S(e.ns.e("content")),style:Oe(e.title?void 0:{margin:0})},[ue(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(w(),I(Fe,{key:1},[G(" Caution here, message could've been compromized, nerver use user's input as message "),G(" eslint-disable-next-line "),R("p",{innerHTML:e.message},null,8,MG)],2112)):(w(),I("p",NG,ve(e.message),1))])],6),[[ft,e.message]]),e.showClose?(w(),Q(i,{key:0,class:S(e.ns.e("closeBtn")),onClick:He(e.close,["stop"])},{default:K(()=>[U(l)]),_:1},8,["class","onClick"])):G("v-if",!0)],2)],46,zG),[[ft,e.visible]])]),_:3},8,["name","onBeforeLeave"])}var PG=_e(EG,[["render",RG],["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const Os={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},hu=16;let OG=1;const Oa=function(e={},t=null){if(!dt)return{close:()=>{}};(typeof e=="string"||jt(e))&&(e={message:e});const n=e.position||"top-right";let o=e.offset||0;Os[n].forEach(({vm:u})=>{var p;o+=(((p=u.el)==null?void 0:p.offsetHeight)||0)+hu}),o+=hu;const{nextZIndex:r}=jo(),a=`notification_${OG++}`,i=e.onClose,l=ze(he({zIndex:r(),offset:o},e),{id:a,onClose:()=>{FG(a,n,i)}});let s=document.body;Hr(e.appendTo)?s=e.appendTo:Qe(e.appendTo)&&(s=document.querySelector(e.appendTo)),Hr(s)||(s=document.body);const c=document.createElement("div"),d=U(PG,l,jt(l.message)?{default:()=>l.message}:null);return d.appContext=t!=null?t:Oa._context,d.props.onDestroy=()=>{wa(null,c)},wa(d,c),Os[n].push({vm:d}),s.appendChild(c.firstElementChild),{close:()=>{d.component.proxy.visible=!1}}};h1.forEach(e=>{Oa[e]=(t={})=>((typeof t=="string"||jt(t))&&(t={message:t}),Oa(ze(he({},t),{type:e})))});function FG(e,t,n){const o=Os[t],r=o.findIndex(({vm:c})=>{var d;return((d=c.component)==null?void 0:d.props.id)===e});if(r===-1)return;const{vm:a}=o[r];if(!a)return;n==null||n(a);const i=a.el.offsetHeight,l=t.split("-")[0];o.splice(r,1);const s=o.length;if(!(s<1))for(let c=r;c{t.component.proxy.visible=!1})}Oa.closeAll=DG;Oa._context=null;const LG=ey(Oa,"$notify");var VG=[qY,GY,iG,SG,LG,jj],BG=x8([...FY,...VG]);const jG=window.jQuery;Ub(Qx).use(nk).use(BG).mount("#app")});export default HG(); diff --git a/assets/index.e96ea732.css b/assets/index.e96ea732.css deleted file mode 100644 index 9bd7f0a..0000000 --- a/assets/index.e96ea732.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.color-highlight{color:#ff7878}.unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.clickable:hover{cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fbox-v{display:flex;flex-flow:column;height:100%}.mh0{min-height:0}.fbox-h{display:flex;flex-flow:row}.mw0{min-width:0}.f-no-grow{flex-grow:0}.f-grow1{flex-grow:1}.f-no-shrink{flex-shrink:0}.f-shrink1{flex-shrink:1}.f-v-expand{flex:1 0;min-height:0}.f-h-expand{flex:1 0;min-width:0}.h100{height:100%}.w100{width:100%}.fbox-center{display:flex;flex-flow:column;justify-content:center;align-items:center}.fbox-vcenter{display:flex;flex-flow:column;justify-content:center}.nowrap{overflow:hidden;white-space:nowrap;text-overflow:clip}.nowrap.e{text-overflow:ellipsis}.hy-card{width:100%;height:100%;background-color:#edf1f2;border-radius:15px;margin:20px 0}#page-desc{margin-bottom:20px}.button.anim{transition:all .25s ease}.button.anim:hover{transform:translateY(-5px);box-shadow:0 10px 10px -5px #a68659d6;cursor:pointer}*{transition:all .25s ease}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;max-width:600px;margin:auto}#app .rlink{color:#ff69b4;text-decoration:none}#Home>*+*[data-v-743fbe10]{margin-top:10px}.category>*+*[data-v-743fbe10]{margin-top:10px}.api .header[data-v-743fbe10]{text-align:left;background:#ececec;padding:10px;border-radius:10px}.api .header .name[data-v-743fbe10]{font-weight:700;margin-right:10px;color:#2298d4}.api .ui-state-active.header[data-v-743fbe10]{border-radius:10px 10px 0 0!important}.md-docstring{text-align:left;background:#f3f3f3;padding:10px;border-radius:0 0 10px 10px}.md-docstring h1,.md-docstring h2{font-size:1em!important}#About div[data-v-bdbb760e]{font-size:.8em}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","\5fae\8f6f\96c5\9ed1",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier)}:root{color-scheme:light;--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#ffffff;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, .04),0px 8px 20px rgba(0, 0, 0, .08);--el-box-shadow-light:0px 0px 12px rgba(0, 0, 0, .12);--el-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, .12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, .08),0px 12px 32px rgba(0, 0, 0, .12),0px 8px 16px -8px rgba(0, 0, 0, .16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0, 0, 0, .8);--el-overlay-color-light:rgba(0, 0, 0, .7);--el-overlay-color-lighter:rgba(0, 0, 0, .5);--el-mask-color:rgba(255, 255, 255, .9);--el-mask-color-extra-light:rgba(255, 255, 255, .3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:13px;--el-alert-description-font-size:12px;--el-alert-close-font-size:12px;--el-alert-close-customed-font-size:13px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;width:100%;padding:var(--el-alert-padding);margin:0;box-sizing:border-box;border-radius:var(--el-alert-border-radius-base);position:relative;background-color:var(--el-color-white);overflow:hidden;opacity:1;display:flex;align-items:center;transition:opacity var(--el-transition-duration-fast)}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-success)}.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-info)}.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-warning)}.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color);color:var(--el-color-error)}.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:table-cell;padding:0 8px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:18px;vertical-align:text-top}.el-alert__title.is-bold{font-weight:700}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:5px 0 0}.el-alert .el-alert__close-btn{font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;top:12px;right:15px;cursor:pointer}.el-alert .el-alert__close-btn.is-customed{font-style:normal;font-size:var(--el-alert-close-customed-font-size);top:9px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{--el-aside-width:300px;overflow:auto;box-sizing:border-box;flex-shrink:0;width:var(--el-aside-width)}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete__popper.el-popper[role=tooltip]{background:#fff;border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-autocomplete__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);list-style:none;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li:hover,.el-autocomplete-suggestion li.highlighted{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid var(--el-color-black)}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:var(--el-text-color-secondary)}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-color-white)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-avatar{--el-avatar-text-color:var(--el-color-white);--el-avatar-bg-color:var(--el-text-color-disabled);--el-avatar-text-size:14px;--el-avatar-icon-size:18px;--el-avatar-border-radius:var(--el-border-radius-base);--el-avatar-size-large:56px;--el-avatar-size-default:40px;--el-avatar-size-small:24px;--el-avatar-size:40px;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;overflow:hidden;color:var(--el-avatar-text-color);background:var(--el-avatar-bg-color);width:var(--el-avatar-size);height:var(--el-avatar-size);font-size:var(--el-avatar-text-size)}.el-avatar>img{display:block;height:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);position:fixed;background-color:var(--el-backtop-bg-color);width:40px;height:40px;border-radius:50%;color:var(--el-backtop-text-color);display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:var(--el-box-shadow-lighter);cursor:pointer;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;position:relative;vertical-align:middle;display:inline-block}.el-badge__content{background-color:var(--el-badge-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-block;font-size:var(--el-badge-font-size);height:var(--el-badge-size);line-height:var(--el-badge-size);padding:0 var(--el-badge-padding);text-align:center;white-space:nowrap;border:1px solid var(--el-color-white)}.el-badge__content.is-fixed{position:absolute;top:0;right:calc(1px + var(--el-badge-size)/ 2);transform:translateY(-50%) translate(100%)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{height:8px;width:8px;padding:0;right:0;border-radius:50%}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{display:table;content:""}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{margin:0 9px;font-weight:700;color:var(--el-text-color-placeholder)}.el-breadcrumb__separator.el-icon{margin:0 6px;font-weight:400}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{float:left;display:flex;align-items:center}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{font-weight:700;text-decoration:none;transition:var(--el-transition-color);color:var(--el-text-color-primary)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{font-weight:400;color:var(--el-text-color-regular);cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{display:table;content:""}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group>.el-button.is-active{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255, 255, 255, .5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color)}.el-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);color:var(--el-button-text-color);-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;transition:.1s;font-weight:var(--el-button-font-weight);-webkit-user-select:none;user-select:none;vertical-align:middle;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button>span{display:inline-flex;align-items:center}.el-button+.el-button{margin-left:12px}.el-button.is-round{padding:8px 15px}.el-button:focus,.el-button:hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:0}.el-button:active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--el-mask-color-extra-light)}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-plain{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-plain{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-plain{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-plain{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-plain{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size:40px;height:var(--el-button-size);padding:12px 19px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size:24px;height:var(--el-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}.el-button--text{border-color:transparent;color:var(--el-color-primary);background:0 0;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:var(--el-color-primary-light-3);border-color:transparent;background-color:transparent}.el-button--text:active{color:var(--el-color-primary-dark-2);border-color:transparent;background-color:transparent}.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover{border-color:transparent}.el-calendar{--el-calendar-border:var(--el-table-border, 1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{display:flex;justify-content:space-between;padding:12px 20px;border-bottom:var(--el-calendar-header-border-bottom)}.el-calendar__title{color:var(--el-text-color);align-self:center}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{padding:12px 0;color:var(--el-text-color-regular);font-weight:400}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);vertical-align:top;transition:background-color var(--el-transition-duration-fast) ease}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;padding:8px;height:var(--el-calendar-cell-width)}.el-calendar-table .el-calendar-day:hover{cursor:pointer;background-color:var(--el-calendar-selected-bg-color)}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank)}.el-card{border-radius:var(--el-card-border-radius);border:1px solid var(--el-card-border-color);background-color:var(--el-card-bg-color);overflow:hidden;color:var(--el-text-color-primary);transition:var(--el-transition-duration)}.el-card.is-always-shadow{box-shadow:var(--el-box-shadow-light)}.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding);border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box}.el-card__body{padding:var(--el-card-padding)}.el-carousel__item{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;overflow:hidden;z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%;transition:transform .4s ease-in-out}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fff;opacity:.24;transition:var(--el-transition-duration-fast)}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:rgba(31, 45, 61, .11);--el-carousel-arrow-hover-background:rgba(31, 45, 61, .23);--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal{overflow-x:hidden}.el-carousel--vertical{overflow-y:hidden}.el-carousel__container{position:relative;height:300px}.el-carousel__arrow{border:none;outline:0;padding:0;margin:0;height:var(--el-carousel-arrow-size);width:var(--el-carousel-arrow-size);cursor:pointer;transition:var(--el-transition-duration);border-radius:50%;background-color:var(--el-carousel-arrow-background);color:#fff;position:absolute;top:50%;z-index:10;transform:translateY(-50%);text-align:center;font-size:var(--el-carousel-arrow-font-size);display:inline-flex;justify-content:center;align-items:center}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{position:absolute;list-style:none;margin:0;padding:0;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translate(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:calc(var(--el-carousel-indicator-height) + var(--el-carousel-indicator-padding-vertical) * 2);text-align:center;position:static;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--labels{left:0;right:0;transform:none;text-align:center}.el-carousel__indicators--labels .el-carousel__button{height:auto;width:auto;padding:2px 18px;font-size:12px}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{width:var(--el-carousel-indicator-height);height:calc(var(--el-carousel-indicator-width)/ 2)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{display:block;opacity:.48;width:var(--el-carousel-indicator-width);height:var(--el-carousel-indicator-height);background-color:#fff;border:none;outline:0;padding:0;margin:0;cursor:pointer;transition:var(--el-transition-duration)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{transform:translateY(-50%) translate(-10px);opacity:0}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{transform:translateY(-50%) translate(10px);opacity:0}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color)}.el-cascader-panel{display:flex;border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{min-width:180px;box-sizing:border-box;color:var(--el-cascader-menu-text-color);border-right:var(--el-cascader-menu-border)}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{position:relative;min-height:100%;margin:0;padding:6px 0;list-style:none;box-sizing:border-box}.el-cascader-menu__hover-zone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.el-cascader-menu__empty-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;color:var(--el-cascader-color-empty)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{position:relative;display:flex;align-items:center;padding:0 30px 0 20px;height:34px;line-height:34px;outline:0}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;text-align:left;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);display:inline-block;position:relative;font-size:var(--el-font-size-base);line-height:32px;outline:0}.el-cascader:not(.is-disabled):hover .el-input__inner{cursor:pointer;box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-cascader .el-input{cursor:pointer}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader .el-input .el-input__suffix-inner .el-icon{height:calc(100% - 2px)}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{transition:transform var(--el-transition-duration);font-size:14px}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__inner{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader.is-disabled .el-cascader__label{z-index:calc(var(--el-index-normal) + 1);color:var(--el-disabled-text-color)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color)}.el-cascader__dropdown{font-size:var(--el-cascader-menu-font-size);border-radius:var(--el-cascader-menu-radius)}.el-cascader__dropdown.el-popper[role=tooltip]{background:var(--el-cascader-menu-fill);border:var(--el-cascader-menu-border);box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__dropdown.el-popper[role=tooltip] .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-cascader__dropdown.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__tags{position:absolute;left:0;right:30px;top:50%;transform:translateY(-50%);display:flex;flex-wrap:wrap;line-height:normal;text-align:left;box-sizing:border-box}.el-cascader__tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:var(--el-cascader-tag-background)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{flex:none;background-color:var(--el-text-color-placeholder);color:var(--el-color-white)}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-cascader__collapse-tag{line-height:inherit;height:inherit;display:flex}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{max-height:204px;margin:0;padding:6px 0;font-size:var(--el-font-size-base);color:var(--el-cascader-menu-text-color);text-align:center}.el-cascader__suggestion-item{display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 15px;text-align:left;outline:0;cursor:pointer}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{margin:10px 0;color:var(--el-cascader-color-empty)}.el-cascader__search-input{flex:1;height:24px;min-width:60px;margin:2px 0 2px 11px;padding:0;color:var(--el-cascader-menu-text-color);border:none;outline:0;box-sizing:border-box}.el-cascader__search-input::placeholder{color:var(--el-text-color-placeholder)}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all);font-weight:700}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-1)}.el-check-tag.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary)}.el-checkbox-button{position:relative;display:inline-block}.el-checkbox-button__inner{display:inline-block;line-height:1;font-weight:var(--el-checkbox-font-weight);white-space:nowrap;vertical-align:middle;cursor:pointer;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);border-left:0;color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;position:relative;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:0}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{opacity:0;outline:0;position:absolute;margin:0;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{color:var(--el-checkbox-button-checked-text-color);background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button:first-child .el-checkbox-button__inner{border-left:var(--el-border);border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-checkbox-button--large .el-checkbox-button__inner{padding:12px 19px;font-size:var(--el-font-size-base);border-radius:0}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{padding:5px 11px;font-size:12px;border-radius:0}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary)}.el-checkbox{color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none;margin-right:30px;height:32px}.el-checkbox.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-checkbox.is-bordered.el-checkbox--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:0 11px 0 7px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color)}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus .el-checkbox__inner{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:var(--el-checkbox-checked-icon-color);height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid var(--el-checkbox-checked-icon-color);border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in 50ms;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:8px;line-height:1;font-size:var(--el-checkbox-font-size)}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{float:left;box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-0{max-width:0%;flex:0 0 0%}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{position:relative;left:0}.el-col-1{max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{position:relative;left:4.1666666667%}.el-col-2{max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{position:relative;left:8.3333333333%}.el-col-3{max-width:12.5%;flex:0 0 12.5%}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{position:relative;left:16.6666666667%}.el-col-5{max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{position:relative;left:20.8333333333%}.el-col-6{max-width:25%;flex:0 0 25%}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{position:relative;left:29.1666666667%}.el-col-8{max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{position:relative;left:33.3333333333%}.el-col-9{max-width:37.5%;flex:0 0 37.5%}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{position:relative;left:41.6666666667%}.el-col-11{max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{position:relative;left:45.8333333333%}.el-col-12{max-width:50%;flex:0 0 50%}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{position:relative;left:54.1666666667%}.el-col-14{max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{position:relative;left:58.3333333333%}.el-col-15{max-width:62.5%;flex:0 0 62.5%}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{position:relative;left:66.6666666667%}.el-col-17{max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{position:relative;left:70.8333333333%}.el-col-18{max-width:75%;flex:0 0 75%}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{position:relative;left:79.1666666667%}.el-col-20{max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{position:relative;left:83.3333333333%}.el-col-21{max-width:87.5%;flex:0 0 87.5%}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{position:relative;left:91.6666666667%}.el-col-23{max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{position:relative;left:95.8333333333%}.el-col-24{max-width:100%;flex:0 0 100%}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width:768px){.el-col-xs-0,.el-col-xs-0.is-guttered{display:none}.el-col-xs-0{max-width:0%;flex:0 0 0%}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{position:relative;left:0}.el-col-xs-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{position:relative;left:4.1666666667%}.el-col-xs-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{position:relative;left:8.3333333333%}.el-col-xs-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{position:relative;left:16.6666666667%}.el-col-xs-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{position:relative;left:20.8333333333%}.el-col-xs-6{display:block;max-width:25%;flex:0 0 25%}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{position:relative;left:29.1666666667%}.el-col-xs-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{position:relative;left:33.3333333333%}.el-col-xs-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{position:relative;left:41.6666666667%}.el-col-xs-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{position:relative;left:45.8333333333%}.el-col-xs-12{display:block;max-width:50%;flex:0 0 50%}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{position:relative;left:54.1666666667%}.el-col-xs-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{position:relative;left:58.3333333333%}.el-col-xs-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{position:relative;left:66.6666666667%}.el-col-xs-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{position:relative;left:70.8333333333%}.el-col-xs-18{display:block;max-width:75%;flex:0 0 75%}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{position:relative;left:79.1666666667%}.el-col-xs-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{position:relative;left:83.3333333333%}.el-col-xs-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{position:relative;left:91.6666666667%}.el-col-xs-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{position:relative;left:95.8333333333%}.el-col-xs-24{display:block;max-width:100%;flex:0 0 100%}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0,.el-col-sm-0.is-guttered{display:none}.el-col-sm-0{max-width:0%;flex:0 0 0%}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{position:relative;left:0}.el-col-sm-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{position:relative;left:4.1666666667%}.el-col-sm-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{position:relative;left:8.3333333333%}.el-col-sm-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{position:relative;left:16.6666666667%}.el-col-sm-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{position:relative;left:20.8333333333%}.el-col-sm-6{display:block;max-width:25%;flex:0 0 25%}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{position:relative;left:29.1666666667%}.el-col-sm-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{position:relative;left:33.3333333333%}.el-col-sm-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{position:relative;left:41.6666666667%}.el-col-sm-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{position:relative;left:45.8333333333%}.el-col-sm-12{display:block;max-width:50%;flex:0 0 50%}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{position:relative;left:54.1666666667%}.el-col-sm-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{position:relative;left:58.3333333333%}.el-col-sm-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{position:relative;left:66.6666666667%}.el-col-sm-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{position:relative;left:70.8333333333%}.el-col-sm-18{display:block;max-width:75%;flex:0 0 75%}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{position:relative;left:79.1666666667%}.el-col-sm-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{position:relative;left:83.3333333333%}.el-col-sm-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{position:relative;left:91.6666666667%}.el-col-sm-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{position:relative;left:95.8333333333%}.el-col-sm-24{display:block;max-width:100%;flex:0 0 100%}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0,.el-col-md-0.is-guttered{display:none}.el-col-md-0{max-width:0%;flex:0 0 0%}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{position:relative;left:0}.el-col-md-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{position:relative;left:4.1666666667%}.el-col-md-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{position:relative;left:8.3333333333%}.el-col-md-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{position:relative;left:16.6666666667%}.el-col-md-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{position:relative;left:20.8333333333%}.el-col-md-6{display:block;max-width:25%;flex:0 0 25%}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{position:relative;left:29.1666666667%}.el-col-md-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{position:relative;left:33.3333333333%}.el-col-md-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{position:relative;left:41.6666666667%}.el-col-md-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{position:relative;left:45.8333333333%}.el-col-md-12{display:block;max-width:50%;flex:0 0 50%}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{position:relative;left:54.1666666667%}.el-col-md-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{position:relative;left:58.3333333333%}.el-col-md-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{position:relative;left:66.6666666667%}.el-col-md-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{position:relative;left:70.8333333333%}.el-col-md-18{display:block;max-width:75%;flex:0 0 75%}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{position:relative;left:79.1666666667%}.el-col-md-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{position:relative;left:83.3333333333%}.el-col-md-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{position:relative;left:91.6666666667%}.el-col-md-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{position:relative;left:95.8333333333%}.el-col-md-24{display:block;max-width:100%;flex:0 0 100%}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0,.el-col-lg-0.is-guttered{display:none}.el-col-lg-0{max-width:0%;flex:0 0 0%}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{position:relative;left:0}.el-col-lg-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{position:relative;left:4.1666666667%}.el-col-lg-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{position:relative;left:8.3333333333%}.el-col-lg-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{position:relative;left:16.6666666667%}.el-col-lg-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{position:relative;left:20.8333333333%}.el-col-lg-6{display:block;max-width:25%;flex:0 0 25%}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{position:relative;left:29.1666666667%}.el-col-lg-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{position:relative;left:33.3333333333%}.el-col-lg-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{position:relative;left:41.6666666667%}.el-col-lg-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{position:relative;left:45.8333333333%}.el-col-lg-12{display:block;max-width:50%;flex:0 0 50%}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{position:relative;left:54.1666666667%}.el-col-lg-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{position:relative;left:58.3333333333%}.el-col-lg-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{position:relative;left:66.6666666667%}.el-col-lg-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{position:relative;left:70.8333333333%}.el-col-lg-18{display:block;max-width:75%;flex:0 0 75%}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{position:relative;left:79.1666666667%}.el-col-lg-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{position:relative;left:83.3333333333%}.el-col-lg-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{position:relative;left:91.6666666667%}.el-col-lg-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{position:relative;left:95.8333333333%}.el-col-lg-24{display:block;max-width:100%;flex:0 0 100%}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0,.el-col-xl-0.is-guttered{display:none}.el-col-xl-0{max-width:0%;flex:0 0 0%}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{position:relative;left:0}.el-col-xl-1{display:block;max-width:4.1666666667%;flex:0 0 4.1666666667%}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{position:relative;left:4.1666666667%}.el-col-xl-2{display:block;max-width:8.3333333333%;flex:0 0 8.3333333333%}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{position:relative;left:8.3333333333%}.el-col-xl-3{display:block;max-width:12.5%;flex:0 0 12.5%}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{display:block;max-width:16.6666666667%;flex:0 0 16.6666666667%}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{position:relative;left:16.6666666667%}.el-col-xl-5{display:block;max-width:20.8333333333%;flex:0 0 20.8333333333%}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{position:relative;left:20.8333333333%}.el-col-xl-6{display:block;max-width:25%;flex:0 0 25%}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{display:block;max-width:29.1666666667%;flex:0 0 29.1666666667%}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{position:relative;left:29.1666666667%}.el-col-xl-8{display:block;max-width:33.3333333333%;flex:0 0 33.3333333333%}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{position:relative;left:33.3333333333%}.el-col-xl-9{display:block;max-width:37.5%;flex:0 0 37.5%}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{display:block;max-width:41.6666666667%;flex:0 0 41.6666666667%}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{position:relative;left:41.6666666667%}.el-col-xl-11{display:block;max-width:45.8333333333%;flex:0 0 45.8333333333%}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{position:relative;left:45.8333333333%}.el-col-xl-12{display:block;max-width:50%;flex:0 0 50%}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{display:block;max-width:54.1666666667%;flex:0 0 54.1666666667%}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{position:relative;left:54.1666666667%}.el-col-xl-14{display:block;max-width:58.3333333333%;flex:0 0 58.3333333333%}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{position:relative;left:58.3333333333%}.el-col-xl-15{display:block;max-width:62.5%;flex:0 0 62.5%}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{display:block;max-width:66.6666666667%;flex:0 0 66.6666666667%}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{position:relative;left:66.6666666667%}.el-col-xl-17{display:block;max-width:70.8333333333%;flex:0 0 70.8333333333%}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{position:relative;left:70.8333333333%}.el-col-xl-18{display:block;max-width:75%;flex:0 0 75%}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{display:block;max-width:79.1666666667%;flex:0 0 79.1666666667%}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{position:relative;left:79.1666666667%}.el-col-xl-20{display:block;max-width:83.3333333333%;flex:0 0 83.3333333333%}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{position:relative;left:83.3333333333%}.el-col-xl-21{display:block;max-width:87.5%;flex:0 0 87.5%}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{display:block;max-width:91.6666666667%;flex:0 0 91.6666666667%}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{position:relative;left:91.6666666667%}.el-col-xl-23{display:block;max-width:95.8333333333%;flex:0 0 95.8333333333%}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{position:relative;left:95.8333333333%}.el-col-xl-24{display:block;max-width:100%;flex:0 0 100%}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{display:flex;align-items:center;height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);font-weight:500;transition:border-bottom-color var(--el-transition-duration);outline:0}.el-collapse-item__arrow{margin:0 8px 0 auto;transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);overflow:hidden;box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item__content{padding-bottom:25px;font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);line-height:1.7692307692}.el-collapse-item:last-child{margin-bottom:-1px}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap}.el-color-predefine__color-selector{margin:0 0 8px 8px;width:20px;height:20px;border-radius:4px;cursor:pointer}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector>div{display:flex;height:100%;border-radius:3px}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-color:red;padding:0 2px;float:right}.el-color-hue-slider__bar{position:relative;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid var(--el-border-color-lighter);box-shadow:0 0 2px #0009;z-index:1}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-svpanel{position:relative;width:280px;height:180px}.el-color-svpanel__black,.el-color-svpanel__white{position:absolute;top:0;left:0;right:0;bottom:0}.el-color-svpanel__white{background:linear-gradient(to right,#fff,rgba(255,255,255,0))}.el-color-svpanel__black{background:linear-gradient(to top,#000,rgba(0,0,0,0))}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{cursor:head;width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;transform:translate(-2px,-2px)}.el-color-alpha-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-alpha-slider__bar{position:relative;background:linear-gradient(to right,rgba(255,255,255,0) 0,#fff 100%);height:100%}.el-color-alpha-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid var(--el-border-color-lighter);box-shadow:0 0 2px #0009;z-index:1}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(to bottom,rgba(255,255,255,0) 0,#fff 100%)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{content:"";display:table;clear:both}.el-color-dropdown__btns{margin-top:12px;text-align:right}.el-color-dropdown__value{float:left;line-height:26px;font-size:12px;color:#000;width:160px}.el-color-picker{display:inline-block;position:relative;line-height:normal}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--large{height:40px}.el-color-picker--large .el-color-picker__trigger{height:40px;width:40px}.el-color-picker--large .el-color-picker__mask{height:38px;width:38px}.el-color-picker--small{height:24px}.el-color-picker--small .el-color-picker__trigger{height:24px;width:24px}.el-color-picker--small .el-color-picker__mask{height:22px;width:22px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:scale(.8)}.el-color-picker__mask{height:38px;width:38px;border-radius:4px;position:absolute;top:1px;left:1px;z-index:1;cursor:not-allowed;background-color:#ffffffb3}.el-color-picker__trigger{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;height:32px;width:32px;padding:4px;border:1px solid var(--el-border-color);border-radius:4px;font-size:0;position:relative;cursor:pointer}.el-color-picker__color{position:relative;display:block;box-sizing:border-box;border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);width:100%;height:100%;text-align:center}.el-color-picker__color.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-picker__color-inner{display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%}.el-color-picker .el-color-picker__empty{font-size:12px;color:var(--el-text-color-secondary)}.el-color-picker .el-color-picker__icon{display:inline-flex;justify-content:center;align-items:center;color:#fff;font-size:12px}.el-color-picker__panel{position:absolute;z-index:10;padding:6px;box-sizing:content-box;background-color:#fff;border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light)}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-container{display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.el-container.is-vertical{flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td .el-date-table-cell{height:30px;padding:3px 0;box-sizing:border-box}.el-date-table td .el-date-table-cell .el-date-table-cell__text{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translate(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{margin-left:5px;margin-right:5px;background-color:var(--el-datepicker-inrange-bg-color);border-radius:15px}.el-date-table td.selected .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:var(--el-datepicker-header-text-color)}.el-date-table th{padding:5px;color:var(--el-datepicker-header-text-color);font-weight:400;border-bottom:solid 1px var(--el-border-color-lighter)}.el-month-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range div{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range div:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-year-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-year-table td .cell{width:48px;height:32px;display:block;line-height:32px;color:var(--el-datepicker-text-color);margin:0 auto}.el-year-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:192px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:#fff;cursor:default}.el-time-spinner__arrow{font-size:12px;color:var(--el-text-color-secondary);position:absolute;left:0;width:100%;z-index:var(--el-index-normal);text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{padding:0;text-align:center}.el-time-spinner__list{padding:0;margin:0;list-style:none;text-align:center}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:var(--el-text-color-regular)}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-picker__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);position:relative;display:inline-block;text-align:left}.el-date-editor.el-input,.el-date-editor.el-input__inner{width:var(--el-date-editor-width)}.el-date-editor--monthrange.el-input,.el-date-editor--monthrange.el-input__inner{width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange.el-input,.el-date-editor--daterange.el-input__inner,.el-date-editor--timerange.el-input,.el-date-editor--timerange.el-input__inner{width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange.el-input,.el-date-editor--datetimerange.el-input__inner{width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__inner{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{height:inherit;font-size:14px;color:var(--el-text-color-placeholder);float:left}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;appearance:none;border:none;outline:0;display:inline-block;height:100%;margin:0;padding:0;width:39%;text-align:center;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:transparent}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{flex:1;display:inline-flex;justify-content:center;align-items:center;height:100%;padding:0 5px;margin:0;font-size:14px;word-break:keep-all;color:var(--el-text-color-primary)}.el-date-editor .el-range__close-icon{font-size:14px;color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__inner{display:inline-flex;align-items:center;padding:3px 10px}.el-range-editor .el-range-input{line-height:1}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:40px}.el-range-editor--large.el-input__inner{height:40px}.el-range-editor--large .el-range-separator{line-height:40px;font-size:14px}.el-range-editor--large .el-range-input{font-size:14px}.el-range-editor--small{line-height:24px}.el-range-editor--small.el-input__inner{height:24px}.el-range-editor--small .el-range-separator{line-height:24px;font-size:12px}.el-range-editor--small .el-range-input{font-size:12px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);line-height:30px}.el-picker-panel .el-time-panel{margin:5px 0;border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-color-white);box-shadow:var(--el-box-shadow-light)}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);padding:4px 12px;text-align:right;background-color:var(--el-bg-color-overlay);position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:var(--el-datepicker-text-color);padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:var(--el-datepicker-icon-color);border:0;background:0 0;cursor:pointer;outline:0;margin-top:8px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;padding-top:6px;background-color:var(--el-bg-color-overlay);overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:solid 1px var(--el-border-color-lighter)}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:var(--el-text-color-regular)}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:var(--el-datepicker-icon-color)}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid var(--el-datepicker-border-color)}.el-time-panel{border-radius:2px;position:relative;width:180px;left:0;z-index:var(--el-index-top);-webkit-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-16px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left;border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light)}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:var(--el-text-color-primary)}.el-time-panel__btn.confirm{font-weight:800;color:var(--el-timepicker-active-color,var(--el-color-primary))}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;font-size:var(--el-font-size-base);color:var(--el-text-color-primary)}.el-descriptions__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;text-align:left;font-weight:400;line-height:23px;font-size:14px}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{font-weight:700;color:var(--el-text-color-regular);background:var(--el-descriptions-item-bordered-label-background)}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:var(--el-popup-modal-opacity);background:var(--el-popup-modal-bg-color)}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:20px;--el-dialog-border-radius:var(--el-border-radius-small);position:relative;margin:var(--el-dialog-margin-top,15vh) auto 50px;background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;width:var(--el-dialog-width,50%)}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;user-select:none}.el-dialog__header{padding:var(--el-dialog-padding-primary);padding-bottom:10px;margin-right:16px;word-break:break-all}.el-dialog__headerbtn{position:absolute;top:6px;right:0;padding:0;width:54px;height:54px;background:0 0;border:none;outline:0;cursor:pointer;font-size:var(--el-message-close-size,16px)}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{line-height:var(--el-dialog-font-line-height);font-size:var(--el-dialog-title-font-size);color:var(--el-text-color-primary)}.el-dialog__body{padding:calc(var(--el-dialog-padding-primary) + 10px) var(--el-dialog-padding-primary);color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size);word-break:break-all}.el-dialog__footer{padding:var(--el-dialog-padding-primary);padding-top:10px;text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial;padding:25px calc(var(--el-dialog-padding-primary) + 5px) 30px}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{display:block;height:1px;width:100%;margin:24px 0;border-top:1px var(--el-border-color) var(--el-border-style)}.el-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 8px;vertical-align:middle;position:relative;border-left:1px var(--el-border-color) var(--el-border-style)}.el-divider__text{position:absolute;background-color:var(--el-bg-color);padding:0 20px;font-weight:500;color:var(--el-text-color-primary);font-size:14px}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color, var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary, 20px)}.el-drawer{position:absolute;box-sizing:border-box;background-color:var(--el-drawer-bg-color);display:flex;flex-direction:column;box-shadow:var(--el-box-shadow-dark);overflow:hidden;transition:all var(--el-transition-duration)}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:1rem}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{border:none;cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:transparent;outline:0}.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__close-btn .el-icon{font-size:inherit;vertical-align:text-bottom}.el-drawer__body{flex:1;padding:var(--el-drawer-padding-primary);overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.btt,.el-drawer.ttb{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{opacity:0}.el-drawer-fade-enter-to,.el-drawer-fade-leave-from{opacity:1}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary-light-3);--el-dropdown-menu-index:10;display:inline-flex;position:relative;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary-light-3);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-dropdown__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:0}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{list-style:none;padding:0;margin:0;box-sizing:border-box}.el-dropdown .el-dropdown__caret-button{padding-left:0;padding-right:0;display:inline-flex;justify-content:center;align-items:center;width:32px;border-left:none}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:5px;bottom:5px;left:0;background:var(--el-overlay-color-lighter)}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button:hover:before{top:0;bottom:0}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:0}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{position:relative;top:0;left:0;z-index:var(--el-dropdown-menu-index);padding:5px 0;margin:0;background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;list-style:none}.el-dropdown-menu__item{display:flex;align-items:center;white-space:nowrap;list-style:none;line-height:22px;padding:5px 16px;margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:0}.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{margin:6px 0;border-top:1px solid var(--el-border-color-lighter)}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;line-height:22px;font-size:14px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;line-height:20px;font-size:12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--el-empty-padding)}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{-webkit-user-select:none;user-select:none;width:100%;height:100%;vertical-align:top;object-fit:contain}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:100%;height:100%;vertical-align:top}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-secondary)}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;padding:var(--el-footer-padding);box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height)}.el-form{--el-form-label-font-size:var(--el-font-size-base)}.el-form--label-left .el-form-item__label{text-align:left}.el-form--label-top .el-form-item{display:block}.el-form--label-top .el-form-item .el-form-item__label{display:block;text-align:left;margin-bottom:8px;line-height:22px}.el-form--inline .el-form-item{display:inline-flex;vertical-align:middle;margin-right:32px}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form--large.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:12px;line-height:22px}.el-form--default.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:8px;line-height:22px}.el-form--small.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:4px;line-height:20px}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label,.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label,.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label,.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item__label-wrap{display:flex}.el-form-item__label-wrap .el-form-item__label{display:inline-block}.el-form-item__label{flex:0 0 auto;text-align:right;font-size:var(--el-form-label-font-size);color:var(--el-text-color-regular);line-height:32px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{display:flex;flex-wrap:wrap;align-items:center;flex:1;line-height:32px;position:relative;font-size:var(--font-size);min-width:0}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;line-height:1;padding-top:2px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-error .el-input__inner,.el-form-item.is-error .el-input__inner:focus,.el-form-item.is-error .el-select-v2__wrapper,.el-form-item.is-error .el-select-v2__wrapper:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__inner,.el-form-item.is-error .el-input-group__prepend .el-input__inner{box-shadow:0 0 0 1px transparent inset}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-header{--el-header-padding:0 20px;--el-header-height:60px;padding:var(--el-header-padding);box-sizing:border-box;flex-shrink:0;height:var(--el-header-height)}.el-image-viewer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.el-image-viewer__btn{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;border-radius:50%;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;user-select:none}.el-image-viewer__btn .el-icon{font-size:inherit;cursor:pointer}.el-image-viewer__close{top:40px;right:40px;width:40px;height:40px;font-size:40px}.el-image-viewer__canvas{width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none}.el-image-viewer__actions{left:50%;bottom:30px;transform:translate(-50%);width:282px;height:44px;padding:0 23px;background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px}.el-image-viewer__actions__inner{width:100%;height:100%;text-align:justify;cursor:default;font-size:23px;color:#fff;display:flex;align-items:center;justify-content:space-around}.el-image-viewer__prev{top:50%;transform:translateY(-50%);left:40px;width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__next{top:50%;transform:translateY(-50%);right:40px;text-indent:2px;width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__close{width:44px;height:44px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-image-viewer__mask{position:absolute;width:100%;height:100%;top:0;left:0;opacity:.5;background:#000}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-image__error,.el-image__inner,.el-image__placeholder{width:100%;height:100%}.el-image{position:relative;display:inline-block;overflow:hidden}.el-image__inner{vertical-align:top}.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{display:flex;justify-content:center;align-items:center;font-size:14px;background:var(--el-fill-color-light);color:var(--el-text-color-placeholder);vertical-align:middle}.el-image__preview{cursor:pointer}.el-input-number{position:relative;display:inline-block;width:150px;line-height:30px}.el-input-number .el-input{display:block}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;padding-left:42px;padding-right:42px;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.el-input-number__decrease,.el-input-number__increase{display:flex;justify-content:center;align-items:center;height:auto;position:absolute;z-index:1;top:1px;bottom:1px;width:32px;background:var(--el-fill-color-light);color:var(--el-text-color-regular);cursor:pointer;font-size:13px;-webkit-user-select:none;user-select:none}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__inner,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__inner{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border)}.el-input-number__decrease{left:1px;border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border)}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{width:40px;font-size:14px}.el-input-number--large .el-input__inner{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:24px;font-size:12px}.el-input-number--small .el-input__inner{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__inner{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__inner{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{bottom:auto;left:auto;border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border)}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;top:auto;left:auto;border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--el-font-size-base)}.el-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--el-input-text-color,var(--el-text-color-regular));background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);border:none}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{border-color:var(--el-color-danger)}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);position:relative;font-size:var(--el-font-size-base);display:inline-flex;width:100%;line-height:32px}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--el-text-color-disabled)}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear{color:var(--el-input-icon-color);font-size:14px;cursor:pointer;transition:var(--el-transition-color);margin-left:8px}.el-input .el-input__clear:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:var(--el-color-info);font-size:12px}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;display:inline-block;padding:0 5px}.el-input__inner{position:relative;-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:inline-block;font-size:inherit;height:32px;line-height:32px;outline:0;padding:0 11px;transition:var(--el-transition-box-shadow);width:100%;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;border:none}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__inner:focus{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__suffix{display:inline-flex;position:absolute;height:100%;right:12px;top:0;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__suffix-inner{pointer-events:all;display:inline-flex}.el-input__prefix{display:inline-flex;position:absolute;height:100%;left:12px;top:0;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration)}.el-input__prefix-inner{pointer-events:all;display:inline-flex}.el-input .el-input__icon{height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__inner{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border,) inset}.el-input.is-disabled .el-input__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--suffix .el-input__inner{padding-right:31px}.el-input--suffix--password-clear .el-input__inner{padding-right:55px}.el-input--prefix .el-input__inner{padding-left:31px}.el-input--large{font-size:14px;line-height:38px}.el-input--large .el-input__inner{height:40px;line-height:40px;padding:0 15px}.el-input--large .el-input__icon{line-height:40px}.el-input--large.el-input--prefix .el-input__inner{padding-left:35px}.el-input--large.el-input--suffix .el-input__inner{padding-right:35px}.el-input--large .el-input__prefix{left:16px}.el-input--large .el-input__suffix{right:16px}.el-input--small{font-size:12px;line-height:22px}.el-input--small .el-input__inner{height:24px;line-height:24px;padding:0 7px}.el-input--small .el-input__icon{line-height:24px}.el-input--small.el-input--prefix .el-input__inner{padding-left:25px}.el-input--small.el-input--suffix .el-input__inner{padding-right:25px}.el-input--small .el-input__prefix{left:8px}.el-input--small .el-input__suffix{right:8px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate;border-spacing:0}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);vertical-align:middle;display:table-cell;position:relative;border-radius:var(--el-input-border-radius);padding:0 20px;width:1px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-input__inner,.el-input-group__append div.el-select:hover .el-input__inner,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-input__inner,.el-input-group__prepend div.el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend .el-input__inner{box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__inner{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 0 0 1px var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input-group--prepend>.el-input__inner:focus{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__inner{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__inner:focus{outline:0;z-index:2;box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner{box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important;z-index:2}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner:focus{outline:0;z-index:2;box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__inner{z-index:1;box-shadow:1px 0 0 0 var(--el-input-hover-border-color) inset,1px 0 0 0 var(--el-input-hover-border-color),0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-input-group--append>.el-input__inner{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__inner{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:-1px 0 0 0 var(--el-input-border-color),-1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__inner:focus{outline:0;z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__inner{outline:0;z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__inner:focus{outline:0;z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__inner{z-index:1;box-shadow:-1px 0 0 0 var(--el-input-hover-border-color),-1px 0 0 0 var(--el-input-hover-border-color) inset,0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder)}.el-link{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;vertical-align:middle;position:relative;text-decoration:none;outline:0;cursor:pointer;padding:0;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);color:var(--el-link-text-color)}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link.is-underline:hover:after{content:"";position:absolute;left:0;right:0;height:0;bottom:0;border-bottom:1px solid var(--el-link-hover-text-color)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default:after{border-color:var(--el-link-hover-text-color)}.el-link__inner{display:inline-flex;justify-content:center;align-items:center}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--primary:after{border-color:var(--el-link-text-color)}.el-link.el-link--primary.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--success:after{border-color:var(--el-link-text-color)}.el-link.el-link--success.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--warning:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--danger:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--error:after{border-color:var(--el-link-text-color)}.el-link.el-link--error.is-underline:hover:after{border-color:var(--el-link-text-color)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.el-link--info:after{border-color:var(--el-link-text-color)}.el-link.el-link--info.is-underline:hover:after{border-color:var(--el-link-text-color)}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:var(--el-mask-color);margin:0;top:0;right:0;bottom:0;left:0;transition:opacity var(--el-transition-duration)}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/ 2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{top:50%;margin-top:calc((0px - var(--el-loading-spinner-size))/ 2);width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);margin:3px 0;font-size:14px}.el-loading-spinner .circular{display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size);animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(360deg)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-main{--el-main-padding:20px;display:block;flex:1;flex-basis:auto;overflow:auto;box-sizing:border-box;padding:var(--el-main-padding)}.el-menu{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-text-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);border-right:solid 1px var(--el-menu-border-color);list-style:none;position:relative;margin:0;padding-left:0;background-color:var(--el-menu-bg-color);box-sizing:border-box}.el-menu--horizontal{display:flex;flex-wrap:nowrap;border-bottom:solid 1px var(--el-menu-border-color);border-right:none}.el-menu--horizontal>.el-menu-item{display:inline-flex;justify-content:center;align-items:center;height:100%;margin:0;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus,.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover{background-color:#fff}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:0}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{height:100%;border-bottom:2px solid transparent;color:var(--el-menu-text-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-bg-color-overlay)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__icon-arrow{position:static;vertical-align:middle;margin-left:8px;margin-top:-3px}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--el-menu-bg-color);display:flex;align-items:center;height:36px;padding:0 10px;color:var(--el-menu-text-color)}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{outline:0;color:var(--el-menu-hover-text-color);background-color:var(--el-menu-hover-bg-color)}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:64px}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;vertical-align:middle;width:24px;text-align:center}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu{position:relative}.el-menu--collapse .el-sub-menu .el-menu{position:absolute;margin-left:5px;top:0;left:100%;z-index:10;border:1px solid var(--el-border-color-light);border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light)}.el-menu--collapse .el-sub-menu.is-opened>.el-sub-menu__title .el-sub-menu__icon-arrow{transform:none}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{z-index:100;min-width:200px;border:none;padding:5px 0;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light)}.el-menu .el-icon{flex-shrink:0}.el-menu-item{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 20px;list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:0}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-menu-item [class^=el-icon]{margin-right:5px;width:24px;text-align:center;font-size:18px;vertical-align:middle}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{position:absolute;left:0;top:0;height:100%;width:100%;display:inline-flex;align-items:center;box-sizing:border-box;padding:0 20px}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{display:flex;align-items:center;height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);font-size:var(--el-menu-item-font-size);color:var(--el-menu-text-color);padding:0 20px;list-style:none;cursor:pointer;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);box-sizing:border-box;white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:0}.el-sub-menu__title.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:50px;line-height:50px;padding:0 45px;min-width:200px}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-opened>.el-sub-menu__title .el-sub-menu__icon-arrow{transform:rotate(180deg)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{opacity:.25;cursor:not-allowed;background:0 0!important}.el-sub-menu .el-icon{vertical-align:middle;margin-right:5px;width:24px;text-align:center;font-size:18px}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{position:absolute;top:50%;right:20px;margin-top:-7px;transition:transform var(--el-transition-duration);font-size:12px;margin-right:0;width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px 20px;line-height:normal;font-size:12px;color:var(--el-text-color-secondary)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{transition:var(--el-transition-duration-fast);opacity:0}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:15px}.el-message-box{display:inline-block;width:var(--el-messagebox-width);padding-bottom:10px;vertical-align:middle;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);border:1px solid var(--el-border-color-lighter);font-size:var(--el-messagebox-font-size);box-shadow:var(--el-box-shadow-light);text-align:left;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.el-overlay.is-message-box .el-overlay-message-box{text-align:center;position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;user-select:none}.el-message-box__header{position:relative;padding:var(--el-messagebox-padding-primary);padding-bottom:10px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:var(--el-messagebox-font-size);line-height:1;color:var(--el-messagebox-title-color)}.el-message-box__headerbtn{position:absolute;top:var(--el-messagebox-padding-primary);right:var(--el-messagebox-padding-primary);padding:0;border:none;outline:0;background:0 0;font-size:var(--el-message-close-size,16px);cursor:pointer}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{padding:10px var(--el-messagebox-padding-primary);color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{position:relative}.el-message-box__input{padding-top:15px}.el-message-box__input div.invalid>input{border-color:var(--el-color-error)}.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{position:absolute;top:50%;transform:translateY(-50%);font-size:24px!important}.el-message-box__status:before{padding-left:1px}.el-message-box__status.el-icon{position:absolute}.el-message-box__status+.el-message-box__message{padding-left:36px;padding-right:12px;word-break:break-word}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:24px}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);min-height:18px;margin-top:2px}.el-message-box__btns{padding:5px 15px 0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{flex-direction:row-reverse}.el-message-box--center .el-message-box__title{position:relative;display:flex;align-items:center;justify-content:center}.el-message-box--center .el-message-box__status{position:relative;top:auto;padding-right:5px;text-align:center;transform:translateY(-1px)}.el-message-box--center .el-message-box__message{margin-left:0}.el-message-box--center .el-message-box__btns{justify-content:center}.el-message-box--center .el-message-box__content{padding-left:calc(var(--el-messagebox-padding-primary) + 12px);padding-right:calc(var(--el-messagebox-padding-primary) + 12px);text-align:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-message{--el-message-min-width:380px;--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:15px 15px 15px 20px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary)}.el-message{min-width:var(--el-message-min-width);box-sizing:border-box;border-radius:var(--el-border-radius-base);border-width:var(--el-border-width-base);border-style:var(--el-border-style-base);border-color:var(--el-message-border-color);position:fixed;left:50%;top:20px;transform:translate(-50%);transition:opacity .3s,transform .4s,top .4s;background-color:var(--el-message-bg-color);transition:opacity var(--el-transition-duration),transform .4s,top .4s;padding:var(--el-message-padding);display:flex;align-items:center}.el-message.is-center{justify-content:center}.el-message.is-closable .el-message__content{padding-right:16px}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content,.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content,.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content,.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content,.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message__icon{margin-right:10px}.el-message .el-message__badge{position:absolute;top:-8px;right:-8px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{position:absolute;top:50%;right:15px;transform:translateY(-50%);cursor:pointer;color:var(--el-message-close-icon-color);font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size, 16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular)}.el-notification{display:flex;width:var(--el-notification-width);padding:var(--el-notification-padding);border-radius:var(--el-notification-radius);box-sizing:border-box;border:1px solid var(--el-notification-border-color);position:fixed;background-color:var(--el-bg-color-overlay);box-shadow:var(--el-notification-shadow);transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);overflow-wrap:anywhere;overflow:hidden;z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right)}.el-notification__title{font-weight:700;font-size:var(--el-notification-title-font-size);line-height:var(--el-notification-icon-size);color:var(--el-notification-title-color);margin:0}.el-notification__content{font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0;color:var(--el-notification-content-color);text-align:justify}.el-notification__content p{margin:0}.el-notification .el-notification__icon{height:var(--el-notification-icon-size);width:var(--el-notification-icon-size);font-size:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:var(--el-notification-close-color);font-size:var(--el-notification-close-font-size)}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0}.el-page-header{display:flex;line-height:24px}.el-page-header__left{display:flex;cursor:pointer;margin-right:40px;position:relative}.el-page-header__left:after{content:"";position:absolute;width:1px;height:16px;right:-20px;top:50%;transform:translateY(-50%);background-color:var(--el-border-color)}.el-page-header__icon{font-size:18px;margin-right:6px;display:flex;align-items:center}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{font-size:18px;color:var(--el-text-color-primary)}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:3px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-height-extra-small:24px;--el-pagination-line-height-extra-small:var(--el-pagination-height-extra-small);white-space:nowrap;padding:2px 5px;color:var(--el-pagination-text-color);font-weight:400;display:flex;align-items:center}.el-pagination:after,.el-pagination:before{display:table;content:""}.el-pagination:after{clear:both}.el-pagination button,.el-pagination span:not([class*=suffix]){display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);box-sizing:border-box}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield;line-height:normal}.el-pagination .el-select .el-input{width:128px}.el-pagination button{border:none;padding:0 6px;background:0 0}.el-pagination button:focus{outline:0}.el-pagination button:hover{color:var(--el-pagination-hover-color)}.el-pagination button:disabled{color:var(--el-pagination-button-disabled-color);background-color:var(--el-pagination-button-disabled-bg-color);cursor:not-allowed}.el-pagination .btn-next,.el-pagination .btn-prev{background:center center no-repeat;background-size:16px;background-color:var(--el-pagination-bg-color);cursor:pointer;margin:0;color:var(--el-pagination-button-color)}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination .el-pager li.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li,.el-pagination--small .el-pager li.btn-quicknext,.el-pagination--small .el-pager li.btn-quickprev,.el-pagination--small .el-pager li:last-child{border-color:transparent;font-size:var(--el-font-size-extra-small);line-height:var(--el-pagination-line-height-extra-small);height:var(--el-pagination-height-extra-small);min-width:24px}.el-pagination--small .arrow.is-disabled{visibility:hidden}.el-pagination--small .more:before,.el-pagination--small li.more:before{line-height:var(--el-pagination-line-height-extra-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){height:var(--el-pagination-height-extra-small);line-height:var(--el-pagination-line-height-extra-small);font-size:var(--el-font-size-extra-small)}.el-pagination--small .el-pagination__editor{height:var(--el-pagination-line-height-extra-small)}.el-pagination--small .el-pagination__editor.el-input .el-input__inner{height:var(--el-pagination-height-extra-small)}.el-pagination--small .el-input--small,.el-pagination--small .el-input__inner{height:var(--el-pagination-height-extra-small)!important;line-height:var(--el-pagination-line-height-extra-small)}.el-pagination--small .el-input__suffix,.el-pagination--small .el-input__suffix .el-input__suffix-inner,.el-pagination--small .el-input__suffix .el-input__suffix-inner i.el-select__caret{line-height:var(--el-pagination-line-height-extra-small)}.el-pagination--small .el-select .el-input{width:100px}.el-pagination__sizes{margin:0 16px 0 0;font-weight:400;color:var(--el-text-color-regular)}.el-pagination__sizes+button.btn-prev[type=button]{margin-left:0}.el-pagination__sizes+.el-pager .number:first-child{margin-left:0}.el-pagination__sizes+.el-pager .number:last-child{margin-right:0}.el-pagination__total{margin-right:16px;font-weight:400;color:var(--el-text-color-regular)}.el-pagination__total+button.btn-prev[type=button]{margin-left:0}.el-pagination__total+.el-pager .number:first-child{margin-left:0}.el-pagination__total+.el-pager .number:last-child{margin-right:0}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{margin-left:16px;font-weight:400;color:var(--el-text-color-regular)}.el-pagination__jump .el-input__inner{padding:0 3px}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__rightwrapper{flex:1;display:flex;align-items:center;justify-content:flex-end}.el-pagination__editor{line-height:18px;margin:0 8px;height:var(--el-pagination-button-height);min-width:56px;text-align:center;box-sizing:border-box;border-radius:var(--el-pagination-border-radius)}.el-pagination__editor.el-input{width:50px}.el-pagination__editor.el-input .el-input__inner{height:var(--el-pagination-button-height)}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{margin:0 4px;background-color:var(--el-pagination-button-bg-color);color:var(--el-text-color-regular);min-width:32px;border-radius:2px}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .el-pager li.is-disabled{color:var(--el-text-color-placeholder);background-color:var(--el-disabled-bg-color)}.el-pagination.is-background .btn-next.is-first,.el-pagination.is-background .btn-prev.is-first,.el-pagination.is-background .el-pager li.is-first{margin-left:0}.el-pagination.is-background .btn-next.is-last,.el-pagination.is-background .btn-prev.is-last,.el-pagination.is-background .el-pager li.is-last{margin-right:0}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0}.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev:disabled{color:var(--el-text-color-placeholder);background-color:var(--el-disabled-bg-color)}.el-pagination.is-background .btn-next:hover:not([disabled]),.el-pagination.is-background .btn-prev:hover:not([disabled]){color:var(--el-pagination-hover-color)}.el-pagination.is-background .el-pager li:not(.is-disabled):hover{color:var(--el-pagination-hover-color)}.el-pagination.is-background .el-pager li:not(.is-disabled).is-active{background-color:var(--el-color-primary);color:var(--el-color-white);font-weight:700}.el-pagination.is-background.el-pagination--small .btn-next,.el-pagination.is-background.el-pagination--small .btn-prev,.el-pagination.is-background.el-pagination--small .el-pager li{min-width:24px}.el-pager{-webkit-user-select:none;user-select:none;list-style:none;font-size:0;padding:0;margin:0;display:flex;align-items:center}.el-pager li{padding:0 4px;background:var(--el-pagination-bg-color);display:flex;justify-content:center;align-items:center;font-size:var(--el-pagination-font-size);min-width:var(--el-pagination-button-width);height:var(--el-pagination-button-height);line-height:var(--el-pagination-button-height);box-sizing:border-box;cursor:pointer;text-align:center}.el-pager li.btn-quickprev:hover,.el-pager li.btn-quicknext:hover{cursor:pointer}.el-pager li.btn-quicknext,.el-pager li.btn-quickprev{line-height:32px;color:var(--el-pagination-button-color)}.el-pager li.btn-quicknext.is-disabled,.el-pager li.btn-quickprev.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-pager li.btn-quicknext svg,.el-pager li.btn-quickprev svg{pointer-events:none}.el-pager li.is-active+li{border-left:0}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color)}.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{color:var(--el-pagination-hover-color);cursor:default}.el-pager+button.btn-next[type=button]{margin-right:0}.el-popconfirm__main{display:flex;align-items:center}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{text-align:right;margin-top:8px}.el-popover{--el-popover-bg-color:var(--el-color-white);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);min-width:150px;border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;text-align:justify;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);word-break:break-all}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.el-progress{position:relative;line-height:1;display:flex;align-items:center}.el-progress__text{font-size:14px;color:var(--el-text-color-regular);margin-left:5px;min-width:50px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{flex-grow:1;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:var(--el-border-color-lighter);overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:var(--el-color-primary);text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{transform:translateZ(0);animation:indeterminate 3s infinite}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light)}.el-radio-button{position:relative;display:inline-block;outline:0}.el-radio-button__inner{display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));border-left:0;color:var(--el-button-text-color,var(--el-text-color-regular));-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;position:relative;cursor:pointer;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;padding:8px 15px;font-size:var(--el-font-size-base);border-radius:0}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:var(--el-border);border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button__original-radio{opacity:0;outline:0;position:absolute;z-index:-1}.el-radio-button__original-radio:checked+.el-radio-button__inner{color:var(--el-radio-button-checked-text-color,var(--el-color-white));background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary))}.el-radio-button__original-radio:disabled+.el-radio-button__inner{color:var(--el-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{padding:12px 19px;font-size:var(--el-font-size-base);border-radius:0}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{padding:5px 11px;font-size:12px;border-radius:0}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled){box-shadow:0 0 2px 2px var(--el-radio-button-checked-border-color)}.el-radio-group{display:inline-flex;align-items:center;flex-wrap:wrap;font-size:0}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary)}.el-radio{color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;outline:0;font-size:var(--el-font-size-base);-webkit-user-select:none;user-select:none;margin-right:32px;height:32px}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{padding:0 11px 0 7px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{width:4px;height:4px;border-radius:var(--el-radio-input-border-radius);background-color:var(--el-color-white);content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:0;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary)}.el-rate{display:inline-flex;align-items:center;height:32px}.el-rate:active,.el-rate:focus{outline-width:0}.el-rate__item{cursor:pointer;display:inline-block;position:relative;font-size:0;vertical-align:middle;color:var(--el-rate-void-color)}.el-rate .el-rate__icon{position:relative;display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{position:absolute;left:0;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{position:absolute;top:0;left:0;display:inline-block;overflow:hidden;color:var(--el-rate-fill-color)}.el-rate__text{font-size:var(--el-rate-font-size);vertical-align:middle;color:var(--el-rate-text-color)}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate.is-disabled .el-rate__item{cursor:auto;color:var(--el-rate-disabled-void-color)}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px}.el-result{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--el-result-padding)}.el-result__icon svg{width:var(--el-result-icon-font-size);height:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{margin:0;font-size:var(--el-result-title-font-size);color:var(--el-text-color-primary);line-height:1.3}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);line-height:1.3}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-row{display:flex;flex-wrap:wrap;position:relative;box-sizing:border-box}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary)}.el-scrollbar{overflow:hidden;position:relative;height:100%}.el-scrollbar__wrap{overflow:auto;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));transition:var(--el-transition-duration) background-color;opacity:var(--el-scrollbar-opacity,.3)}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__option-item:hover:not(.hover){background-color:transparent}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size)}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;margin:6px 0!important;padding:0!important;box-sizing:border-box}.el-select-dropdown__option-item{font-size:var(--el-select-font-size);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__option-item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown__option-item.is-disabled:hover{background-color:var(--el-color-white)}.el-select-dropdown__option-item.is-selected{background-color:var(--el-fill-color-light);font-weight:700}.el-select-dropdown__option-item.is-selected:not(.is-multiple){color:var(--el-color-primary)}.el-select-dropdown__option-item.hover{background-color:var(--el-fill-color-light)!important}.el-select-dropdown__option-item:hover{background-color:var(--el-fill-color-light)}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay)}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected .el-icon{position:absolute;right:20px;top:0;height:inherit;font-size:12px}.el-select-dropdown.is-multiple .el-select-dropdown__option-item.is-selected .el-icon svg{height:inherit;vertical-align:middle}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:var(--el-border-color-light)}.el-select-group__split-dash{position:absolute;left:20px;right:20px;height:1px;background:var(--el-border-color-light)}.el-select-group__title{padding-left:20px;font-size:12px;color:var(--el-color-info);line-height:30px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select-v2{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px}.el-select-v2{display:inline-block;position:relative;vertical-align:middle;font-size:14px}.el-select-v2__wrapper{display:flex;align-items:center;flex-wrap:wrap;box-sizing:border-box;cursor:pointer;padding:1px 30px 1px 0;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);transition:border-color var(--el-transition-duration-fast) var(--el-ease-in-out-bezier-function)}.el-select-v2__wrapper:hover{border-color:var(--el-text-color-placeholder)}.el-select-v2__wrapper.is-filterable{cursor:text}.el-select-v2__wrapper.is-focused{border-color:var(--el-color-primary)}.el-select-v2__wrapper.is-hovering:not(.is-focused){border-color:var(--el-text-color-placeholder)}.el-select-v2__wrapper.is-disabled{cursor:not-allowed;background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);border-color:var(--el-select-disabled-border)}.el-select-v2__wrapper.is-disabled:hover{border-color:var(--el-select-disabled-border)}.el-select-v2__wrapper.is-disabled.is-focus{border-color:var(--el-input-focus-border-color)}.el-select-v2__wrapper.is-disabled .is-transparent{opacity:1;-webkit-user-select:none;user-select:none}.el-select-v2__wrapper.is-disabled .el-select-v2__caret,.el-select-v2__wrapper.is-disabled .el-select-v2__combobox-input{cursor:not-allowed}.el-select-v2__wrapper .el-select-v2__input-wrapper{box-sizing:border-box;position:relative;margin-inline-start:12px;max-width:100%;overflow:hidden}.el-select-v2__wrapper,.el-select-v2__wrapper .el-select-v2__input-wrapper{line-height:32px}.el-select-v2__wrapper .el-select-v2__input-wrapper input{line-height:24px;height:24px;min-width:4px;width:100%;background-color:transparent;-webkit-appearance:none;appearance:none;background:0 0;border:none;margin:2px 0;outline:0;padding:0}.el-select-v2 .el-select-v2__tags-text{text-overflow:ellipsis;display:inline-flex;justify-content:center;align-items:center;overflow:hidden}.el-select-v2__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:14px}.el-select-v2__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select-v2__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select-v2__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select-v2__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select-v2__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select-v2__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select-v2--large .el-select-v2__wrapper .el-select-v2__combobox-input{height:32px}.el-select-v2--large .el-select-v2__caret,.el-select-v2--large .el-select-v2__suffix{height:40px}.el-select-v2--large .el-select-v2__placeholder{font-size:14px;line-height:40px}.el-select-v2--small .el-select-v2__wrapper .el-select-v2__combobox-input{height:16px}.el-select-v2--small .el-select-v2__caret,.el-select-v2--small .el-select-v2__suffix{height:24px}.el-select-v2--small .el-select-v2__placeholder{font-size:12px;line-height:24px}.el-select-v2 .el-select-v2__selection>span{display:inline-block}.el-select-v2:hover .el-select-v2__combobox-input{border-color:var(--el-select-border-color-hover)}.el-select-v2 .el-select__selection-text{text-overflow:ellipsis;display:inline-block;overflow-x:hidden;vertical-align:bottom}.el-select-v2 .el-select-v2__combobox-input{padding-right:35px;display:block}.el-select-v2 .el-select-v2__combobox-input:focus{border-color:var(--el-select-input-focus-border-color)}.el-select-v2__input{border:none;outline:0;padding:0;margin-left:15px;color:var(--el-select-multiple-input-color);font-size:var(--el-select-font-size);-webkit-appearance:none;appearance:none;height:28px}.el-select-v2__input.is-small{height:14px}.el-select-v2__close{cursor:pointer;position:absolute;top:8px;z-index:var(--el-index-top);right:25px;color:var(--el-select-input-color);line-height:18px;font-size:var(--el-select-input-font-size)}.el-select-v2__close:hover{color:var(--el-select-close-hover-color)}.el-select-v2__suffix{display:inline-flex;position:absolute;right:12px;height:32px;top:50%;transform:translateY(-50%);color:var(--el-input-icon-color,var(--el-text-color-placeholder))}.el-select-v2__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:transform var(--el-transition-duration);transform:rotate(180deg);cursor:pointer}.el-select-v2__caret.is-reverse{transform:rotate(0)}.el-select-v2__caret.is-show-close{font-size:var(--el-select-font-size);text-align:center;transform:rotate(180deg);border-radius:var(--el-border-radius-circle);color:var(--el-select-input-color);transition:var(--el-transition-color)}.el-select-v2__caret.is-show-close:hover{color:--el-select-close-hover-color}.el-select-v2__caret.el-icon{height:inherit}.el-select-v2__caret.el-icon svg{vertical-align:middle}.el-select-v2__selection{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-select-v2__wrapper{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);position:relative;transition:all var(--el-transition-duration) var(--el-ease-in-out-bezier-function)}.el-select-v2__input-calculator{left:0;position:absolute;top:0;visibility:hidden;white-space:pre;z-index:999}.el-select-v2__selected-item{line-height:inherit;height:inherit;-webkit-user-select:none;user-select:none;display:flex}.el-select-v2__placeholder{position:absolute;top:50%;transform:translateY(-50%);margin-inline-start:12px;width:calc(100% - 52px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--el-input-text-color,var(--el-text-color-regular))}.el-select-v2__placeholder.is-transparent{color:var(--el-text-color-placeholder)}.el-select-v2 .el-select-v2__selection .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 0 2px 6px;background-color:var(--el-fill-color)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;color:var(--el-color-white)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select-v2 .el-select-v2__selection .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select-v2.el-select-v2--small .el-select-v2__selection .el-tag{margin:1px 0 1px 6px;height:18px}.el-select-dropdown{z-index:calc(var(--el-index-top) + 1);border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:var(--el-fill-color-light)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown .el-select-dropdown__option-item.is-selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--el-color-primary);-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--el-text-color-secondary);font-size:var(--el-select-font-size)}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px}.el-select{display:inline-block;position:relative;line-height:32px}.el-select__popper.el-popper[role=tooltip]{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper[role=tooltip] .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-select__popper.el-popper[role=tooltip][data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select .el-select-tags-wrapper.has-prefix{margin-left:6px}.el-select--large{line-height:40px}.el-select--large .el-select-tags-wrapper.has-prefix{margin-left:8px}.el-select--small{line-height:24px}.el-select--small .el-select-tags-wrapper.has-prefix{margin-left:4px}.el-select .el-select__tags>span{display:inline-block}.el-select:hover:not(.el-select--disabled) .el-input__inner{box-shadow:0 0 0 1px var(--el-select-border-color-hover) inset}.el-select .el-select__tags-text{text-overflow:ellipsis;display:inline-flex;justify-content:center;align-items:center;overflow:hidden}.el-select .el-input__inner{cursor:pointer;display:inline-flex}.el-select .el-input__inner:focus{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select .el-input{display:flex}.el-select .el-input .el-select__caret{color:var(--el-select-input-color);font-size:var(--el-select-input-font-size);transition:transform var(--el-transition-duration);transform:rotate(180deg);cursor:pointer}.el-select .el-input .el-select__caret.is-reverse{transform:rotate(0)}.el-select .el-input .el-select__caret.is-show-close{font-size:var(--el-select-font-size);text-align:center;transform:rotate(180deg);border-radius:var(--el-border-radius-circle);color:var(--el-select-input-color);transition:var(--el-transition-color)}.el-select .el-input .el-select__caret.is-show-close:hover{color:var(--el-select-close-hover-color)}.el-select .el-input .el-select__caret.el-icon{position:relative;height:inherit;z-index:2}.el-select .el-input.is-disabled .el-input__inner{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__inner:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select .el-input.is-disabled .el-select__caret{cursor:not-allowed}.el-select .el-input.is-focus .el-input__inner{box-shadow:0 0 0 1px var(--el-select-input-focus-border-color) inset!important}.el-select__input{border:none;outline:0;padding:0;margin-left:15px;color:var(--el-select-multiple-input-color);font-size:var(--el-select-font-size);-webkit-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:var(--el-index-top);right:25px;color:var(--el-select-input-color);line-height:18px;font-size:var(--el-select-input-font-size)}.el-select__close:hover{color:var(--el-select-close-hover-color)}.el-select__tags{position:absolute;line-height:normal;top:50%;transform:translateY(-50%);white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-select__collapse-tags{white-space:normal;z-index:var(--el-index-normal);display:flex;align-items:center;flex-wrap:wrap}.el-select__collapse-tag{line-height:inherit;height:inherit;display:flex}.el-select .el-select__tags .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.el-select .el-select__tags .el-tag:last-child{margin-right:0}.el-select .el-select__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);right:-7px;top:0;color:#fff}.el-select .el-select__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-select .el-select__tags .el-tag .el-icon-close:before{display:block;transform:translateY(.5px)}.el-select .el-select__tags .el-tag--info{background-color:var(--el-fill-color)}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);display:inline-block;height:16px;border-radius:var(--el-border-radius-base);width:100%}.el-skeleton__circle{border-radius:50%;width:var(--el-skeleton-circle-size);height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size)}.el-skeleton__button{height:40px;width:64px;border-radius:4px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{width:100%;height:var(--el-font-size-small)}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{width:unset;display:flex;align-items:center;justify-content:center;border-radius:0}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;width:22%;height:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{height:16px;margin-top:16px;background:var(--el-skeleton-color)}.el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%;animation:el-skeleton-loading 1.4s ease infinite}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px}.el-slider{width:100%;height:32px;display:flex;align-items:center}.el-slider__runway{flex:1;height:var(--el-slider-height);background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);position:relative;cursor:pointer}.el-slider__runway.show-input{margin-right:30px;width:auto}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover,.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{transform:scale(1)}.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover,.el-slider__runway.is-disabled .el-slider__button.dragging{cursor:not-allowed}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{height:var(--el-slider-height);background-color:var(--el-slider-main-bg-color);border-top-left-radius:var(--el-slider-border-radius);border-bottom-left-radius:var(--el-slider-border-radius);position:absolute}.el-slider__button-wrapper{height:var(--el-slider-button-wrapper-size);width:var(--el-slider-button-wrapper-size);position:absolute;z-index:1;top:var(--el-slider-button-wrapper-offset);transform:translate(-50%);background-color:transparent;text-align:center;-webkit-user-select:none;user-select:none;line-height:normal;outline:0}.el-slider__button-wrapper:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{display:inline-block;width:var(--el-slider-button-size);height:var(--el-slider-button-size);vertical-align:middle;border:solid 2px var(--el-slider-main-bg-color);background-color:var(--el-color-white);border-radius:50%;box-sizing:border-box;transition:var(--el-transition-duration-fast);-webkit-user-select:none;user-select:none}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{position:absolute;height:var(--el-slider-height);width:var(--el-slider-height);border-radius:var(--el-border-radius-circle);background-color:var(--el-slider-stop-bg-color);transform:translate(-50%)}.el-slider__marks{top:0;left:12px;width:18px;height:100%}.el-slider__marks-text{position:absolute;transform:translate(-50%);font-size:14px;color:var(--el-color-info);margin-top:15px}.el-slider.is-vertical{position:relative;height:100%;flex:0}.el-slider.is-vertical .el-slider__runway{width:var(--el-slider-height);height:100%;margin:0 16px}.el-slider.is-vertical .el-slider__bar{width:var(--el-slider-height);height:auto;border-radius:0 0 3px 3px}.el-slider.is-vertical .el-slider__button-wrapper{top:auto;left:var(--el-slider-button-wrapper-offset);transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{margin-top:0;left:15px;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{display:inline-flex;vertical-align:top}.el-space__item{display:flex;flex-wrap:wrap}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{width:100%;white-space:nowrap}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;width:50px;height:50px}.el-spinner-inner .path{stroke:var(--el-border-color-lighter);stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-step{position:relative;flex-shrink:1}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-shrink:0;flex-grow:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{color:var(--el-text-color-primary);border-color:var(--el-text-color-primary)}.el-step__head.is-wait{color:var(--el-text-color-placeholder);border-color:var(--el-text-color-placeholder)}.el-step__head.is-success{color:var(--el-color-success);border-color:var(--el-color-success)}.el-step__head.is-error{color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-step__head.is-finish{color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-step__icon{position:relative;z-index:1;display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;box-sizing:border-box;background:var(--el-bg-color-overlay);transition:.15s ease-out}.el-step__icon.is-text{border-radius:50%;border:2px solid;border-color:inherit}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{display:inline-block;-webkit-user-select:none;user-select:none;text-align:center;font-weight:700;line-height:1;color:inherit}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{position:absolute;border-color:inherit;background-color:var(--el-text-color-placeholder)}.el-step__line-inner{display:block;border-width:1px;border-style:solid;border-color:inherit;transition:.15s ease-out;box-sizing:border-box;width:0;height:0}.el-step__main{white-space:normal;text-align:left}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{font-weight:700;color:var(--el-text-color-primary)}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{padding-right:10%;margin-top:-5px;font-size:12px;line-height:20px;font-weight:400}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;top:11px;left:0;right:0}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{padding-left:10px;flex-grow:1}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{width:2px;top:0;bottom:0;left:11px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{display:flex;align-items:center}.el-step.is-simple .el-step__head{width:auto;font-size:0;padding-right:10px}.el-step.is-simple .el-step__icon{background:0 0;width:16px;height:16px;font-size:12px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{position:relative;display:flex;align-items:stretch;flex-grow:1}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;word-break:break-all}.el-step.is-simple .el-step__arrow{flex-grow:1;display:flex;align-items:center;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{content:"";display:inline-block;position:absolute;height:15px;width:1px;background:var(--el-text-color-placeholder)}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{display:flex}.el-steps--simple{padding:13px 8%;border-radius:4px;background:var(--el-fill-color-light)}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{height:100%;flex-flow:column}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);--el-switch-core-border-radius:10px;--el-switch-width:40px;--el-switch-height:20px;--el-switch-button-size:16px}.el-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:var(--el-switch-height);height:32px;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:var(--el-transition-duration-fast);height:var(--el-switch-height);display:inline-block;font-size:14px;font-weight:500;cursor:pointer;vertical-align:middle;color:var(--el-text-color-primary)}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__core{margin:0;display:inline-block;position:relative;width:var(--el-switch-width);height:var(--el-switch-height);border:1px solid var(--el-switch-off-color);outline:0;border-radius:var(--el-switch-core-border-radius);box-sizing:border-box;background:var(--el-switch-off-color);cursor:pointer;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration);vertical-align:middle}.el-switch__core .el-switch__inner{position:absolute;top:1px;left:1px;transition:all var(--el-transition-duration);width:var(--el-switch-button-size);height:var(--el-switch-button-size);display:flex;justify-content:center;align-items:center;left:50%;white-space:nowrap}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{color:var(--el-color-white);transition:opacity var(--el-transition-duration);position:absolute;-webkit-user-select:none;user-select:none}.el-switch__core .el-switch__action{position:absolute;top:1px;left:1px;border-radius:var(--el-border-radius-circle);transition:all var(--el-transition-duration);width:var(--el-switch-button-size);height:var(--el-switch-button-size);background-color:var(--el-color-white);display:flex;justify-content:center;align-items:center;color:var(--el-switch-off-color)}.el-switch__core .el-switch__action .is-icon,.el-switch__core .el-switch__action .is-text{transition:opacity var(--el-transition-duration);position:absolute;-webkit-user-select:none;user-select:none}.el-switch__core .is-text{font-size:12px}.el-switch__core .is-show{opacity:1}.el-switch__core .is-hide{opacity:0}.el-switch.is-checked .el-switch__core{border-color:var(--el-switch-on-color);background-color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__action{left:100%;margin-left:calc(-1px - var(--el-switch-button-size));color:var(--el-switch-on-color)}.el-switch.is-checked .el-switch__core .el-switch__inner{left:50%;white-space:nowrap;margin-left:calc(-1px - var(--el-switch-button-size))}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;height:40px}.el-switch--large .el-switch__label,.el-switch--large .el-switch__label *{font-size:14px}.el-switch--small{font-size:12px;height:24px}.el-switch--small .el-switch__label,.el-switch--small .el-switch__label *{font-size:12px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:solid 1px var(--el-border-color-lighter);border-radius:2px;background-color:#fff;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:var(--el-font-size-base)}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary-light-3)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:0 0;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:0}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:flex;align-items:center;margin-right:5px;margin-bottom:12px;margin-left:5px;height:unset}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0, 0, 0, .15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0, 0, 0, .15)}.el-table{position:relative;overflow:hidden;box-sizing:border-box;height:-moz-fit-content;height:fit-content;width:100%;max-width:100%;background-color:var(--el-table-bg-color);font-size:14px;color:var(--el-table-text-color)}.el-table__inner-wrapper{position:relative}.el-table__inner-wrapper:before{left:0;bottom:0;width:100%;height:1px;z-index:3}.el-table.has-footer .el-table__inner-wrapper:before{bottom:1px}.el-table__empty-block{position:sticky;left:0;min-height:60px;text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:var(--el-text-color-secondary)}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;user-select:none}.el-table__expand-icon{position:relative;cursor:pointer;color:var(--el-text-color-regular);font-size:12px;transition:transform var(--el-transition-duration-fast) ease-in-out;height:20px}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table thead{color:var(--el-table-header-text-color);font-weight:500}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{padding:8px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left;z-index:1}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;line-height:23px;padding:0 12px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{-webkit-user-select:none;user-select:none;background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell{display:inline-block;box-sizing:border-box;position:relative;vertical-align:middle;width:100%}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border .el-table__footer-wrapper tr:first-child td:first-child,.el-table--border .el-table__footer-wrapper tr:first-child th:first-child,.el-table--border .el-table__inner-wrapper tr:first-child td:first-child,.el-table--border .el-table__inner-wrapper tr:first-child th:first-child,.el-table--group .el-table__footer-wrapper tr:first-child td:first-child,.el-table--group .el-table__footer-wrapper tr:first-child th:first-child,.el-table--group .el-table__inner-wrapper tr:first-child td:first-child,.el-table--group .el-table__inner-wrapper tr:first-child th:first-child{border-left:var(--el-table-border)}.el-table--border .el-table__footer-wrapper,.el-table--group .el-table__footer-wrapper{border-top:var(--el-table-border)}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{content:"";position:absolute;background-color:var(--el-table-border-color);z-index:3}.el-table--border .el-table__inner-wrapper:after{left:0;top:0;width:100%;height:1px;z-index:3}.el-table--border:before{top:-1px;left:0;width:1px;height:100%;z-index:3}.el-table--border:after{top:-1px;right:0;width:1px;height:100%;z-index:3}.el-table--border .el-table__inner-wrapper{border-right:none;border-bottom:none}.el-table--border .el-table__footer-wrapper{position:relative}.el-table--border .el-table__footer-wrapper{margin-top:-2px}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border .el-table__cell:first-child .cell{padding-left:10px}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{position:sticky!important;z-index:2;background:var(--el-bg-color)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{content:"";position:absolute;top:0;width:10px;bottom:-1px;overflow-x:hidden;overflow-y:hidden;box-shadow:none;touch-action:none;pointer-events:none}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px;box-shadow:none}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{position:sticky!important;z-index:2;background:#fff;right:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{table-layout:fixed;border-collapse:separate}.el-table__footer-wrapper,.el-table__header-wrapper{overflow:hidden}.el-table__footer-wrapper tbody td.el-table__cell,.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:2}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:14px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:solid 5px transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:var(--el-table-border);z-index:10}.el-table__column-filter-trigger{display:inline-block;cursor:pointer}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{top:0;left:0;width:1px;height:100%;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-bottom-patch{left:0;height:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table__border-right-patch{top:0;height:100%;width:1px;z-index:3;position:absolute;background-color:var(--el-table-border-color)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:12px;line-height:12px;height:12px;text-align:center;margin-right:8px}.el-tabs__header{padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:var(--el-color-primary);z-index:1;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);list-style:none}.el-tabs__new-tab{display:flex;align-items:center;justify-content:center;float:right;border:1px solid var(--el-border-color);height:20px;width:20px;line-height:20px;margin:10px 0 10px 10px;border-radius:3px;text-align:center;font-size:12px;color:var(--el-text-color-primary);cursor:pointer;transition:all .15s}.el-tabs__new-tab .is-icon-plus{height:inherit;width:inherit;transform:scale(.8)}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:var(--el-border-color-light);z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:var(--el-text-color-secondary)}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;position:relative;transition:transform var(--el-transition-duration);float:left;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:500;color:var(--el-text-color-primary);position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:0}.el-tabs__item .is-icon-close{border-radius:50%;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);margin-left:5px}.el-tabs__item .is-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item .is-icon-close svg{margin-top:1px}.el-tabs__item.is-active{color:var(--el-color-primary)}.el-tabs__item:hover{color:var(--el-color-primary);cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:default}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{position:relative;font-size:12px;width:0;height:14px;vertical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:#fff}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);border:1px solid transparent;margin-top:-1px;color:var(--el-text-color-secondary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:var(--el-color-primary);background-color:var(--el-bg-color-overlay);border-right-color:var(--el-border-color);border-left-color:var(--el-border-color)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--top .el-tabs__item.is-top:nth-child(2){padding-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--top .el-tabs__item.is-top:last-child{padding-right:0}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{float:none}.el-tabs--left .el-tabs__item.is-left,.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-right{display:block}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__active-bar.is-left{right:0;left:auto}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid var(--el-border-color-light);border-bottom:none;border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid var(--el-border-color-light);border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid var(--el-border-color-light);border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{position:absolute;left:0;right:0;animation:slideInRight-leave var(--el-transition-duration)}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{position:absolute;left:0;right:0;animation:slideInLeft-leave var(--el-transition-duration)}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translate(100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(100%);opacity:0}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translate(-100%)}to{opacity:1;transform-origin:0 0;transform:translate(0)}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translate(0);opacity:1}to{transform-origin:0 0;transform:translate(-100%);opacity:0}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px}.el-tag{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-text-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary);background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);color:var(--el-tag-text-color);display:inline-flex;justify-content:center;align-items:center;height:24px;padding:0 9px;font-size:var(--el-tag-font-size);line-height:1;border-width:1px;border-style:solid;border-radius:var(--el-tag-border-radius);box-sizing:border-box;white-space:nowrap;--el-icon-size:14px}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-text-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-text-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-text-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-text-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-text-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color)}.el-tag .el-tag__close:hover{color:var(--el-color-white);background-color:var(--el-tag-hover-color)}.el-tag .el-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{margin-left:6px}.el-tag--dark{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-text-color:var(--el-color-white);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--plain{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-text-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-text-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-text-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-text-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-text-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-color-white);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-text-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error)}.el-tag.is-closable{padding-right:5px}.el-tag--large{padding:0 11px;height:32px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{padding:0 7px;height:20px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px;line-height:20px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);font-weight:700;cursor:pointer}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{position:relative;padding-bottom:20px}.el-timeline-item__wrapper{position:relative;padding-left:28px;top:-3px}.el-timeline-item__tail{position:absolute;left:4px;height:100%;border-left:2px solid var(--el-timeline-node-color)}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{position:absolute;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;align-items:center}.el-timeline-item__node--normal{left:-1px;width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{left:-2px;width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{position:absolute;display:flex;justify-content:center;align-items:center}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light)}.el-timeline{margin:0;font-size:var(--el-font-size-base);list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{display:flex;align-items:center}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-tooltip-v2__content{--el-tooltip-v2-padding:5px 10px;--el-tooltip-v2-border-radius:4px;--el-tooltip-v2-border-color:var(--el-border-color);border-radius:var(--el-tooltip-v2-border-radius);color:var(--el-color-black);background-color:var(--el-color-white);padding:var(--el-tooltip-v2-padding);border:1px solid var(--el-border-color)}.el-tooltip-v2__arrow{position:absolute;color:var(--el-color-white);width:var(--el-tooltip-v2-arrow-width);height:var(--el-tooltip-v2-arrow-height);pointer-events:none;left:var(--el-tooltip-v2-arrow-x);top:var(--el-tooltip-v2-arrow-y)}.el-tooltip-v2__arrow:before{content:"";width:0;height:0;border:var(--el-tooltip-v2-arrow-border-width) solid transparent;position:absolute}.el-tooltip-v2__arrow:after{content:"";width:0;height:0;border:var(--el-tooltip-v2-arrow-border-width) solid transparent;position:absolute}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow{bottom:0}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:before{border-top-color:var(--el-color-white);border-top-width:var(--el-tooltip-v2-arrow-border-width);border-bottom:0;top:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:after{border-top-color:var(--el-border-color);border-top-width:var(--el-tooltip-v2-arrow-border-width);border-bottom:0;top:100%;z-index:-1}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow{top:0}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:before{border-bottom-color:var(--el-color-white);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:after{border-bottom-color:var(--el-border-color);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:100%;z-index:-1}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow{right:0}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:before{border-left-color:var(--el-color-white);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:after{border-left-color:var(--el-border-color);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:100%;z-index:-1}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow{left:0}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:before{border-right-color:var(--el-color-white);border-right-width:var(--el-tooltip-v2-arrow-border-width);border-left:0;right:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:after{border-right-color:var(--el-border-color);border-right-width:var(--el-tooltip-v2-arrow-border-width);border-left:0;right:100%;z-index:-1}.el-tooltip-v2__content.is-dark{--el-tooltip-v2-border-color:transparent;background-color:var(--el-color-black);color:var(--el-color-white);border-color:transparent}.el-tooltip-v2__content.is-dark .el-tooltip-v2__arrow{background-color:var(--el-color-black);border-color:transparent}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px}.el-transfer{font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;vertical-align:middle;padding:0 30px}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{overflow:hidden;background:var(--el-bg-color-overlay);display:inline-block;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width);max-height:100%;box-sizing:border-box;position:relative}.el-transfer-panel__body{height:var(--el-transfer-panel-body-height);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.el-transfer-panel__list{margin:0;padding:6px 0;list-style:none;height:var(--el-transfer-panel-body-height);overflow:auto;box-sizing:border-box}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px;display:block!important}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular)}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;box-sizing:border-box;padding-left:22px;line-height:var(--el-transfer-item-height)}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{text-align:center;margin:15px;box-sizing:border-box;width:auto}.el-transfer-panel__filter .el-input__inner{height:var(--el-transfer-filter-height);width:100%;font-size:12px;display:inline-block;box-sizing:border-box;border-radius:calc(var(--el-transfer-filter-height)/ 2)}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{display:flex;align-items:center;height:var(--el-transfer-panel-header-height);background:var(--el-transfer-panel-header-bg-color);margin:0;padding-left:15px;border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black)}.el-transfer-panel .el-transfer-panel__header .el-checkbox{position:relative;display:flex;width:100%;align-items:center}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{font-size:16px;color:var(--el-text-color-primary);font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{position:absolute;right:15px;top:50%;transform:translate3d(0,-50%,0);color:var(--el-text-color-secondary);font-size:12px;font-weight:400}.el-transfer-panel .el-transfer-panel__footer{height:var(--el-transfer-panel-footer-height);background:var(--el-bg-color-overlay);margin:0;padding:0;border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius)}.el-transfer-panel .el-transfer-panel__footer:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{padding-left:20px;color:var(--el-text-color-regular)}.el-transfer-panel .el-transfer-panel__empty{margin:0;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding:6px 15px 0;color:var(--el-text-color-secondary);text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{height:14px;width:14px;border-radius:3px}.el-transfer-panel .el-checkbox__inner:after{height:6px;width:3px;left:4px}.el-tree{--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree{position:relative;cursor:default;background:var(--el-fill-color-blank);color:var(--el-tree-text-color)}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--el-text-color-secondary);font-size:var(--el-font-size-base)}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:var(--el-color-primary)}.el-tree-node{white-space:nowrap;outline:0}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{display:flex;align-items:center;height:26px;cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px;box-sizing:content-box}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:var(--el-tree-expand-icon-color);font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__label{font-size:var(--el-font-size-base)}.el-tree-node__loading-icon{margin-right:8px;font-size:var(--el-font-size-base);color:var(--el-tree-expand-icon-color)}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__item{flex:1;background:0 0!important;padding-left:0;height:20px;line-height:20px}.el-upload{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;outline:0}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:var(--el-text-color-regular);margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0}.el-upload--picture-card{--el-upload-picture-card-size:148px;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;width:var(--el-upload-picture-card-size);height:var(--el-upload-picture-card-size);cursor:pointer;vertical-align:top;display:inline-flex;justify-content:center;align-items:center}.el-upload--picture-card i{font-size:28px;color:var(--el-text-color-secondary)}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;width:360px;height:180px;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-icon--upload{font-size:67px;color:var(--el-text-color-placeholder);margin:40px 0 16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary)}.el-upload-list{margin:10px 0 0;padding:0;list-style:none;position:relative}.el-upload-list__item{transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:var(--el-text-color-regular);margin-bottom:5px;position:relative;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{display:none;position:absolute;right:5px;top:50%;cursor:pointer;opacity:.75;color:var(--el-text-color-regular);transition:opacity var(--el-transition-duration);transform:translateY(-50%)}.el-upload-list__item .el-icon--close:hover{opacity:1;color:var(--el-color-primary)}.el-upload-list__item .el-icon--close-tip{display:none;position:absolute;right:5px;font-size:12px;cursor:pointer;opacity:1;color:var(--el-color-primary);transform:translateY(-50%)}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;justify-content:center;flex-direction:column;width:100%;margin-left:4px}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon-close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon--close-tip,.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip{display:none}.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list.is-disabled .el-upload-list__item-status-label,.el-upload-list.is-disabled .el-upload-list__item:hover{display:block}.el-upload-list__item-name{color:var(--el-text-color-regular);display:inline-flex;text-align:center;align-items:center;padding:0 4px;overflow:hidden;text-overflow:ellipsis;transition:color var(--el-transition-duration);white-space:nowrap;font-size:var(--el-font-size-base)}.el-upload-list__item-name .el-icon{margin-right:6px;color:var(--el-text-color-secondary)}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none;height:100%;justify-content:center;align-items:center;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:var(--el-text-color-regular);display:none}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{--el-upload-list-picture-card-size:148px;display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:var(--el-fill-color-blank);border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;width:var(--el-upload-list-picture-card-size);height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;padding:0;display:inline-flex}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%;object-fit:contain}.el-upload-list--picture-card .el-upload-list__item-status-label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;display:inline-flex;justify-content:center;align-items:center;color:#fff;opacity:0;font-size:20px;background-color:var(--el-overlay-color-lighter);transition:opacity var(--el-transition-duration)}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:1rem}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{top:50%;left:50%;transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:var(--el-fill-color-blank);border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{display:inline-flex;justify-content:center;align-items:center;width:70px;height:70px;object-fit:contain;position:relative;z-index:1;background-color:var(--el-color-white)}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-cover__label i{font-size:12px;margin-top:11px;transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:var(--el-overlay-color-light);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;transition:var(--el-transition-md-fade);margin-top:60px}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:var(--el-text-color-primary)}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper:hover .el-virtual-scrollbar,.el-vl__wrapper.always-on .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius, 4px)}.el-popper{position:absolute;border-radius:var(--el-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;word-wrap:break-word;visibility:visible}.el-popper.is-dark{color:var(--el-bg-color);background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark .el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-text-color-primary);right:0}.el-popper.is-light{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light .el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-bg-color-overlay);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.el-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--el-text-color-primary);box-sizing:border-box}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-select-dropdown__item{font-size:var(--el-font-size-base);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--el-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown__item.is-disabled:hover{background-color:var(--el-color-white)}.el-select-dropdown__item.hover,.el-select-dropdown__item:hover{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.selected{color:var(--el-color-primary);font-weight:700} diff --git a/index.html b/index.html index 00f22e1..0d9e06f 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,8 @@ - - + +